SkCanvas::resetForNextPicture()
authormtklein <mtklein@chromium.org>
Wed, 8 Apr 2015 18:25:48 +0000 (11:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 18:25:48 +0000 (11:25 -0700)
commitfeaadee1c38e1d4e1ec0069a3509ef6fbc5fbeff
tree6daa3fb967c439b8d2adb4a3ddf9a21957951b8f
parent3f324321cdd8fde7976d958e2888a1ec4e657e35
SkCanvas::resetForNextPicture()

No diffs against head for DM --config 8888 gpu 2ndpic-8888 2ndpic-gpu.

  picture_overhead_draw 1.62us ->  1.6us 0.99x
picture_overhead_nodraw  792ns ->  342ns 0.43x

tiles and serialization modes will also test this a bit.

BUG=chromium:470553

Committed: https://skia.googlesource.com/skia/+/f920e468ac66a36c9653d1b11181480295044c7d

Review URL: https://codereview.chromium.org/1067893002
include/core/SkBitmapDevice.h
include/core/SkCanvas.h
include/core/SkPictureRecorder.h
src/core/SkBitmapDevice.cpp
src/core/SkCanvas.cpp
src/core/SkPictureRecorder.cpp
src/core/SkRecorder.cpp
src/core/SkRecorder.h
tests/PictureTest.cpp