hdr: scRGB, HLG and SDR -> HDR fixes (#11499)

This commit is contained in:
UjinT34 2025-08-22 13:13:55 +03:00 committed by GitHub
parent fdf1612f0f
commit 4e8875b5e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 67 additions and 38 deletions

View file

@ -61,6 +61,8 @@ class CColorManagementSurface {
const hdr_output_metadata& hdrMetadata();
void setHDRMetadata(const hdr_output_metadata& metadata);
bool needsHdrMetadataUpdate();
bool isHDR();
bool isWindowsScRGB();
private:
SP<CWpColorManagementSurfaceV1> m_resource;