Thread through a flag to force SkPicture::playback() when recording subpictures.
authormtklein <mtklein@chromium.org>
Wed, 1 Jul 2015 14:04:37 +0000 (07:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 14:04:37 +0000 (07:04 -0700)
commitd711d115d28b9838303dcc232516aa2f552f3a2a
treea4ebfb7860017f4bcb3707c267ecbff4ee51e077
parentc0e80c139e15496a8a96eec7848689b6f0e7bcc1
Thread through a flag to force SkPicture::playback() when recording subpictures.

This makes nanobench picture recording benchmarks somewhat useful again,
as opposed to all taking about 5us to run no matter the content.

ATTN Sheriff: this will probably trigger perf.skia.org alerts.

BUG=skia:

Review URL: https://codereview.chromium.org/1219873002
bench/RecordingBench.cpp
include/core/SkPictureRecorder.h
src/core/SkPictureRecorder.cpp
src/core/SkRecorder.cpp
src/core/SkRecorder.h