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:
parent
0ab786515f
commit
03fcee8164
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user