Commits on Source (3)
-
Needed for OpenGL, to avoid printing an error on the first frame, before the `control()` function is called. Also allows us to bail out early on swapchain initialization errors.
a13bd62d -
These options are only *overrides* of the detected values. This needs to be made clear to the user - e.g. setting this to PQ will *not* put the display into PQ mode.
4dda6c6a -
Technically, this just requires forwarding the colorspace and HDR metadata information to the libplacebo swapchain. In practice, this does nothing at all on OpenGL, and for Vulkan it only works with implementations that provide VK_KHR_swapchain_colorspace and VK_EXT_hdr_metadata, which in practice means "Windows, Wayland and DRM only", although we don't support DRM or wayland (yet) so it really just means "Windows only". We provide only a very short list of valid configurations, because anything else is severely limited in practice.
e33c274d