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

Unified Diff: dm/DM.cpp

Issue 1372783003: SkPDF: Implement drawImage*() properly (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-09-29 (Tuesday) 14:09:03 EDT Created 5 years, 3 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 | gm/repeated_bitmap.cpp » ('j') | src/pdf/SkPDFBitmap.cpp » ('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 11581fda81fc71e7d30a2aa9a226fe2b45b3385a..b728fe9c691521f80b37ad2fba5fb83eb334fc9f 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -29,6 +29,10 @@
#include "Timer.h"
#include "sk_tool_utils.h"
+#ifdef SK_PDF_IMAGE_STATS
+extern void SkPDFImageDumpStats();
+#endif
+
#ifdef SKIA_PNG_PREFIXED
// this must proceed png.h
#include "pngprefix.h"
@@ -1099,6 +1103,9 @@ int dm_main() {
SkDebugf("Hrm, we didn't seem to run everything we intended to! Please file a bug.\n");
return 1;
}
+ #ifdef SK_PDF_IMAGE_STATS
+ SkPDFImageDumpStats();
+ #endif // SK_PDF_IMAGE_STATS
return 0;
}
« no previous file with comments | « no previous file | gm/repeated_bitmap.cpp » ('j') | src/pdf/SkPDFBitmap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698