Fix some bugs in our picture tools.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 1 Oct 2012 20:06:09 +0000 (20:06 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 1 Oct 2012 20:06:09 +0000 (20:06 +0000)
commitb4773b4802236fab24cfc63ed8b9ed7eb35f65cc
treefb113284e24a4d809c9b376cc50e5aaae4352c95
parentc58b126623d68a64e225fc8612dfbd6a7e56e97b
Fix some bugs in our picture tools.

When doing tiled rendering in multiple threads, clone fPicture,
rather than the blank fPictureClones. Also fix a precedence
problem so we get the correct rectangle.

In render_pictures_main, call PictureRenderer::setup().

Review URL: https://codereview.appspot.com/6585055

git-svn-id: http://skia.googlecode.com/svn/trunk@5758 2bbb7eff-a529-9590-31e7-b0007b416f81
tools/PictureRenderer.cpp
tools/render_pictures_main.cpp