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

Unified Diff: dm/DMSrcSink.h

Issue 1240143002: Add the ability to decode a subset to SkCodec. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix line endings Created 5 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: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index b7c28edf006f17e1c32504364c7d2456fff8d97a..b80c7c9a4bd5b837ebd88092abb267f83cd0ef94 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -99,6 +99,7 @@ public:
kScanline_Mode,
kScanline_Subset_Mode,
kStripe_Mode, // Tests the skipping of scanlines
+ kSubset_Mode, // For codecs that support subsets directly.
djsollen 2015/07/20 14:29:24 Is there any method for the caller to negotiate wi
scroggo 2015/07/20 14:47:01 That's a good idea - much like getScaledDimensions
djsollen 2015/07/20 16:54:34 I would err on the side of giving them too many pi
scroggo 2015/07/20 18:55:54 Done.
};
enum DstColorType {
kGetFromCanvas_DstColorType,

Powered by Google App Engine
This is Rietveld 408576698