[FFmpeg-cvslog] hwcontext_vulkan: optionally enable the VK_KHR_surface extension if available

Lynne git at videolan.org
Sun May 10 13:24:01 EEST 2020


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sun May 10 11:21:52 2020 +0100| [b69f5a72cec0f604b8160c5d18a56036522635b8] | committer: Lynne

hwcontext_vulkan: optionally enable the VK_KHR_surface extension if available

This allows any phys_device derived to be used as a display rendering device.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b69f5a72cec0f604b8160c5d18a56036522635b8
---

 libavutil/hwcontext_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index fa53d9d121..43e7cddbc5 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -187,7 +187,7 @@ typedef struct VulkanOptExtension {
 } VulkanOptExtension;
 
 static const VulkanOptExtension optional_instance_exts[] = {
-    /* For future use */
+    { VK_KHR_SURFACE_EXTENSION_NAME, EXT_OPTIONAL },
 };
 
 static const VulkanOptExtension optional_device_exts[] = {



More information about the ffmpeg-cvslog mailing list