obs-studio/plugins/win-capture/graphics-hook
jpark37 44fb61b1f2 win-capture: Improve Vulkan hook stability
Make fixes mostly to stabilize CTS. Tested on Windows with RTX 2080 Ti.

Use separate linked-list maps for devices and queues.

Process queues upfront in OBS_CreateDevice, and not lazily in
OBS_GetDeviceQueue.

Handle failed node allocation for OBS_CreateInstance, OBS_CreateDevice,
and OBS_CreateSwapchainKHR.

Handle VK_NULL_HANDLE for OBS_DestroySurfaceKHR and
OBS_DestroySwapchainKHR.

Add temporary code path CTS_WORKAROUND to deal with CTS sharing surfaces
between instances.

Fix return value for OBS_DestroyInstance.

Add missing _freea calls, required for _malloca.

Make sure the queue passed to OBS_QueuePresentKHR supports transfer to
safely call vkCmdCopyImage.

Update GetInstanceProcAddr/GetDeviceProcAddr to conform closer to spec.

Remove extra macros because I dislike indirection more than verbosity.
2020-07-24 09:30:05 -07:00
..
CMakeLists.txt Merge pull request #2595 from jpark37/vulkan-cleanup 2020-05-20 18:20:05 -07:00
d3d8-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
d3d9-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
d3d9-patches.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
d3d10-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
d3d11-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
d3d12-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
dxgi-capture.cpp win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
dxgi-helpers.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
gl-capture.c win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
gl-decs.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
graphics-hook-config.h.in win-capture: Add Vulkan capture 2020-02-29 04:53:28 -08:00
graphics-hook.c win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
graphics-hook.h win-capture: Remove game capture scaling 2020-06-22 15:07:07 -07:00
graphics-hook.rc win-capture: Add Vulkan capture 2020-02-29 04:53:28 -08:00
obs-vulkan32.json win-capture/graphics-hook: Make vulkan layer all capital 2020-03-09 10:44:04 -07:00
obs-vulkan64.json win-capture/graphics-hook: Make vulkan layer all capital 2020-03-09 10:44:04 -07:00
vulkan-capture.c win-capture: Improve Vulkan hook stability 2020-07-24 09:30:05 -07:00
vulkan-capture.h win-capture: Improve Vulkan hook stability 2020-07-24 09:30:05 -07:00