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

Unified Diff: include/core/SkDevice.h

Issue 1763143002: WIP RasterCanvasLayerAllocator (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: test and some further work Created 4 years, 7 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
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index e06650036dc10b35e8e3528f0153f6673c617bc2..31e452c2bf82aac13c387e55a7dcfefa13748610 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 GrRenderTarget;
@@ -361,7 +362,9 @@ 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;
}

Powered by Google App Engine
This is Rietveld 408576698