[vlc-devel] [PATCH 3/5] vout: add new vulkan/libplacebo vout

Rémi Denis-Courmont remi at remlab.net
Sat Oct 13 09:38:07 CEST 2018


Le keskiviikkona 10. lokakuuta 2018, 4.46.35 EEST Niklas Haas a écrit :
> - How to create the vulkan surface will depend on the platform (much
>   like in opengl), so we move context, surface and device creation into
>   a single module (`vulkan/surface.c`) which will be conditionally
>   compiled depending on the platform in order to provide support for
>   multiple surfaces side-by-side (e.g. x11 and wayland). This does mean
>   that the context/device-related options end up being separate per
>   platform, but OTOH this is not that bad since different platforms
>   might want different e.g. swapchain modes (an example being wayland,
>   which can make better use of mailbox rather than fifo).

While this makes sense at a high level, it seems unlikely that the low-level 
design will be proper if you test it only with old-style windowing protocols 
(X11, Win32) and not with race-free protocols such as Wayland.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list