kc3-lang/SDL/test/testvulkan.c

Branch :


Log

Author Commit Date CI Message
f30e2e43 2021-10-06 22:52:33 Fix compiler warnings in testvulkan.c MSVC gives the following warnings when compiling testvulkan.c: ``` testvulkan.c(656,1): warning C4018: '<': signed/unsigned mismatch testvulkan.c(656,1): warning C4018: '>': signed/unsigned mismatch testvulkan.c(660,1): warning C4018: '<': signed/unsigned mismatch testvulkan.c(660,1): warning C4018: '>': signed/unsigned mismatch ```
79c7a171 2021-08-24 12:41:41 testvulkan: reformatted to more-closely match SDL coding conventions.
b073d275 2021-08-17 16:52:49 test/vulkan: fix/workaround validation errors
abba1811 2021-08-23 20:18:57 testvulkan: support multiple windows. Fixes #4363.
fbc36490 2021-08-14 22:29:05 Use the new SDL_clamp() macro where sensible There were a few places throughout the SDL code where values were clamped using SDL_min() and SDL_max(). Now that we have an SDL_clamp() macro, use this instead.
773e1ba1 2021-08-08 11:00:07 testvulkan: Clamp the drawable size to the allowed range SDL_Vulkan_GetDrawableSize() doesn't always return a size which is within the Vulkan swapchain's allowed image extent range. (This happens on X11 a lot when resizing, which is bug #3287) Clamp the value we get back from SDL_Vulkan_GetDrawableSize() to this range. Given the range usually is just a single value, this is almost always equivalent to just using the min or max image extent, but this seems logically most correct.
b972258d 2021-03-26 22:49:28 test: remove unused variables and typedefs
9130f7c3 2021-01-02 10:25:38 Updated copyright for 2021
239c8f1f 2020-12-24 00:28:50 testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace.
c3a32605 2020-11-09 04:55:15 testvulkan: Patched to compile with SDL's internal Vulkan headers.
a8780c6a 2020-01-16 20:49:25 Updated copyright date for 2020
00e5eeb4 2019-05-19 01:45:15 test: added SDLTest_CommonDefaultArgs() This is for test apps that don't need custom command line arguments; it lets us reduce the boilerplate code a tiny bit.
5e13087b 2019-01-04 22:01:14 Updated copyright for 2019
a794126d 2018-08-24 09:49:48 vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window. Fixes Bugzilla #4235.
e3cc5b2c 2018-01-03 10:03:25 Updated copyright for 2018
37ce9f27 2017-08-27 23:13:15 Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
1f2e151b 2017-08-27 22:20:17 Added Vulkan support to the Visual Studio 2010 solution
071e1018 2017-08-27 20:41:48 We use the SDL Vulkan headers
c722e58d 2017-08-27 23:25:12 vulkan: Include a copy of vulkan.h and vk_platform.h. Now we can provide Vulkan support in the build even if the build box doesn't have a Vulkan SDK, since we dynamically link to the library anyhow.
803fd6d5 2017-08-27 19:32:08 Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
25e3a1ec 2017-08-27 22:15:57 vulkan: Initial Vulkan support! This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.