summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-08-31 12:06:48 -0700
committerDan Stoza <stoza@google.com>2015-08-31 13:41:24 -0700
commitf2699fc3a8c12b2bf95120c068801e050168bd96 (patch)
tree6d300943e8d30b006fa69ada87d7db3f12269297 /include
parentfb1c507b5e442fc8bac059816a3a1534152cd7c4 (diff)
downloadframeworks_native-f2699fc3a8c12b2bf95120c068801e050168bd96.zip
frameworks_native-f2699fc3a8c12b2bf95120c068801e050168bd96.tar.gz
frameworks_native-f2699fc3a8c12b2bf95120c068801e050168bd96.tar.bz2
SF: Add colorTransform to DisplayInfo
Adds the colorTransform field, which defines a vendor-specific color transform (e.g., wide gamut, sRGB, etc.) to the DisplayInfo class, and populates it from the HWC interface. Bug: 20853317 Change-Id: I153edc36a361407656f3eb5082b96c2da2ecbec7
Diffstat (limited to 'include')
-rw-r--r--include/ui/DisplayInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h
index 799944f..ad73ee7 100644
--- a/include/ui/DisplayInfo.h
+++ b/include/ui/DisplayInfo.h
@@ -36,6 +36,7 @@ struct DisplayInfo {
bool secure;
nsecs_t appVsyncOffset;
nsecs_t presentationDeadline;
+ int colorTransform;
};
/* Display orientations as defined in Surface.java and ISurfaceComposer.h. */