diff options
author | 2015-04-07 14:11:22 -0700 | |
---|---|---|
committer | 2015-04-07 14:11:22 -0700 | |
commit | f920e468ac66a36c9653d1b11181480295044c7d (patch) | |
tree | 6358d57da2f33842d3cce46705c2f0bc9b39b756 /include/core/SkBitmapDevice.h | |
parent | b0531a790cc4ec2f903c79206c0c1053108664f5 (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.h | 2 |
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; }; |