diff options
author | John Reck <jreck@google.com> | 2016-07-28 15:36:11 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-07-29 07:56:02 -0700 |
commit | 2d5b8d73929a38b019c6b6276d4a19542b990f0c (patch) | |
tree | d0224acca3391c34e4b2c33aac2bc8c685bea93b /libs/hwui/FrameInfo.h | |
parent | 255ad67b2e61c5ac407c5ef539275b4de99186b4 (diff) |
Teach JankTracker about new swap behaviors
Bug: 30440166
If we are using HWC2, there's a change in timing
when in triple buffering with the pipelined offsets.
This changes JankTracker to recognize that and silently
erase that from the total duration
Change-Id: Ib1fd4209070f17dbd2baed707c8cf73fb11c3cf2
Diffstat (limited to 'libs/hwui/FrameInfo.h')
-rw-r--r-- | libs/hwui/FrameInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/FrameInfo.h b/libs/hwui/FrameInfo.h index 0baca391be79..1fe54591cf7e 100644 --- a/libs/hwui/FrameInfo.h +++ b/libs/hwui/FrameInfo.h @@ -48,6 +48,9 @@ enum class FrameInfoIndex { SwapBuffers, FrameCompleted, + DequeueBufferDuration, + QueueBufferDuration, + // Must be the last value! NumIndexes }; |