summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-11-28 18:35:46 -0800
committerGreg Hackmann <ghackmann@google.com>2017-11-30 20:35:21 +0000
commit8b03499976d3d971f769c8bb5a165dee6582a5ba (patch)
treed0bdda95b7f8008790ee038ae063a68b86cbf20b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd6ebb55c62f56d71ed389fdc1dda1ef53e256347 (diff)
PaintMeasureTextTest: only pause/resume not_cached benchmarks
Pausing and resuming the benchmark timer isn't needed unless we plan to flush the text layout cache. The cached benchmark runs are so fast on high-end devices, the overhead of these extra calls can be significant compared to the actual code being measured. Test: run PaintMeasureTextTest on sailfish Bug: 69634871 Change-Id: If8246154e50451d82ac96e026036aa4a42eaed8d Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit ceb5dd0faf9609ab0b1da3d436a1f55d85d85915)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions