summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-10-19 18:19:11 -0700
committerJamie Gennis <jgennis@google.com>2012-10-22 13:41:21 -0700
commitdd3cb84cfbe8068790c6233b5829fae9c4a0ee93 (patch)
tree366d14c7147f365dd47f85f418e262dec0427141 /include/ui
parent60393d45207b6548e1f61ca104fa59aecee87d30 (diff)
downloadframeworks_native-dd3cb84cfbe8068790c6233b5829fae9c4a0ee93.tar.gz
frameworks_native-dd3cb84cfbe8068790c6233b5829fae9c4a0ee93.tar.bz2
frameworks_native-dd3cb84cfbe8068790c6233b5829fae9c4a0ee93.zip
SurfaceFlinger: add support for secure displays
This change adds support for displays that are not allowed to display surfaces with the eSecure flag set. All non-virtual displays are considered secure, while virtual displays have their secure-ness specified at creation time. Bug: 7368436 Change-Id: I81ad535d2d1e5a7ff78269017e85b111f0098500
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/DisplayInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h
index c7dc35484..c3a4d6bea 100644
--- a/include/ui/DisplayInfo.h
+++ b/include/ui/DisplayInfo.h
@@ -32,7 +32,8 @@ struct DisplayInfo {
float fps;
float density;
uint8_t orientation;
- uint8_t reserved[3];
+ bool secure;
+ uint8_t reserved[2];
// TODO: this needs to go away (currently needed only by webkit)
PixelFormatInfo pixelFormatInfo;
};