diff options
| author | Eino-Ville Talvala <etalvala@google.com> | 2013-08-02 00:22:58 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-02 00:23:02 +0000 |
| commit | b4802413a72e74b41c674d93f30a56a4a693a862 (patch) | |
| tree | 80afe04cda11ace7f5f8515092a0daac5c05863e | |
| parent | ddff6230495b66312ad93f652d0c79069a64dbbd (diff) | |
| parent | f88a5b4f887bddd478e9fb35d609b684c54d5204 (diff) | |
| download | system_core-b4802413a72e74b41c674d93f30a56a4a693a862.zip system_core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.gz system_core-b4802413a72e74b41c674d93f30a56a4a693a862.tar.bz2 | |
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 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. |
