Nuklear/demo
Antti Keränen 6566d9075d
Improve Vulkan demo (#717)
* demo: fix errors and warnings in GLFW Vulkan demo

* demo: improve resize handling in GLFW Vulkan demo

On my machine (x86_64 Linux, Wayland) VK_SUBOPTIMAL or
VK_OUT_OF_DATE_KHR were never returned so the resizing of the swapchain
never happened.

Fix by using GLFW's resize callback to detect a window resize and a
swapchain recreation. Vulkan tutorial uses the same approach.

fb_scale was never used in the Vulkan backend, so it was removed.

* demo: fix copy&paste typo in GLFW Vulkan demo

* demo: sync nuklear_glfw_vulkan.in.h with nuklear_glfw_vulkan.h

Over time people have not been noticing that the expected workflow is to
build nuklear_glfw_vulkan.h from nuklear_glfw_vulkan.in.h
2024-10-19 04:04:28 -04:00
..
allegro5 allegro5: correctly handle subimages NK_COMMAND_IMAGE 2024-09-18 09:07:28 +02:00
common Add Catppucin color styles (#695) 2024-10-02 23:08:10 -04:00
d3d9 Remove STYLE_ defines as we have the style dropdown 2024-04-25 16:37:07 -04:00
d3d11 add up/down/ctrl-b/ctrl-e key handling to d3d11 demo 2024-10-02 12:12:51 -04:00
d3d12 Remove STYLE_ defines as we have the style dropdown 2024-04-25 16:37:07 -04:00
gdi Remove STYLE_ defines as we have the style dropdown 2024-04-25 16:37:07 -04:00
gdi_native_nuklear Added required includes to the platform headers . 2024-01-20 16:16:45 +03:30
gdip Remove STYLE_ defines as we have the style dropdown 2024-04-25 16:37:07 -04:00
glfw_opengl2 Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
glfw_opengl3 untyped pointers fail when you use c++ compiler 2024-09-29 01:59:17 -04:00
glfw_opengl4 Quickfix glfw shift-key handling 2024-07-11 12:33:37 +01:00
glfw_vulkan Improve Vulkan demo (#717) 2024-10-19 04:04:28 -04:00
rawfb demo: Rename zahnrad binaries to demo 2024-10-02 23:02:35 -04:00
sdl_opengl2 Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
sdl_opengl3 Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
sdl_opengles2 Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
sdl_renderer Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
sdl_vulkan demo/backend: add vulkan SDL backend and demo 2024-10-19 04:03:54 -04:00
sfml_opengl2 sfml_gl2: add delta_time_seconds 2024-08-29 03:15:45 +00:00
sfml_opengl3 sfml_gl3: add delta_time_seconds 2024-08-29 03:14:25 +00:00
x11 demo: Rename zahnrad binaries to demo 2024-10-02 23:02:35 -04:00
x11_opengl2 xlib_gl2: add delta_time_seconds 2024-08-29 03:13:22 +00:00
x11_opengl3 xlib_gl3: add delta_time_seconds 2024-08-29 03:11:10 +00:00
x11_xft demo: Rename zahnrad binaries to demo 2024-10-02 23:02:35 -04:00
xcb_cairo Update nuklear_xcb.h: eliminate two warnings in C99 mode 2024-09-14 10:37:45 +01:00