Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan.
Enable offscreen video driver in windows to make it easier to test. Enable offscreen video driver in macos just to complete the desktop computer trio.
This commit is contained in:
@@ -447,6 +447,12 @@
|
||||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xcb.h" />
|
||||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xlib.h" />
|
||||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xlib_xrandr.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenevents_c.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenframebuffer_c.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenopengles.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenvideo.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenvulkan.h" />
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenwindow.h" />
|
||||
<ClInclude Include="..\..\src\video\SDL_blit.h" />
|
||||
<ClInclude Include="..\..\src\video\SDL_blit_auto.h" />
|
||||
<ClInclude Include="..\..\src\video\SDL_blit_copy.h" />
|
||||
@@ -656,6 +662,12 @@
|
||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenevents.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenframebuffer.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenopengles.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenvideo.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenvulkan.c" />
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenwindow.c" />
|
||||
<ClCompile Include="..\..\src\video\SDL_blit.c" />
|
||||
<ClCompile Include="..\..\src\video\SDL_blit_0.c" />
|
||||
<ClCompile Include="..\..\src\video\SDL_blit_1.c" />
|
||||
|
||||
@@ -199,6 +199,9 @@
|
||||
<Filter Include="dialog">
|
||||
<UniqueIdentifier>{00008dfdfa0190856fbf3c7db52d0000}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="video\offscreen">
|
||||
<UniqueIdentifier>{748cf015-00b8-4e71-ac48-02e947e4d93d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\include\SDL3\SDL_begin_code.h">
|
||||
@@ -871,6 +874,24 @@
|
||||
<ClInclude Include="..\..\src\render\vulkan\SDL_shaders_vulkan.h">
|
||||
<Filter>render\vulkan</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenevents_c.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenframebuffer_c.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenopengles.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenvideo.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenvulkan.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\video\offscreen\SDL_offscreenwindow.h">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||
@@ -1479,6 +1500,24 @@
|
||||
<ClCompile Include="..\..\src\render\vulkan\SDL_shaders_vulkan.c">
|
||||
<Filter>render\vulkan</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenevents.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenframebuffer.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenopengles.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenvideo.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenvulkan.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\video\offscreen\SDL_offscreenwindow.c">
|
||||
<Filter>video\offscreen</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
|
||||
|
||||
Reference in New Issue
Block a user