Expand description
Validation of a surface configuration against its capabilities, including
resolving SurfaceColorSpace::Auto (and present/alpha Auto) to concrete
values. Split out of the very large resource.rs.
Functionsยง
- resolve_
auto_ ๐color_ space - The concrete color space
SurfaceColorSpace::Autoresolves to forformat, given the color spaces a surface supports for it, orNoneifAutocannot be satisfied. - validate_
surface_ ๐configuration - Validate
configagainstcaps, resolving theAutovalues inconfigto concrete ones.