DescriptionAdd 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
Committed: http://code.google.com/p/skia/source/detail?r=14151
Patch Set 1 #Patch Set 2 : delete redundant clear #Patch Set 3 : share a scratch bitmap #Patch Set 4 : move in #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|