summaryrefslogtreecommitdiff
path: root/src/protocols/ColorManagement.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-08-22 13:13:55 +0300
committerGitHub <noreply@github.com>2025-08-22 11:13:55 +0100
commit4e8875b5e9700c81ca4e169dc7b85bb5b3c8cb7a (patch)
treebc3f021c02b7f9c0c452332627421f64ed7a2394 /src/protocols/ColorManagement.hpp
parentfdf1612f0f0c3a1ffc221a0d9d589a9b4a2af982 (diff)
hdr: scRGB, HLG and SDR -> HDR fixes (#11499)
Diffstat (limited to 'src/protocols/ColorManagement.hpp')
-rw-r--r--src/protocols/ColorManagement.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/ColorManagement.hpp b/src/protocols/ColorManagement.hpp
index 06349927..4a085b16 100644
--- a/src/protocols/ColorManagement.hpp
+++ b/src/protocols/ColorManagement.hpp
@@ -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;