NativeWindow: Add LAST_[DE]QUEUE_DURATION queries am: 94ededa387
am: 5d636e830f
Change-Id: I4595768e3cf50364a50b3fc0836114f2cc3bbbee
diff --git a/include/system/window.h b/include/system/window.h
index 44bfc9b..33b7c3d 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -278,6 +278,16 @@
* 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.