NativeWindow: Add LAST_[DE]QUEUE_DURATION queries

am: 94ededa387

Change-Id: I4fb6c849cf97dcd70cc7b7345e230238870e7d3a
This commit is contained in:
Dan Stoza 2016-07-06 16:27:37 +00:00 committed by android-build-merger
commit 5d636e830f

View file

@ -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.