Window: Add query for consumer usage bits.
Bug: 9592202 Change-Id: Ied2fdb985dc59dd9c0f26c515353abdc37f0eb77
This commit is contained in:
parent
13f4c9fb27
commit
f88a5b4f88
1 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue