[vlc-devel] [PATCH 05/17] vulkan: move placebo usage to display.c

Niklas Haas haasn at videolan.org
Sat Apr 17 11:36:52 UTC 2021

On Mon, 12 Apr 2021 15:32:21 +0200 Alexandre Janniaux <ajanni at videolabs.io> wrote:
> The vulkan providers are not supposed to depends upon libplacebo, and
> only the display is supposed to bring the libplacebo dependency. In
> addition, many of the libplacebo options are designed for the display.

Something to keep in mind:

Upstream libplacebo has had native support for OpenGL for quite a while
now, and is currently gaining native D3D11 support. My long-term goal
for this module was to remove the vulkan dependency completely and just
make it ingest a `pl_gpu` and a `pl_swapchain`, with platform-specific
modules providing that capability.

This way, the libplacebo-based renderer can also be used on platforms
without native vulkan drivers. This commit is going a bit in the
opposite direction of that, by making `display.c` even more dependent on
vulkan specifics.

More information about the vlc-devel mailing list