diff options
author | Dan Stoza <stoza@google.com> | 2015-08-31 12:06:48 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-08-31 13:41:24 -0700 |
commit | f2699fc3a8c12b2bf95120c068801e050168bd96 (patch) | |
tree | 6d300943e8d30b006fa69ada87d7db3f12269297 /include/ui | |
parent | fb1c507b5e442fc8bac059816a3a1534152cd7c4 (diff) | |
download | frameworks_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/ui')
-rw-r--r-- | include/ui/DisplayInfo.h | 1 |
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. */ |