Commit graph

3799 commits

Author SHA1 Message Date
Joshua Holmes
ab143504ab linux: improve logging when both backends fail 2025-01-12 09:10:24 -07:00
Joshua Holmes
377842aef8 gamemode: revert commit 41ddd22 for gamescope.zig 2025-01-12 09:10:24 -07:00
Joshua Holmes
db186847a7 core: remove core_platform build option and remove Null.zig 2025-01-12 09:05:09 -07:00
Joshua Holmes
caf297512c core: remove option to support non-blocking and only allow platform to control main loop 2025-01-12 09:05:09 -07:00
Joshua Holmes
710b5907a2 linux: remove deinit() because it doesn't seem like it's used in other platforms 2025-01-12 09:05:09 -07:00
Joshua Holmes
431684af7e linux: remove check_for_mach_updates because it was unnecessary refactoring 2025-01-12 09:05:09 -07:00
Emi Gutekanst
aab0eb62f2 {gfx,module}: fix Text update bug caused by anyUpdate reset, add peekAnyUpdate/peekUpdate
Signed-off-by: Emi Gutekanst <emi@hexops.com>
2025-01-10 20:10:58 -07:00
Emi Gutekanst
1d01c91536 gamemode: fix linux build
Signed-off-by: Emi Gutekanst <emi@hexops.com>
2024-12-31 19:14:56 -07:00
Tristan Crawford
41ddd2249f all: instrument library loading 2024-12-31 19:03:58 -07:00
Emi Gutekanst
c56d596ea9
github: update zig nomination template 2024-12-30 20:53:05 -07:00
Stephen Gutekanst
5dd8230f09 nominate Zig 2024.11.0-mach
Signed-off-by: Emi Gutekanst <emi@hexops.com>
2024-12-30 20:50:39 -07:00
Stephen Gutekanst
f5512d1750 update to latest zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-30 20:50:20 -07:00
Stephen Gutekanst
ccd79dd1ef replace direct3d-headers (deprecated) with directx-headers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-30 20:50:20 -07:00
Stephen Gutekanst
ff13976518 update to latest zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-30 20:50:20 -07:00
Stephen Gutekanst
b3139fbb0a update to latest zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-30 20:50:20 -07:00
Wrench[bot]
e7d538bf7c all: update Zig to version 0.14.0-dev.2577+271452d22
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2024-12-30 20:50:20 -07:00
Emi Gutekanst
c4c916fcef
github: remove direct3d-headers from nomination template 2024-12-30 19:23:57 -07:00
Emi Gutekanst
eb90aff4d0
github: update zig nomination issue template 2024-12-30 12:25:33 -07:00
Aeden McClain
04d7238383
object: when cleaning up dropped items, only re-add ones that aren't already in the recycle bin. (#1324)
Signed-off-by: Aeden McClain <dev@platypro.net>
2024-12-30 11:15:15 -07:00
Stephen Gutekanst
6450e8abbf Audio: rewrite sample mixing to use SIMD properly
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-29 15:15:56 -07:00
Stephen Gutekanst
1a7753936b Audio: fix audio buffer SIMD alignment issues
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-29 13:48:18 -07:00
Stephen Gutekanst
d848d2e26e examples: add comment to piano example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-29 13:48:18 -07:00
Aeden McClain
a350ae9ee9
sysgpu: linux: fix spir-v generation in hardware test example (#1323) 2024-12-29 11:54:05 -07:00
Stephen Gutekanst
d62650276f examples: update hardware-check example to use new object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-27 17:39:30 -07:00
Stephen Gutekanst
f352670464 module: fix object_name_id bug
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-27 17:32:06 -07:00
Stephen Gutekanst
e5f48580ba gfx: minor Sprite module cleanup/improvements
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-27 16:38:42 -07:00
Stephen Gutekanst
eda3e68b6e examples: text example updated to new object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-27 16:36:53 -07:00
Stephen Gutekanst
68251d95b7 gfx: rewrite Text module to use new object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-27 16:36:12 -07:00
Stephen Gutekanst
fda85f8268 examples: update glyphs example to use new object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-26 12:35:53 -07:00
Stephen Gutekanst
2529515cd8 examples: sprite example working with object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-26 11:52:32 -07:00
Stephen Gutekanst
47a8a0d98c gfx: rewrite Sprite module to use object system
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-26 11:51:01 -07:00
Stephen Gutekanst
c6602a7286 build: update zigimg
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-26 11:50:45 -07:00
Stephen Gutekanst
8f642097e5 module: fix anyUpdated; make fields default to updated=true
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-26 11:49:50 -07:00
Stephen Gutekanst
1b7398f580 module: cleanup Objects.updated() implementation; add anyUpdated() variant
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-24 23:04:27 -07:00
Stephen Gutekanst
df3091bfd5 examples: custom-renderer working
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-24 20:30:32 -07:00
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