diff options
author | mtklein <mtklein@google.com> | 2015-04-07 15:27:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-07 15:27:14 -0700 |
commit | c654e9016a15985ebeb24f94f819d113ad48a251 (patch) | |
tree | 7d204411123a5a8fb965fb6ae4ff676183dc0aef /include | |
parent | f920e468ac66a36c9653d1b11181480295044c7d (diff) |
Revert of SkCanvas::resetForNextPicture() (patchset #4 id:60001 of https://codereview.chromium.org/1067893002/)
Reason for revert:
https://uberchromegw.corp.google.com/i/client.skia/builders/Linux%20Tests/builds/1816
Original issue's description:
> 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
TBR=mtklein@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:470553
Review URL: https://codereview.chromium.org/1062353002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkBitmapDevice.h | 2 | ||||
-rw-r--r-- | include/core/SkCanvas.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h index 69adc9a1c1..9d8c4c5c3e 100644 --- a/include/core/SkBitmapDevice.h +++ b/include/core/SkBitmapDevice.h @@ -150,8 +150,6 @@ private: SkBitmap fBitmap; - void setNewSize(const SkISize&); // Used by SkCanvas for resetForNextPicture(). - typedef SkBaseDevice INHERITED; }; diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 828b92331d..853877dba7 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1301,8 +1301,6 @@ private: SkCanvas(const SkIRect& bounds, InitFlags); SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags); - void resetForNextPicture(const SkIRect& bounds); - // needs gettotalclip() friend class SkCanvasStateUtils; |