diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-11 15:53:39 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-11 15:53:39 +0000 |
commit | ba73d28bef9b3b2210cd2c2a1754636e78eba1c0 (patch) | |
tree | 954ea1d507f6e2791badb2760ec8ab18f8f3d4df /src/gpu/GrPathRenderer.cpp | |
parent | 1f75ab9c66921e11c17fd49ac7c54ef77e52d3f3 (diff) |
Add bench_playback, for quick profiling of SKR playback.
It is not completely fair to compare --skr and --noskr numbers. SKR looks
unfairly good because some optimizations are baked into our SKPs at record
time. But, at least, by using a kWriteOnly_Mode SkRecorder, we prevent
SkPicturePlayback from compounding that unfairness. SkRecordDraw must handle
its own playback-time optimizations (quickrejects) on its own.
This code should look suspiciously similar to bench_record.
BUG=skia:2378
R=fmalita@chromium.org, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/233833002
git-svn-id: http://skia.googlecode.com/svn/trunk@14151 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPathRenderer.cpp')
0 files changed, 0 insertions, 0 deletions