NativeWindow: Add LAST_[DE]QUEUE_DURATION queries
Adds two new enums to enable querying the duration of the last dequeue or queue operations to a Surface/ANativeWindow. Bug: 29413700 Change-Id: Ifa16755911c4a3c013a7128dd4038d328109c32d
This commit is contained in:
parent
7f871b4249
commit
94ededa387
1 changed files with 10 additions and 0 deletions
|
@ -278,6 +278,16 @@ enum {
|
|||
* age will be 0.
|
||||
*/
|
||||
NATIVE_WINDOW_BUFFER_AGE = 13,
|
||||
|
||||
/*
|
||||
* Returns the duration of the last dequeueBuffer call in microseconds
|
||||
*/
|
||||
NATIVE_WINDOW_LAST_DEQUEUE_DURATION = 14,
|
||||
|
||||
/*
|
||||
* Returns the duration of the last queueBuffer call in microseconds
|
||||
*/
|
||||
NATIVE_WINDOW_LAST_QUEUE_DURATION = 15,
|
||||
};
|
||||
|
||||
/* Valid operations for the (*perform)() hook.
|
||||
|
|
Loading…
Reference in a new issue