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

Issue 644713004: Further cleanup in FilterEffectRenderer. (Closed)

Created:
6 years, 2 months ago by Stephen White
Modified:
6 years, 2 months ago
Reviewers:
f(malita)
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, rune+blink
Project:
blink
Visibility:
Public.

Description

Further cleanup in FilterEffectRenderer. Change FilterEffectRenderer not to be a subclass of Filter anymore, and instantiate a ReferenceFilter as a parent for all shorthand filters instead. Remove FilterEffectRendererHelper entirely, and put its remaining functionality into FilterEffectRenderer. Replace the AffineTransform in Filter with a float scale parameter, since that's all it does now anyway. Note that applyHorizontal/VerticalScale() still need to remain separate, since SVGFilter applies further, possibly non-uniform scaling in its overrides of those functions. prepareFilterEffect() and beginFilterEffect() have been merged. This removes an incorrect early-out, which fixes http://crbug.com/254449. BUG=240827, 254449 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183676

Patch Set 1 #

Patch Set 2 : Remove unnecessary early-out #

Patch Set 3 : More cleanup #

Patch Set 4 : Put back determineFilterPrimitiveSubregion() call #

Patch Set 5 : Update to ToT #

Patch Set 6 : Update to ToT #

Total comments: 2

Patch Set 7 : Remove inverseScale() per review. Remove useless #includes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -190 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/paint/LayerPainter.cpp View 3 chunks +21 lines, -26 lines 0 comments Download
M Source/core/rendering/FilterEffectRenderer.h View 1 2 3 4 5 6 2 chunks +7 lines, -43 lines 0 comments Download
M Source/core/rendering/FilterEffectRenderer.cpp View 1 2 3 4 5 6 12 chunks +31 lines, -74 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/svg/graphics/filters/SVGFilter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/filters/FETurbulence.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M Source/platform/graphics/filters/Filter.h View 1 2 3 4 5 6 2 chunks +10 lines, -33 lines 0 comments Download
M Source/platform/graphics/filters/FilterEffect.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/filters/ImageFilterBuilderTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/filters/ReferenceFilter.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/filters/ReferenceFilter.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Stephen White
fmalita@: PTAL. Thanks!
6 years, 2 months ago (2014-10-10 16:16:29 UTC) #2
Stephen White
Florin: friendly ping. :)
6 years, 2 months ago (2014-10-14 14:03:59 UTC) #3
f(malita)
On 2014/10/14 14:03:59, Stephen White wrote: > Florin: friendly ping. :) Whoops, started looking and ...
6 years, 2 months ago (2014-10-14 14:17:16 UTC) #4
f(malita)
https://codereview.chromium.org/644713004/diff/410001/Source/platform/graphics/filters/Filter.h File Source/platform/graphics/filters/Filter.h (right): https://codereview.chromium.org/644713004/diff/410001/Source/platform/graphics/filters/Filter.h#newcode61 Source/platform/graphics/filters/Filter.h:61: float m_inverseScale; If this is always 1/m_scale, can't we ...
6 years, 2 months ago (2014-10-14 14:18:23 UTC) #5
Stephen White
https://codereview.chromium.org/644713004/diff/410001/Source/platform/graphics/filters/Filter.h File Source/platform/graphics/filters/Filter.h (right): https://codereview.chromium.org/644713004/diff/410001/Source/platform/graphics/filters/Filter.h#newcode61 Source/platform/graphics/filters/Filter.h:61: float m_inverseScale; On 2014/10/14 14:18:23, Florin Malita wrote: > ...
6 years, 2 months ago (2014-10-14 14:26:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/644713004/430001
6 years, 2 months ago (2014-10-14 15:17:18 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 15:41:22 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 (id:430001) as 183676

Powered by Google App Engine
This is Rietveld 408576698