test/testvulkan.c


Log

Author Commit Date CI Message
Pierre Wendling 6784d84c 2022-10-10T01:31:14 N3DS: Fix `-Wformat` warnings in tests. All warnings were about invalid specifiers. Since U/Sint32 is a long, using `%d` emits a -Wformat warning.
Sam Lantinga 120c76c8 2022-01-03T09:40:00 Updated copyright for 2022
Brick f30e2e43 2021-10-06T22: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 ```
Ryan C. Gordon 79c7a171 2021-08-24T12:41:41 testvulkan: reformatted to more-closely match SDL coding conventions.
Lionel Landwerlin b073d275 2021-08-17T16:52:49 test/vulkan: fix/workaround validation errors
Ryan C. Gordon abba1811 2021-08-23T20:18:57 testvulkan: support multiple windows. Fixes #4363.
David Gow fbc36490 2021-08-14T22: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.
David Gow 773e1ba1 2021-08-08T11: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.
Christian Rauch b972258d 2021-03-26T22:49:28 test: remove unused variables and typedefs
Sam Lantinga 9130f7c3 2021-01-02T10:25:38 Updated copyright for 2021
Ozkan Sezer 239c8f1f 2020-12-24T00:28:50 testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace.
Ryan C. Gordon c3a32605 2020-11-09T04:55:15 testvulkan: Patched to compile with SDL's internal Vulkan headers.
Sam Lantinga a8780c6a 2020-01-16T20:49:25 Updated copyright date for 2020
Ryan C. Gordon 00e5eeb4 2019-05-19T01: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.
Sam Lantinga 5e13087b 2019-01-04T22:01:14 Updated copyright for 2019
Jeremy Ong a794126d 2018-08-24T09:49:48 vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window. Fixes Bugzilla #4235.
Sam Lantinga e3cc5b2c 2018-01-03T10:03:25 Updated copyright for 2018
Sam Lantinga 37ce9f27 2017-08-27T23: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
Sam Lantinga 1f2e151b 2017-08-27T22:20:17 Added Vulkan support to the Visual Studio 2010 solution
Sam Lantinga 071e1018 2017-08-27T20:41:48 We use the SDL Vulkan headers
Ryan C. Gordon c722e58d 2017-08-27T23: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.
Sam Lantinga 803fd6d5 2017-08-27T19:32:08 Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
Ryan C. Gordon 25e3a1ec 2017-08-27T22:15:57 vulkan: Initial Vulkan support! This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.