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

Issue 6748043: Added ability to extract SkBitmaps to filter tool (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by robertphillips
Modified:
11 years, 8 months ago
Reviewers:
DerekS
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

I found this useful when trying to investigate skp performance.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed misplaced member variable & added comment #

Total comments: 8

Patch Set 3 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -12 lines) Patch
M src/core/SkPictureRecord.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M tools/filtermain.cpp View 1 2 5 chunks +80 lines, -11 lines 0 comments Download

Messages

Total messages: 5
robertphillips
11 years, 8 months ago (2012-10-18 18:05:50 UTC) #1
DerekS
https://codereview.appspot.com/6748043/diff/1/src/core/SkPictureRecord.h File src/core/SkPictureRecord.h (right): https://codereview.appspot.com/6748043/diff/1/src/core/SkPictureRecord.h#newcode176 src/core/SkPictureRecord.h:176: SkBitmapHeap* fBitmapHeap; this makes it appear like it's part ...
11 years, 8 months ago (2012-10-19 12:14:10 UTC) #2
robertphillips
https://codereview.appspot.com/6748043/diff/1/src/core/SkPictureRecord.h File src/core/SkPictureRecord.h (right): https://codereview.appspot.com/6748043/diff/1/src/core/SkPictureRecord.h#newcode176 src/core/SkPictureRecord.h:176: SkBitmapHeap* fBitmapHeap; On 2012/10/19 12:14:10, DerekS wrote: > this ...
11 years, 8 months ago (2012-10-19 15:47:34 UTC) #3
DerekS
lgtm with some nits https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp File tools/filtermain.cpp (right): https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp#newcode21 tools/filtermain.cpp:21: SkDebugf(" -p pictureDir : directory ...
11 years, 8 months ago (2012-10-19 18:51:37 UTC) #4
robertphillips
11 years, 8 months ago (2012-10-19 19:06:44 UTC) #5
committed as r6021

https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp
File tools/filtermain.cpp (right):

https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp#newcode21
tools/filtermain.cpp:21: SkDebugf("    -p pictureDir : directory in which to
place textures.\n");
On 2012/10/19 18:51:37, DerekS wrote:
> pictureDir is where we put textures?

Done.

https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp#newcode30
tools/filtermain.cpp:30: }
On 2012/10/19 18:51:37, DerekS wrote:
> missing space

Done.

https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp#newcode37
tools/filtermain.cpp:37: const SkBitmap& bm = bitmaps->at(i);
On 2012/10/19 18:51:37, DerekS wrote:
> remove me

Done.

https://codereview.appspot.com/6748043/diff/6001/tools/filtermain.cpp#newcode47
tools/filtermain.cpp:47: SkImageEncoder::EncodeFile(filename.c_str(), bm,
On 2012/10/19 18:51:37, DerekS wrote:
> bm[i]

Done.
Sign in to reply to this message.

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