Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3591)

Issue 6458074: Refactored the bitmap creation into PictureRenderer. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by keyar
Modified:
12 years, 3 months ago
Reviewers:
junov1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

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. Committed https://code.google.com/p/skia/source/detail?r=4990

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -67 lines) Patch
M tools/PictureBenchmark.h View 2 chunks +15 lines, -5 lines 0 comments Download
M tools/PictureBenchmark.cpp View 1 2 chunks +38 lines, -17 lines 0 comments Download
M tools/PictureRenderer.h View 1 2 chunks +33 lines, -11 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 3 chunks +82 lines, -31 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4
keyar
12 years, 3 months ago (2012-08-03 15:36:31 UTC) #1
junov1
https://codereview.appspot.com/6458074/diff/2001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6458074/diff/2001/tools/PictureRenderer.cpp#newcode27 tools/PictureRenderer.cpp:27: sk_tools::setup_bitmap(&bitmap, fPicture.get()->width(), fPicture.get()->height()); No need to call get() all ...
12 years, 3 months ago (2012-08-06 14:17:41 UTC) #2
keyar
Updated to reflect reviewers wishes plus some style issues I noticed.
12 years, 3 months ago (2012-08-06 20:02:37 UTC) #3
junov1
12 years, 3 months ago (2012-08-06 20:14:56 UTC) #4
On 2012/08/06 20:02:37, keyar wrote:
> Updated to reflect reviewers wishes plus some style issues I noticed.

lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b