aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmapDevice.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-04-07 14:11:22 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-07 14:11:22 -0700
commitf920e468ac66a36c9653d1b11181480295044c7d (patch)
tree6358d57da2f33842d3cce46705c2f0bc9b39b756 /include/core/SkBitmapDevice.h
parentb0531a790cc4ec2f903c79206c0c1053108664f5 (diff)
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 Review URL: https://codereview.chromium.org/1067893002
Diffstat (limited to 'include/core/SkBitmapDevice.h')
-rw-r--r--include/core/SkBitmapDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
index 9d8c4c5c3e..69adc9a1c1 100644
--- a/include/core/SkBitmapDevice.h
+++ b/include/core/SkBitmapDevice.h
@@ -150,6 +150,8 @@ private:
SkBitmap fBitmap;
+ void setNewSize(const SkISize&); // Used by SkCanvas for resetForNextPicture().
+
typedef SkBaseDevice INHERITED;
};