Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index f766b49c79395acceaba2dbff4cec8794e46f43f..14e6034c12badc2415767b43596b5ece85772559 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -81,6 +81,7 @@ bool CodecSrc::veto(SinkFlags flags) const { |
} |
Error CodecSrc::draw(SkCanvas* canvas) const { |
+ SkDebugf("\nCodec %s\n", fPath.c_str()); |
scroggo
2015/08/26 21:53:32
I'm guessing we do not want these print statements
|
SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); |
if (!encoded) { |
return SkStringPrintf("Couldn't read %s.", fPath.c_str()); |
@@ -495,6 +496,7 @@ Error ImageSrc::draw(SkCanvas* canvas) const { |
} |
const SkColorType dstColorType = canvas->imageInfo().colorType(); |
if (fDivisor == 0) { |
+ SkDebugf("\nImage %s\n", fPath.c_str()); |
// Decode the full image. |
SkBitmap bitmap; |
if (!SkImageDecoder::DecodeMemory(encoded->data(), encoded->size(), &bitmap, |
@@ -509,6 +511,7 @@ Error ImageSrc::draw(SkCanvas* canvas) const { |
canvas->drawBitmap(bitmap, 0,0); |
return ""; |
} |
+ SkDebugf("\nSubset %s\n", fPath.c_str()); |
// Decode subsets. This is a little involved. |
SkAutoTDelete<SkMemoryStream> stream(new SkMemoryStream(encoded)); |
SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(stream.get())); |