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

Unified Diff: include/core/SkCanvas.h

Issue 2120333002: deferred canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make flush virtual Created 4 years, 5 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/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index ec14829ca85296d12d79d27a04073c6ee587c20e..cfe247cd5b1fbcea312c3f62183de56d6603c453 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1289,6 +1289,9 @@ protected:
// default impl defers to its device
virtual bool onPeekPixels(SkPixmap*);
virtual bool onAccessTopLayerPixels(SkPixmap*);
+ virtual SkImageInfo onImageInfo() const;
+ virtual bool onGetProps(SkSurfaceProps*) const;
+ virtual void onFlush();
// Subclass save/restore notifiers.
// Overriders should call the corresponding INHERITED method up the inheritance chain.
« no previous file with comments | « gyp/utils.gypi ('k') | samplecode/SampleApp.h » ('j') | src/utils/SkDeferredCanvas.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698