Update native_window_get_frame_timestamps args
- Add outLatchTime, outLastRefreshStartTime and
outDequeueReadyTime.
- Rename outRefreshStartTime to outFirstRefreshStartTime.
Test: Manual testing with Chrome.
Change-Id: I1ed3237e393803546f627a645f65f3a8f1ab9dfc
diff --git a/include/system/window.h b/include/system/window.h
index abd3282..236de8d 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -1027,14 +1027,16 @@
static inline int native_window_get_frame_timestamps(
struct ANativeWindow* window, uint32_t framesAgo,
int64_t* outRequestedPresentTime, int64_t* outAcquireTime,
- int64_t* outRefreshStartTime, int64_t* outGlCompositionDoneTime,
+ int64_t* outLatchTime, int64_t* outFirstRefreshStartTime,
+ int64_t* outLastRefreshStartTime, int64_t* outGlCompositionDoneTime,
int64_t* outDisplayPresentTime, int64_t* outDisplayRetireTime,
- int64_t* outReleaseTime)
+ int64_t* outDequeueReadyTime, int64_t* outReleaseTime)
{
return window->perform(window, NATIVE_WINDOW_GET_FRAME_TIMESTAMPS,
- framesAgo, outRequestedPresentTime, outAcquireTime,
- outRefreshStartTime, outGlCompositionDoneTime,
- outDisplayPresentTime, outDisplayRetireTime, outReleaseTime);
+ framesAgo, outRequestedPresentTime, outAcquireTime, outLatchTime,
+ outFirstRefreshStartTime, outLastRefreshStartTime,
+ outGlCompositionDoneTime, outDisplayPresentTime,
+ outDisplayRetireTime, outDequeueReadyTime, outReleaseTime);
}