summaryrefslogtreecommitdiffstats
path: root/include/system
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-08-02 00:22:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-02 00:23:02 +0000
commitb4802413a72e74b41c674d93f30a56a4a693a862 (patch)
tree80afe04cda11ace7f5f8515092a0daac5c05863e /include/system
parentddff6230495b66312ad93f652d0c79069a64dbbd (diff)
parentf88a5b4f887bddd478e9fb35d609b684c54d5204 (diff)
downloadsystem_core-b4802413a72e74b41c674d93f30a56a4a693a862.zip
system_core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.gz
system_core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.bz2
Merge "Window: Add query for consumer usage bits."
Diffstat (limited to 'include/system')
-rw-r--r--include/system/window.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/system/window.h b/include/system/window.h
index b8a19c8..7ce59e0 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -230,7 +230,13 @@ enum {
* Boolean that indicates whether the consumer is running more than
* one buffer behind the producer.
*/
- NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9
+ NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9,
+
+ /*
+ * The consumer gralloc usage bits currently set by the consumer.
+ * The values are defined in hardware/libhardware/include/gralloc.h.
+ */
+ NATIVE_WINDOW_CONSUMER_USAGE_BITS = 10
};
/* Valid operations for the (*perform)() hook.