A fusion of the OpenGL and Vulkan templates. This is meant to give an example of how two APIs can be switched between inside an application.
This uses Vulkan by default.
I'm not advanced enough to use both at the same time, so if you were looking into that I'm sorry.
- clang
- glslc
- XCB development files
- Vulkan development files
- OpenGL development files
- make
Run make
, then cd build
, and finally ./xcb-multi
Load OpenGL first.
Load Vulkan first.
Load OpenGL and error if it fails.
Load Vulkan and error if it fails.
Replace n
with any number. This defines how many frames will be rendered at once before waiting for a frame to be presented.
This only affects Vulkan.