aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index 2a2edab6..f5068dba 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -131,6 +131,10 @@ class CMonitor {
CMonitor* pMirrorOf = nullptr;
std::vector<CMonitor*> mirrors;
+ // ctm
+ Mat3x3 ctm = Mat3x3::identity();
+ bool ctmUpdated = false;
+
// for tearing
PHLWINDOWREF solitaryClient;
@@ -179,6 +183,7 @@ class CMonitor {
CBox logicalBox();
void scheduleDone();
bool attemptDirectScanout();
+ void setCTM(const Mat3x3& ctm);
bool m_bEnabled = false;
bool m_bRenderingInitPassed = false;