Refactored the bitmap creation into PictureRenderer.
authorkeyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 17:11:33 +0000 (17:11 +0000)
committerkeyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 17:11:33 +0000 (17:11 +0000)
commit9d696c0d04548520af08252e577d2ca88012a239
treeb07c793ad3faedf847224a549efe05004695cb3a
parent88e29146c1efc5ff8eec06076c9dce12684f2c11
Refactored the bitmap creation into PictureRenderer.

Further, the picture is also stored in the PictureRenderer.

The main gain of all of this is that we will not have to change how the device in more than one place when we end up adding different devices.

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

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