Skip to content

v0.8.0-dynamic swapchains

Compare
Choose a tag to compare
@tgfrerer tgfrerer released this 08 Feb 12:04
· 627 commits to wip since this release
0.8.0-dynamic-swapchains
dd35ffd

What's Changed

  • NEW: dynamic swapchains swapchains may now be added or removed at runtime. See updated multi_window_example, and take a look what happens when you close one window...
  • remove index-based swapchain getters: you must now pass an (opaque) swapchain handle to query swapchains. You will receive a swapchain handle when adding a swapchain, and you can query the renderer for available swapchain handles.

  • refactor shader pipeline generator - shader handle is now generated via parameters fingerprint, which makes for better cache hits and fewer shader recompilations.

  • improved compilation times (about 3-4s for full recompile using clang) by separating renderer.hpp and renderer.h:

    renderer.hpp contains the c++ façades which are templated, and only of use to application code, while renderer.h may be used by others who depend on renderer. Application code should include renderer.hpp. remove unused header includes

  • updated to vulkan version 1.3.236

  • updated volk to 1.3.236

  • updated vk_mem_alloc

  • updated spirv_reflect

  • updated codegen scripts, and generated code for vk 1.3.236

  • cleanup api to better conform c-header style: deprecate const & passing in public api parameters

Full Changelog: v0.7.0...0.8.0-dynamic-swapchains