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

Unified Diff: include/core/SkPixmap.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/SkPixmap.h
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
index 3b554cf7ac120ef4b88d365f6a73e7c565968022..96ea101f9f0d0e3367fa470ca114c6e2c8d3e058 100644
--- a/include/core/SkPixmap.h
+++ b/include/core/SkPixmap.h
@@ -33,6 +33,10 @@ public:
}
}
+ void reset();
+ void reset(const SkImageInfo& info, const void* addr, size_t rowBytes,
+ SkColorTable* ctable = NULL);
+
const SkImageInfo& info() const { return fInfo; }
size_t rowBytes() const { return fRowBytes; }
const void* addr() const { return fPixels; }
« no previous file with comments | « include/core/SkDevice.h ('k') | src/core/SkBitmapDevice.cpp » ('j') | src/core/SkPixmap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698