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

Unified Diff: include/core/SkPixmap.h

Issue 1787883002: Add SkSpecialImage::extractSubset & NewFromPixmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comment Created 4 years, 9 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
« no previous file with comments | « no previous file | src/core/SkPixmap.cpp » ('j') | src/core/SkSpecialImage.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPixmap.h
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
index b43072b9579687a3b658ae455caee79536adac38..80d06fcae3cc8dae834dba1b09db369b882645b5 100644
--- a/include/core/SkPixmap.h
+++ b/include/core/SkPixmap.h
@@ -222,6 +222,8 @@ public:
*/
const SkData* SK_WARN_UNUSED_RESULT detachPixelsAsData();
+ void release();
reed1 2016/03/15 03:13:03 Docs? What does this do differently from reset()?
robertphillips 2016/03/16 15:31:58 Done.
+
// We wrap these so we can clear our internal storage
void reset() {
« no previous file with comments | « no previous file | src/core/SkPixmap.cpp » ('j') | src/core/SkSpecialImage.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698