diff options
author | John Reck <jreck@google.com> | 2016-04-15 15:16:38 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-04-15 15:19:50 -0700 |
commit | 126720aa65fd90105bdf54c04f327f146763c5cf (patch) | |
tree | 1d38ea874bf343bed24e5f6dc49d65903fbeb387 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a90035950019434012f32b8dbc5d278894484df3 (diff) |
Switch JankTracker to FrameInfo::duration()
Fixes: 27533462
FrameInfo::duration() will remove time spent waiting
in the queue from the duration. This is desired because
that time is otherwise accounted for by the previous frame,
so we don't want to double count it.
This shows up mostly in TestSceneRunner & shadowgrid2
due to a combination of slow frame times and continous rendering.
Change-Id: I27c42d5c24d266de4ada8ea00ec9164d518754f8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions