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

Unified Diff: include/core/SkBitmapDevice.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/SkBitmapDevice.h
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
index f8cc5bec7a21c5c1ad0c16dbafdc172e8bdd9442..139c005bd4fe7d9a5c2c034dc6c78932286d6415 100644
--- a/include/core/SkBitmapDevice.h
+++ b/include/core/SkBitmapDevice.h
@@ -27,6 +27,7 @@ class SkPaint;
class SkPath;
class SkPixelRef;
class SkPixmap;
+class SkRasterCanvasLayerAllocator;
class SkRRect;
class SkSurface;
class SkXfermode;
@@ -158,7 +159,8 @@ private:
// any clip information.
void replaceBitmapBackendForRasterSurface(const SkBitmap&) override;
- SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
+ SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*,
+ SkRasterCanvasLayerAllocator*) override;
sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override;
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkCanvas.h » ('j') | include/core/SkCanvas.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698