maxxnino
e9615a2ce2
example: fix memory leak in swapchain.deinit
2022-01-30 12:00:11 +09:00
maxxnino
ac1eb6fa17
destroy correct semaphore when error
2022-01-02 14:26:24 +09:00
Robin Voetter
d1e949a434
Don't remove pointers on in_pointer parameters.
...
Previously pointers were removed here to facilitate using anonymous struct
literals. Now that Zig supports &.{, these are no longer required, and they
can be pointers again.
Note that there are still some problems in the Zig stage1 compiler, see
https://github.com/ziglang/zig/issues/7627 for example.
2021-12-09 00:28:17 +01:00
Robin Voetter
797ae8af88
Adapt to latest Zig master
...
See ziglang/zig/pull/10055
2021-12-09 00:28:17 +01:00
Marten Ringwelski
9166080041
examples/swapchain: Fix typo
2021-08-08 21:50:19 +02:00
Robin Voetter
511211f038
zig fmt **.zig
...
This also replaces @byteOffsetOf with @offsetOf.
2021-06-13 15:15:42 +02:00
Robin Voetter
646d74ab6a
Make graphics_context.zig naming consistent
2020-11-26 15:25:54 +01:00
Robin Voetter
d18fe39488
Move fence waiting to SwapImage
2020-07-11 00:48:41 +02:00
Robin Voetter
0955d94ac5
Fix some synchronization in the example + remove unused import
2020-07-11 00:42:20 +02:00
Robin Voetter
9b3eff5a72
Rendering from a buffer
2020-07-05 16:27:52 +02:00
Robin Voetter
e049300d02
Dispose of old swapchain after recreating
...
This previously lead to X11 errors after aggressively resizing the
window
2020-07-03 15:48:26 +02:00
Robin Voetter
f4ad3304a0
Avoid queueWaitIdle when deinitializing/recreating the swapchain
2020-07-03 02:42:40 +02:00
Robin Voetter
c519450c57
Only recreate command buffers after swapchain invalidate
2020-07-03 02:29:11 +02:00
Robin Voetter
37b002001a
Basic rendering
2020-07-02 22:25:09 +02:00
Robin Voetter
34253e231b
Swapchain
2020-07-02 17:09:34 +02:00