Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Unified Diff: include/core/SkDevice.h

Issue 2309483002: WIP RasterCanvasLayerAllocator experiment 2
Patch Set: vend smart pointers to SkCanvas Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/core/SkRasterCanvasLayerAllocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index c29a65d7761a29cfecc383ef5f4901be77b7c3f1..c542837a7f673999b61e79a4f1afbf1640cfde6f 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -21,6 +21,7 @@ class SkImageFilterCache;
struct SkIRect;
class SkMatrix;
class SkMetaData;
+class SkRasterCanvasLayerAllocator;
class SkRegion;
class SkSpecialImage;
class GrRenderTarget;
@@ -315,7 +316,8 @@ protected:
* and the caller may then decide to explicitly create a bitmapdevice, knowing that later
* it could not call drawDevice with it (but it could call drawSprite or drawBitmap).
*/
- virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) {
+ virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*,
+ SkRasterCanvasLayerAllocator*) {
return NULL;
}
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/core/SkRasterCanvasLayerAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698