Commit Graph

72 Commits

Author SHA1 Message Date
Robin Voetter
93101d595f Only use stdcall when on 32-bit windows (https://github.com/ziglang/zig/issues/7337) 2020-12-09 01:30:42 +01:00
antlilja
8c9a04c934 Update vk.xml. 2020-12-04 20:14:19 +01: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
3f63c476b5 Staging buffer 2020-07-06 02:35:56 +02:00
Robin Voetter
29de177c05 Rename example to triangle 2020-07-05 18:25:50 +02:00
Robin Voetter
9b3eff5a72 Rendering from a buffer 2020-07-05 16:27:52 +02:00
Robin Voetter
8c9bb747c3 Use dynamic state for viewports to avoid pipeline recreation 2020-07-04 17:30:22 +02:00
Robin Voetter
40b74caee5 Triangle rendering 2020-07-04 17:18:28 +02:00
Robin Voetter
fab23126e9 Framebuffer creation 2020-07-04 16:58:10 +02:00
Robin Voetter
e217cbab77 Pipeline(Layout) & render pass creation 2020-07-04 16:46:38 +02:00
Robin Voetter
0be71d1614 Shader compilation utility 2020-07-04 04:19:32 +02:00
Robin Voetter
72917ccdb3 Shader compilation utility 2020-07-04 04:18:56 +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
Robin Voetter
1ebed09413 Graphics context for example 2020-07-02 04:01:59 +02:00
Robin Voetter
a4d78e9d2d Remove old build.zig 2020-07-01 03:08:36 +02:00
Robin Voetter
f0813e99d2 Basic setup for examples 2020-07-01 03:07:55 +02:00