Define SK_PICTURE_CLONE_NOOP.
commit427f564d7c89423c74250a8d326759e6a45b3424
authormtklein@chromium.org <mtklein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 06:44:22 +0000 (8 06:44 +0000)
committermtklein@chromium.org <mtklein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Aug 2014 06:45:57 +0000 (8 06:45 +0000)
treea9b852aa65fbc73cc86a86fb21d7f7591cc6041a
parent52717b42b9ef91e50c35d2b6230b6b13db2c1f53
Define SK_PICTURE_CLONE_NOOP.

This makes SkPicture::clone() a cheap ref, meaning impl-side painting will render
tiles concurrently from the same source SkPicture rather than from clones.

After testing for a few months in Skia, we believe SkPicture is thread safe enough
to try this out on the Chrome bots.  Please revert this at the slightest sign of
crash, flaky drawing, etc.

CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_layout_rel

BUG=

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288096

Review URL: https://codereview.chromium.org/445373003

Cr-Commit-Position: refs/heads/master@{#288233}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288233 0039d316-1c4b-4281-b951-d872f2087c98
skia/config/SkUserConfig.h