Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Issue 23701006: Push sigma-based blur interface into our GMs/benches/tests/samplecode (Closed)

Created:
7 years, 3 months ago by robertphillips
Modified:
7 years, 3 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This makes all Skia-side tools use the new sigma-based blur interface. It is the first step towards truly deprecating the radius-based interface. (Next stop: Chromium).

Patch Set 1 #

Patch Set 2 : Cleaned up #

Total comments: 3

Patch Set 3 : switched to using SkBlurMask::ConvertRadiusToSigma #

Patch Set 4 : cleaned up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -220 lines) Patch
M bench/BlurBench.cpp View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M bench/BlurRectBench.cpp View 1 2 7 chunks +20 lines, -13 lines 0 comments Download
M bench/RectoriBench.cpp View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M gm/bitmapmatrix.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M gm/bleed.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M gm/blurquickreject.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M gm/blurrect.cpp View 1 2 10 chunks +64 lines, -58 lines 0 comments Download
M gm/blurs.cpp View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M gm/circles.cpp View 1 2 3 chunks +10 lines, -7 lines 0 comments Download
M gm/drawbitmaprect.cpp View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M gm/drawlooper.cpp View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M gm/megalooper.cpp View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M gm/rects.cpp View 1 2 3 chunks +9 lines, -6 lines 0 comments Download
M gm/shadows.cpp View 1 2 2 chunks +16 lines, -10 lines 0 comments Download
M gm/texteffects.cpp View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M samplecode/SampleAll.cpp View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M samplecode/SampleAnimBlur.cpp View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M samplecode/SampleBigBlur.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M samplecode/SampleBlur.cpp View 1 2 3 chunks +9 lines, -8 lines 0 comments Download
M samplecode/SampleEffects.cpp View 1 2 2 chunks +12 lines, -7 lines 0 comments Download
M samplecode/SampleEmboss.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M samplecode/SampleFuzz.cpp View 1 2 2 chunks +28 lines, -12 lines 0 comments Download
M samplecode/SampleSlides.cpp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M samplecode/SampleStrokePath.cpp View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M samplecode/SampleTextAlpha.cpp View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M samplecode/SampleTextOnPath.cpp View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M samplecode/SampleTextureDomain.cpp View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M samplecode/SampleTiling.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M samplecode/SampleUnpremul.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M samplecode/SampleXfermodesBlur.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/animator/SkDrawBlur.h View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M src/animator/SkDrawBlur.cpp View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M tests/BlurTest.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M tests/PaintTest.cpp View 1 2 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
robertphillips
7 years, 3 months ago (2013-08-29 15:04:10 UTC) #1
robertphillips
It looks like the blur refactoring is going to stick so ... ping.
7 years, 3 months ago (2013-09-05 12:28:40 UTC) #2
bsalomon
https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp File bench/BlurBench.cpp (right): https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp#newcode16 bench/BlurBench.cpp:16: #define SMALL SkFloatToScalar(1.6547f) This looks really weird, as though ...
7 years, 3 months ago (2013-09-05 13:09:09 UTC) #3
robertphillips
https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp File bench/BlurBench.cpp (right): https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp#newcode16 bench/BlurBench.cpp:16: #define SMALL SkFloatToScalar(1.6547f) I considered doing that (using a ...
7 years, 3 months ago (2013-09-05 14:00:14 UTC) #4
bsalomon
https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp File bench/BlurBench.cpp (right): https://codereview.chromium.org/23701006/diff/3001/bench/BlurBench.cpp#newcode16 bench/BlurBench.cpp:16: #define SMALL SkFloatToScalar(1.6547f) On 2013/09/05 14:00:14, robertphillips wrote: > ...
7 years, 3 months ago (2013-09-05 14:10:54 UTC) #5
robertphillips
PTAL
7 years, 3 months ago (2013-09-05 19:35:28 UTC) #6
reed1
lgtm
7 years, 3 months ago (2013-09-05 20:23:10 UTC) #7
bsalomon
On 2013/09/05 20:23:10, reed1 wrote: > lgtm lgtm (I would've been fine with just changing ...
7 years, 3 months ago (2013-09-05 22:57:12 UTC) #8
robertphillips
7 years, 3 months ago (2013-09-06 14:28:17 UTC) #9
Message was sent while issue was closed.
committed as r11129

Powered by Google App Engine
This is Rietveld 408576698