summaryrefslogtreecommitdiff
path: root/libs/renderengine/include/renderengine/private/Description.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/renderengine/include/renderengine/private/Description.h')
-rw-r--r--libs/renderengine/include/renderengine/private/Description.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/renderengine/include/renderengine/private/Description.h b/libs/renderengine/include/renderengine/private/Description.h
index a62161a8a8..fa6ec10b6e 100644
--- a/libs/renderengine/include/renderengine/private/Description.h
+++ b/libs/renderengine/include/renderengine/private/Description.h
@@ -44,6 +44,7 @@ struct Description {
bool hasInputTransformMatrix() const;
bool hasOutputTransformMatrix() const;
bool hasColorMatrix() const;
+ bool hasDisplayColorMatrix() const;
// whether textures are premultiplied
bool isPremultipliedAlpha = false;
@@ -79,6 +80,8 @@ struct Description {
// The color matrix will be applied in linear space right before OETF.
mat4 colorMatrix;
+ // The display color matrix will be applied in gamma space after OETF
+ mat4 displayColorMatrix;
mat4 inputTransformMatrix;
mat4 outputTransformMatrix;