diff options
author | Eino-Ville Talvala | 2013-08-01 19:22:58 -0500 |
---|---|---|
committer | Android (Google) Code Review | 2013-08-01 19:23:02 -0500 |
commit | b4802413a72e74b41c674d93f30a56a4a693a862 (patch) | |
tree | 80afe04cda11ace7f5f8515092a0daac5c05863e | |
parent | ddff6230495b66312ad93f652d0c79069a64dbbd (diff) | |
parent | f88a5b4f887bddd478e9fb35d609b684c54d5204 (diff) | |
download | platform-system-core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.gz platform-system-core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.xz platform-system-core-b4802413a72e74b41c674d93f30a56a4a693a862.zip |
Merge "Window: Add query for consumer usage bits."
-rw-r--r-- | include/system/window.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/system/window.h b/include/system/window.h index b8a19c80f..7ce59e02f 100644 --- a/include/system/window.h +++ b/include/system/window.h | |||
@@ -230,7 +230,13 @@ enum { | |||
230 | * Boolean that indicates whether the consumer is running more than | 230 | * Boolean that indicates whether the consumer is running more than |
231 | * one buffer behind the producer. | 231 | * one buffer behind the producer. |
232 | */ | 232 | */ |
233 | NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9 | 233 | NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9, |
234 | |||
235 | /* | ||
236 | * The consumer gralloc usage bits currently set by the consumer. | ||
237 | * The values are defined in hardware/libhardware/include/gralloc.h. | ||
238 | */ | ||
239 | NATIVE_WINDOW_CONSUMER_USAGE_BITS = 10 | ||
234 | }; | 240 | }; |
235 | 241 | ||
236 | /* Valid operations for the (*perform)() hook. | 242 | /* Valid operations for the (*perform)() hook. |