Chromium Code Reviews

Unified Diff: dm/DM.cpp

Issue 1061713007: Adding png scanline decoding to kIndex8 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: ctableCount requirements Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | include/codec/SkCodec.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index c0fccaaa2c7bfcee54624fb32f02af5f4771161a..0ceb815b1b6263cebc848a5f3a99c4dda6d49863 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -203,9 +203,8 @@ static void push_codec_srcs(Path path) {
case kIndex_8_SkColorType:
push_src("image", "codec_kIndex8", new CodecSrc(path, CodecSrc::kNormal_Mode,
CodecSrc::kIndex8_Always_DstColorType));
- // FIXME: Need to implement scanline decoding for kIndex8.
- //push_src("image", "scanline kIndex8", new CodecSrc(path, CodecSrc::kScanline_Mode,
- // CodecSrc::kIndex8_Always_DstColorType));
+ push_src("image", "scanline_kIndex8", new CodecSrc(path, CodecSrc::kScanline_Mode,
+ CodecSrc::kIndex8_Always_DstColorType));
break;
default:
// Do nothing
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | include/codec/SkCodec.h » ('J')

Powered by Google App Engine