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

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-30 (Wednesday) 21:22:24 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') | no next file with comments »
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 0faca8f7c3e1f1250cbf4971910cf0d37faa890f..2a96a9e630f5f00198cf4d696c6cd68c38964dab 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"
@@ -1105,6 +1109,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698