vulkan/instance: expose extension/layer choices
authorMatthew Waters <matthew@centricular.com>
Sun, 14 Jun 2020 11:00:06 +0000 (21:00 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 21 Jun 2020 09:30:29 +0000 (09:30 +0000)
commit0e72318515572a8bf1027decd4066b91963d786e
tree79e46038be629600a5db02cf6277f5d3f61de2ac
parent91b8ec1f0adaaa644b03c5064470cb142fc0a3ae
vulkan/instance: expose extension/layer choices

Extensions and layers can be enabled before calling
gst_vulkan_instance_open() but after calling
gst_vulkan_instance_fill_info().

Use the list of available extensions to better choose a default display
implementation to use based on the available Vulkan extensions for surface
output.

Defaults are still the same.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1341>
gst-libs/gst/vulkan/gstvkdisplay.c
gst-libs/gst/vulkan/gstvkinstance.c
gst-libs/gst/vulkan/gstvkinstance.h
tests/check/libs/vkinstance.c