Stephen Gutekanst
12be06c4af
core: temporarily handle device loss internally
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-24 21:30:54 -07:00
Stephen Gutekanst
dc87787133
all: update Zig to version 0.11.0-dev.3380+7e0a02ee2
2023-06-14 15:39:55 -07:00
Stephen Gutekanst
99438db111
Revert "all: update Zig to version 0.11.0-dev.3380+7e0a02ee2"
...
This reverts commit 6e9ce61254 .
2023-06-14 15:37:47 -07:00
Wrench[bot]
6e9ce61254
all: update Zig to version 0.11.0-dev.3380+7e0a02ee2
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-06-13 09:55:03 -07:00
xdBronch
aa69567a1b
core/gpu: start on usingnamespace issue and new zig split usage
2023-06-04 12:24:11 -07:00
Wrench[bot]
6135071a0c
all: update Zig to version 0.11.0-dev.3379+629f0d23b
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-06-04 12:22:54 -07:00
Wrench[bot]
a48954cdb3
all: update Zig to version 0.11.0-dev.3332+76aa1fffb
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-31 22:08:28 -07:00
Wrench[bot]
539ab03439
all: update dependencies
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-31 22:05:18 -07:00
Wrench[bot]
026dcd4c06
all: update Zig to version 0.11.0-dev.3312+ab37ab33c
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-28 14:34:08 -07:00
Wrench[bot]
4f9cf2ab16
all: update Zig to version 0.11.0-dev.3299+34865d693
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-25 16:54:41 -07:00
Stephen Gutekanst
0b7d683a7a
core: fix constness of type conversion
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-25 14:23:33 -07:00
xdBronch
e9e4a358fb
core: fix windows release build issues by disabling LTO ( #778 )
2023-05-20 12:34:15 -07:00
Stephen Gutekanst
4e66ab8896
core: fix bad merge
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-19 16:20:00 -07:00
Stephen Gutekanst
11c76a9747
core: switch to pure-Zig mach-gamemode library
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-19 16:11:08 -07:00
Stephen Gutekanst
a69119c279
core: fix building with 'mach build'
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-19 08:22:05 -07:00
Stephen Gutekanst
816b5101b3
core: use mach-sysjs via package manager
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-19 08:21:31 -07:00
Stephen Gutekanst
cb26c1e90c
core: make default window size 1/2 1920x1080
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-17 20:29:41 -07:00
Wrench[bot]
11a0a8b73e
all: update Zig to version 0.11.0-dev.2868+1a455b2dd
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-04-28 16:00:21 -07:00
Stephen Gutekanst
80a071be37
core: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-25 15:06:11 -07:00
Vivek Roy
ff0258f27d
all: use std.Build.installArtifact
2023-04-25 15:06:11 -07:00
Wrench[bot]
beef56a023
all: update Zig to version 0.11.0-dev.2777+b95cdf0ae
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-04-24 21:53:41 -07:00
Henry Lee
90e4e0ae3d
core: add @panic when target is wasm
2023-04-20 21:06:39 -07:00
Stephen Gutekanst
b649bc4ad6
core: add experimental warning
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:07:18 -07:00
Ali Chraghi
60597f78d8
app: add mach CLI and integrate wasmserve ( #738 )
2023-04-02 12:37:05 -07:00
Ali Chraghi
354716b927
core: fix event iterator
2023-03-28 21:01:22 -07:00
Ali Chraghi
266b651b34
all: use explicit backing integers for packed structs
2023-03-28 21:01:22 -07:00
Ali Chraghi
b086bdee3a
wasmserve: almost working
2023-03-26 09:31:05 -07:00
Wrench[bot]
2025ac8d17
all: update Zig to version 0.11.0-dev.2160+49d37e2d1
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-24 23:23:10 -07:00
Ali Chraghi
edd2117174
all: build: update to zig version 0.11.0-dev.6883+da0509750
2023-03-24 23:22:59 -07:00
Stephen Gutekanst
46c5ca1dd0
core: fix gamemode dependency inclusion
...
Fixes #723
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-17 14:08:51 -07:00
Wrench[bot]
d9bcb1e291
all: update Zig to version 0.11.0-dev.1987+a2c6ecd6d
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-16 09:47:25 -07:00
Stephen Gutekanst
6bd4d91932
all: cache module() returns to avoid duplicate modules
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-15 21:20:28 -07:00
Stephen Gutekanst
033ebb8551
core: separate entrypoint from core module
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-15 21:19:03 -07:00
Stephen Gutekanst
729ffa2d17
core: update to latest Zig version
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-11 20:13:50 -07:00
Dominic
96ad6503d9
core: fix usage of std_options for log_level and log_scope_levels ( #717 )
...
Co-authored-by: dweiller <4678790+dweiller@users.noreplay.github.com>
2023-03-09 19:49:40 -07:00
Wrench[bot]
6561c24df5
all: update Zig to version 0.11.0-dev.1824+a7a709aaa ( #709 )
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-05 12:15:06 -07:00
Stephen Gutekanst
34132c01b2
officially deprecate Matrix chat in favor of Discord
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-13 06:46:23 -07:00
Stephen Gutekanst
c112466cb5
core: enable testing with gamemode on linux
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 20:02:37 -07:00
Stephen Gutekanst
341b9e0b28
Revert "core: fix linux build (gamemode import not available during testing currently)"
...
This reverts commit 5ae82c42d4 .
2023-02-12 17:30:42 -07:00
Stephen Gutekanst
5ae82c42d4
core: fix linux build (gamemode import not available during testing currently)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 17:30:23 -07:00
Stephen Gutekanst
e54a4b458a
core: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Wrench[bot]
3d769b9671
all: update Zig to version 0.11.0-dev.1605+abc9530a8
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-02-12 10:05:03 -07:00
Andrew Gutekanst
60eb518e4f
core: libmachcore fixes
2023-02-07 19:00:36 -07:00
Wrench[bot]
31a54cc9c5
all: update Zig to version 0.11.0-dev.1479+97b1a9bb6
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-28 17:07:04 -07:00
Stephen Gutekanst
f57073f02f
core: add borderless window fullscreen support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-28 12:04:31 -07:00
Stephen Gutekanst
40351f85ba
core: make Core.pollEvents return an iterator, remove Core.hasEvent
...
After this change:
* `Core.pollEvents` returns an iterator. At the time of polling events, Mach core
will perform work to poll for events, handle resizing of the framebuffer, etc.
and the iterator allows the caller to consume all available events.
* The event queue is now baced by a `std.fifo.LinearFifo`, which removes the need
for dynamic allocation of each event. Instead, the event queue starts with a generous
size suitable for most high-end gaming setups (high-precision mouse, etc.) and can
grow, but never shrink, up to the maximum event queue size experienced by the app
within any given frame. Effectively, this means we find the maximum capacity needed
to store events and avoid runtime allocations.
* `Core.hasEvent` is removed.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-26 00:19:45 -07:00
Stephen Gutekanst
3ff4bcc2a3
mach: finish splitting Core and Engine
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-24 18:14:52 -07:00
Stephen Gutekanst
603dc4c17f
core: follow Sdk build pattern
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-24 18:14:52 -07:00
Stephen Gutekanst
c4cc1e79a3
core: zig fmt
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-24 18:14:52 -07:00
Stephen Gutekanst
cf8f94d36c
core: fix test binary name
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-24 18:14:52 -07:00