diff options
author | Jamie Gennis <jgennis@google.com> | 2012-04-17 19:37:48 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-04-24 17:29:42 -0700 |
commit | aa3f4c3591d83728adec17bf0004f8dd5e46a3bb (patch) | |
tree | 4dc67bbeb8fe23eb9a71cf765afd003be1023f3f /include/system | |
parent | e36df300dcaa156e67b6c3069a737455cde36c9a (diff) | |
download | system_core-aa3f4c3591d83728adec17bf0004f8dd5e46a3bb.zip system_core-aa3f4c3591d83728adec17bf0004f8dd5e46a3bb.tar.gz system_core-aa3f4c3591d83728adec17bf0004f8dd5e46a3bb.tar.bz2 |
add query for finding out if consumer runs behind of producer
Change-Id: I3baae99d4da00d962d3afe6bdfc16e3eb04ede24
Diffstat (limited to 'include/system')
-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 8daa44b..57c82ed 100644 --- a/include/system/window.h +++ b/include/system/window.h @@ -160,7 +160,7 @@ enum { * Default width and height of ANativeWindow buffers, these are the * dimensions of the window buffers irrespective of the * NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS call and match the native window - * size unless overriden by NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS. + * size unless overridden by NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS. */ NATIVE_WINDOW_DEFAULT_WIDTH = 6, NATIVE_WINDOW_DEFAULT_HEIGHT = 7, @@ -213,6 +213,12 @@ enum { * */ NATIVE_WINDOW_TRANSFORM_HINT = 8, + + /* + * Boolean that indicates whether the consumer is running more than + * one buffer behind the producer. + */ + NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND = 9 }; /* valid operations for the (*perform)() hook */ |