summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-12-27 20:01:46 +0300
committerGitHub <noreply@github.com>2025-12-27 18:01:46 +0100
commit6d3b17ee832411f627d8bed6b74e09b4fa55e2fb (patch)
tree2931b419655ae44740973a689b4defa58b713334 /src/helpers/Monitor.hpp
parent42447a50d6840c5e28bd58db1225bae2fd7d5ed0 (diff)
render/cm: various updates, remove old protocols (#12693)
* fix named primaries * default to gamma22 * mark mastering primaries as supported * remove xx-cm and frog support * immutable primaries and image descriptions * clang-format
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index ea2cf185..4c27d1b3 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -329,7 +329,7 @@ class CMonitor {
/// Has an active workspace with a real fullscreen window
bool inFullscreenMode();
- std::optional<NColorManagement::SImageDescription> getFSImageDescription();
+ std::optional<NColorManagement::PImageDescription> getFSImageDescription();
bool needsCM();
/// Can do CM without shader
@@ -342,7 +342,7 @@ class CMonitor {
PHLWINDOWREF m_previousFSWindow;
bool m_needsHDRupdate = false;
- NColorManagement::SImageDescription m_imageDescription;
+ NColorManagement::PImageDescription m_imageDescription;
bool m_noShaderCTM = false; // sets drm CTM, restore needed
// For the list lookup