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

Unified Diff: include/core/SkCanvas.h

Issue 1155443004: change internals over to SkPixmap and stop using accessBitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index e7dac5e145f726cd35a92b8a966cf46ea5e6088f..dda049654e3c5d3d813057444f23ea80308fa974 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1156,8 +1156,8 @@ protected:
virtual SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&);
// default impl defers to its device
- virtual const void* onPeekPixels(SkImageInfo*, size_t* rowBytes);
- virtual void* onAccessTopLayerPixels(SkImageInfo*, size_t* rowBytes);
+ virtual bool onPeekPixels(SkPixmap*);
+ virtual bool onAccessTopLayerPixels(SkPixmap*);
// Subclass save/restore notifiers.
// Overriders should call the corresponding INHERITED method up the inheritance chain.
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/core/SkDevice.h » ('j') | src/core/SkPixmap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698