[vlc-devel] [PATCH v3 11/16] vulkan: remove previous vulkan capability
Alexandre Janniaux
ajanni at videolabs.io
Wed Apr 21 08:04:45 UTC 2021
The platform support has been offloaded to the `vulkan platform`
capability, keep the `vulkan` capability to provide multiple Vulkan
implementation through the VkInstance and initial functions pointers.
---
modules/video_output/vulkan/instance.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/video_output/vulkan/instance.c b/modules/video_output/vulkan/instance.c
index a75013f0ff..9ad331893e 100644
--- a/modules/video_output/vulkan/instance.c
+++ b/modules/video_output/vulkan/instance.c
@@ -67,9 +67,6 @@ vlc_vk_t *vlc_vk_Create(struct vout_window_t *wnd, const char *name)
vk->module = vlc_module_load(wnd, "vulkan platform", name, false,
vlc_vk_start, vk);
- if (vk->module == NULL)
- vk->module = module_need(vk, "vulkan", name, true);
-
if (vk->module == NULL)
{
vlc_object_delete(vk);
@@ -93,9 +90,6 @@ void vlc_vk_Release(vlc_vk_t *vk)
if (vk->ops)
vk->ops->close(vk);
- if (module_provides(vk->module, "vulkan"))
- module_unneed(vk, vk->module);
-
/* TODO: use vlc_objres_clear */
vlc_object_delete(vk);
}
--
2.31.1
More information about the vlc-devel
mailing list