summaryrefslogtreecommitdiffstats
path: root/libsystem
diff options
context:
space:
mode:
authorJiwen Cai <jiwen@google.com>2017-05-02 16:25:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-02 16:25:11 +0000
commit6f273c95de598026a563011a05cd4e8d4a71a19a (patch)
tree2b5d713a9c87f4c2616013fa3f33adf488f0abf1 /libsystem
parent99378eb4fcb0900cabcfe48455f9a9a6164f268c (diff)
parent9815189c9d619bd4226bab45375c582e415214c9 (diff)
downloadsystem_core-6f273c95de598026a563011a05cd4e8d4a71a19a.tar.gz
system_core-6f273c95de598026a563011a05cd4e8d4a71a19a.tar.bz2
system_core-6f273c95de598026a563011a05cd4e8d4a71a19a.zip
Merge "Add NATIVE_WINDOW_CONSUMER_IS_PROTECTED enum" into oc-dev am: 6399d45725
am: 9815189c9d Change-Id: Ie349a765da66ae6b140a17d9062c180a52e77cb3
Diffstat (limited to 'libsystem')
-rw-r--r--libsystem/include/system/window-deprecated.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsystem/include/system/window-deprecated.h b/libsystem/include/system/window-deprecated.h
index 2ccfd66f0..e836aea94 100644
--- a/libsystem/include/system/window-deprecated.h
+++ b/libsystem/include/system/window-deprecated.h
@@ -334,6 +334,12 @@ enum {
* present info, 0 if it won't.
*/
NATIVE_WINDOW_FRAME_TIMESTAMPS_SUPPORTS_PRESENT = 18,
+
+ /*
+ * The consumer end is capable of handling protected buffers, i.e. buffer
+ * with GRALLOC_USAGE_PROTECTED usage bits on.
+ */
+ NATIVE_WINDOW_CONSUMER_IS_PROTECTED = 19,
};
/* Valid operations for the (*perform)() hook.