diff options
author | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-10 18:18:38 +0000 |
---|---|---|
committer | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-10 18:18:38 +0000 |
commit | 03fcee8164b6218d46e2e3a895c5088e5516590d (patch) | |
tree | 6f1b13dacef4e9d502ef640c69cd5383681f6ebc | |
parent | 0ab786515fea21a3427095948a372f185400c7d3 (diff) |
Add per-picture logging to render_pictures
This will be helpful for debugging crashes
Review URL: https://codereview.appspot.com/6495112
git-svn-id: http://skia.googlecode.com/svn/trunk@5469 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | tools/render_pictures_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp index ac75707c4f..976441dd0a 100644 --- a/tools/render_pictures_main.cpp +++ b/tools/render_pictures_main.cpp @@ -103,6 +103,8 @@ static void render_picture(const SkString& inputPath, const SkString& outputDir, SkPicture picture(&inputStream); + SkDebugf("drawing... [%i %i] %s\n", picture.width(), picture.height(), + inputPath.c_str()); renderer.init(&picture); renderer.render(true); |