Skip to main content

negotiate_output

Function negotiate_output 

Source
pub fn negotiate_output(
    caps: &SurfaceCapabilities,
    allow_hdr: bool,
) -> Option<Output>
Expand description

Picks format, color space and encoding for caps (HDR if offered and allow_hdr).