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
This commit is contained in:
borenet@google.com 2012-09-10 18:18:38 +00:00
parent 0ab786515f
commit 03fcee8164

View File

@ -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);