1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

hwcontext_vulkan: use VK_EXT_physical_device_drm to derive DRM to Vulkan

Finally, a way to directly identify a Vulkan device from a DRM device!
This commit is contained in:
Lynne
2023-03-14 22:30:18 +01:00
parent e11fd1abdb
commit 571756bf2f
3 changed files with 55 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ typedef enum FFVulkanExtensions {
FF_VK_EXT_EXTERNAL_WIN32_SEM = 1ULL << 7, /* VK_KHR_external_semaphore_win32 */
#endif
FF_VK_EXT_DESCRIPTOR_BUFFER = 1ULL << 8, /* VK_EXT_descriptor_buffer */
FF_VK_EXT_DEVICE_DRM = 1ULL << 9, /* VK_EXT_physical_device_drm */
FF_VK_EXT_NO_FLAG = 1ULL << 31,
} FFVulkanExtensions;