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

Issue 6816092: add draw filter option to picture_bench (Closed)

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

Description

add draw filter option to picture_bench Option allows adding a draw filter option per type or for all types. All SkPaint flags may be filtered, plus disabling blur and setting the hint level. Committed: https://code.google.com/p/skia/source/detail?r=6318

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -10 lines) Patch
M include/core/SkDrawFilter.h View 1 chunk +3 lines, -1 line 0 comments Download
M tools/PictureRenderer.h View 1 2 3 4 5 6 chunks +24 lines, -1 line 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 4 5 6 2 chunks +38 lines, -4 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 4 5 7 chunks +156 lines, -4 lines 0 comments Download

Messages

Total messages: 8
caryclark1
11 years, 10 months ago (2012-11-06 16:44:08 UTC) #1
Leon
https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.cpp#newcode82 tools/PictureRenderer.cpp:82: canvas->setDrawFilter(new FlagsDrawFilter(fDrawFilters))->unref(); This should go in setupCanvas(int width, int ...
11 years, 10 months ago (2012-11-06 17:05:32 UTC) #2
caryclark1
https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.cpp File tools/PictureRenderer.cpp (right): https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.cpp#newcode82 tools/PictureRenderer.cpp:82: canvas->setDrawFilter(new FlagsDrawFilter(fDrawFilters))->unref(); On 2012/11/06 17:05:32, scroggo-work wrote: > This ...
11 years, 10 months ago (2012-11-06 19:25:57 UTC) #3
EricB
Looks good overall, but we need to include everything that we're filtering in the bench ...
11 years, 10 months ago (2012-11-06 19:34:37 UTC) #4
Leon
https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.h#newcode116 tools/PictureRenderer.h:116: SkString getConfigName() { On 2012/11/06 19:34:37, EricB wrote: > ...
11 years, 10 months ago (2012-11-06 19:43:29 UTC) #5
caryclark1
https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.appspot.com/6816092/diff/4001/tools/PictureRenderer.h#newcode116 tools/PictureRenderer.h:116: SkString getConfigName() { On 2012/11/06 19:43:29, scroggo-work wrote: > ...
11 years, 10 months ago (2012-11-06 21:01:06 UTC) #6
Leon
lgtm
11 years, 10 months ago (2012-11-06 21:10:33 UTC) #7
EricB
11 years, 10 months ago (2012-11-06 21:18:58 UTC) #8
On 2012/11/06 21:10:33, scroggo-work wrote:
> lgtm

LGTM
Sign in to reply to this message.

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