Stephen Gutekanst
|
eae5aa40be
|
module: correct Objects.is() checker
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 18:05:34 -07:00 |
|
Stephen Gutekanst
|
94f0648be5
|
examples: piano example working again
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 18:05:14 -07:00 |
|
Stephen Gutekanst
|
5ed75fb3ee
|
module: remove error-prone "optimized" function variants for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 17:02:36 -07:00 |
|
Stephen Gutekanst
|
15c3f772ef
|
module: perform type checking of object IDs to avoid subtle bugs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 17:00:39 -07:00 |
|
Stephen Gutekanst
|
a28b9798a8
|
module: improve error message for use-after-delete of objects
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 16:51:23 -07:00 |
|
Stephen Gutekanst
|
30bba9d49e
|
examples: play-opus: minor fixes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 16:15:36 -07:00 |
|
Stephen Gutekanst
|
f7688169c0
|
CI: bump to macos-13
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 16:10:43 -07:00 |
|
Stephen Gutekanst
|
03ded69cff
|
core: cleanup border/decorated properties
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 16:02:03 -07:00 |
|
Joshua Holmes
|
9a4ae36cb6
|
linux: note that wayland cannot be resized anymore
This is because something is not working with the new Mach Object system. It should be able to be fixed after messing around with it.
|
2024-12-24 15:44:31 -07:00 |
|
Joshua Holmes
|
f39d47e49c
|
linux: allow title to be changed again
|
2024-12-24 15:44:31 -07:00 |
|
Joshua Holmes
|
27aee7c036
|
x11: get x11 to build and run
|
2024-12-24 15:44:31 -07:00 |
|
Joshua Holmes
|
d6c387613d
|
wayland: fix window initialization
|
2024-12-24 15:44:31 -07:00 |
|
Joshua Holmes
|
e8b1ef9b25
|
linux: implement better logging for when wayland fails or x11 is desired
|
2024-12-24 15:44:31 -07:00 |
|
Joshua Holmes
|
fdc3666a95
|
wayland: setup with new object system
|
2024-12-24 15:44:31 -07:00 |
|
Stephen Gutekanst
|
b3a5186f3a
|
build: update mach-objc dependency
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
cc387ddb59
|
core: darwin: Only recreate swapchain and send resize event if the window size actually changed
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
8520c6d7d4
|
core: windows: Update to match darwin and handle updating the swapchain and window/framebuffer sizes
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
4ada021a15
|
core: darwin: Document the command key fix
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
4a6101241c
|
core: darwin: magnify -> zoom_gesture, add workaround from GLFW for command key blocking keyUp on other keys
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
a85916f00f
|
core: darwin: implement cursor_mode and cursor_shape updates
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
60a68a7453
|
darwin: Add insertText callback which is responsible for firing char_input events
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
c70b1817ee
|
core: window.color -> window.transparent, window.decorated, window.decoration_color
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
ff11fd6d4c
|
core: darwin: Add ability to detect and fire magnify event which is triggered by pinch to zoom on a trackpad
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
98c303aefc
|
core: darwin: More input callbacks, correct framebuffer/window sizes, core has responsibility of swapchain
|
2024-12-24 15:40:16 -07:00 |
|
foxnne
|
a10cbc3419
|
build: update mach-objc build.zig.zon, and small corrections to core-transparent-window example
|
2024-12-08 14:41:09 -07:00 |
|
foxnne
|
5ba95f714d
|
metal: Remove wait
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
059a271b3b
|
darwin: windowWillResize_toSize -> windowDidResize, fixes a bug where window size didn't include titlebar height. Depends on https://github.com/hexops/mach-objc/pull/30
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
14dee01b43
|
sysgpu/metal: waitUntilScheduled -> waitUntilCompleted
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
0a78c4cc08
|
darwin: first pass at trying to enable vsync
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
6ef58d8c1f
|
example: core-transparent-window now animates the window color and transparency
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
4bbca0eb95
|
Update mach-objc in build.zig.zon
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
19040cae25
|
darwin: temporarily set window background to be transparent. examples: Add core-transparent-window and remove input from core-triangle
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
f8a2858df8
|
darwin: Get window title working
|
2024-12-08 10:22:42 -07:00 |
|
foxnne
|
ad5700cf48
|
core: Remove main_window in favor of users creating their own windows. Added event window_open which is called when the platform has finished initializing the window
|
2024-12-01 18:32:15 -07:00 |
|
Stephen Gutekanst
|
b33f85576e
|
object: fix dead object recycling
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
b844fa7d1c
|
examples: play-opus: make audio low-latency more obvious
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
da860f84c6
|
Audio: less error-prone object update
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
314abeb988
|
audio: update Audio module to new object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
281884e9b0
|
examples: core-triangle: cleanup width/height input handler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
3b45eda8df
|
core: darwin: fix inverted width/height
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
3bb7833e38
|
core: darwin: fix use-after-free
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
9032a22064
|
object: graph: expose Graph.Results
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
6dd7b48662
|
module: add getFirstChildOfType helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
cddebeb01f
|
object: fix Objects.is() function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
Stephen Gutekanst
|
58d9c378ca
|
object: fix Objects.Slice delete/get/set methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-12-01 13:55:30 -07:00 |
|
foxnne
|
3aee6995d7
|
windows: translate and dispatch messages each frame
|
2024-12-01 13:19:02 -07:00 |
|
foxnne
|
5bcdcadb74
|
core: Windows needed heap-allocated context
|
2024-12-01 13:19:02 -07:00 |
|
foxnne
|
06aec428de
|
core: windows: Get triangle showing, still freezing on run. Comment out more windows, set value of window back on presentFrame.
|
2024-12-01 12:19:50 -07:00 |
|
foxnne
|
e15cbe63de
|
windows: implement tick, call core.initWindow, various fixes
|
2024-12-01 10:55:01 -07:00 |
|
Joshua Holmes
|
0ec182c3f4
|
linux: get build working with new system
|
2024-12-01 10:53:15 -07:00 |
|