Mitchell Hashimoto
|
b19f9b2aff
|
opengl: enable single-threaded draw
|
2023-02-24 07:58:30 -08:00 |
|
Mitchell Hashimoto
|
7eb7cae9e0
|
opengl: move screen size GL context changes into draw path
|
2023-02-24 07:58:30 -08:00 |
|
Mitchell Hashimoto
|
7f34afa395
|
gtk: hook up GL area and render a color
|
2023-02-24 07:58:30 -08:00 |
|
Mitchell Hashimoto
|
7991e6e495
|
apprt/glfw: fix macos build
|
2023-02-24 07:58:30 -08:00 |
|
Mitchell Hashimoto
|
fb13838532
|
apprt newWindow/newTab do not have to return a surface
|
2023-02-24 07:58:30 -08:00 |
|
Mitchell Hashimoto
|
153004eb6f
|
apprt/gtk: compiles again -- does nothing
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
2dda1d65a4
|
main update to new runtime API
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
2adb0c9234
|
apprt: C API for embedded updated to new style
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
705d56d18e
|
surface no longer has reference to app
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
ac772c2d2d
|
inherit font size works again
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
8c18e1ee48
|
remove memory pool usage for mac
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
053748481a
|
more crap
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
9e4560043a
|
fix crashes on close
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
913131c8f1
|
rename more stuff
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
fbe35c226b
|
Integrating new surface
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
3d8c62c41f
|
apprt refactor in progress, launches glfw no window
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
807c7fc64d
|
opengl: support loading global gl functions
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
d368b8e727
|
setup app, run works but crashes in OpenGL
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
f268f3955e
|
init gtk app
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
48c9c65915
|
add app runtime option, add gtk backend
|
2023-02-24 07:58:29 -08:00 |
|
Mitchell Hashimoto
|
35cb9d20b1
|
opengl: use premult alpha on fg color to avoid dark edges
This avoids an issue I only see in some renderers where the edges of
textures show up with a blurry border. Reading here:
https://www.realtimerendering.com/blog/gpus-prefer-premultiplication/
|
2023-02-24 07:57:50 -08:00 |
|
Mitchell Hashimoto
|
dff45003e1
|
macos: hook up clipboards
|
2023-02-19 15:18:01 -08:00 |
|
Mitchell Hashimoto
|
8889dd7de2
|
macos: emoji keyboard works
|
2023-02-19 12:28:17 -08:00 |
|
Mitchell Hashimoto
|
7fa02cae95
|
window charCallback accepts doesn't assume ASCII, accepts any Unicode CP
|
2023-02-19 12:02:41 -08:00 |
|
Mitchell Hashimoto
|
d8dd0be32a
|
main: fix tracy allocator in GlobalState
|
2023-02-19 11:11:06 -08:00 |
|
Mitchell Hashimoto
|
f1ebc6953e
|
macos: mouse scroll events
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
1659f52175
|
macos: mouse button and mouse move events
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
e92d90b8d5
|
macos: new tab implementation
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
7b0ddc8b70
|
set title callback needs to use surface userdata
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
c709467bee
|
macos: hook up change title events
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
6b450f7c7d
|
macos: track surface focus state
|
2023-02-19 10:44:57 -08:00 |
|
Mitchell Hashimoto
|
7af516e7e6
|
embedded wakeup calls callback
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
7a368da099
|
macos: hook up text input
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
4b44b2bc95
|
c: fix enums for input
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
7fc9d1bf52
|
termio: remove xcode-injected env vars
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
573b163636
|
start input, its broken but we're getting there
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
074664398a
|
macos: correct scale factor propagated
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
57551e3990
|
macos: disable sandbox
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
20f76a71ef
|
update size
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
cd77408efc
|
it draws!
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
ff9af8a07b
|
lots of progress running a surface but still crashes
|
2023-02-19 10:44:56 -08:00 |
|
Mitchell Hashimoto
|
55b05b22bb
|
c: create/destroy surface API
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
c68f8082df
|
apprt: can pass options through to Windows
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
085d462a68
|
lots of stubbing so window will kind of compile for embedded
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
eed6979868
|
apprt: start embedded implement, make App API available to C
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
ba8f142770
|
app: only create first window in exe mode
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
26182611c6
|
move allocator to global state
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
8673b90299
|
build: use caching for Libtool and Lipo steps
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
f30d80cabe
|
build: must set run condition to always now
|
2023-02-19 10:44:55 -08:00 |
|
Mitchell Hashimoto
|
1f9d4eb9f4
|
update to latest build API, rebase
|
2023-02-19 10:44:55 -08:00 |
|