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

Issue 22794007: Implement filter primitive subregion on accelerated reference filters (FEColorMatrix a… (Closed)

Created:
7 years, 4 months ago by Stephen White
Modified:
7 years, 3 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, danakj, dglazkov+blink, Rik, Stephen Chennney, jeez, pdr.
Visibility:
Public.

Description

Implement filter primitive subregion on accelerated reference filters for FEColorMatrix, FEGaussianBlur and FE*Lighting. This patch also adds crop tests for all the filters, both software and hardware versions. The software results are correct; bringing the remainder of the hardware results into alignment with software results will be the work of future patches (Skia and Blink-side). The patch adds a crop offset to the SkiaImageFilterBuilder, which is used to communicate the offset computed by the Blink filter chain when inflating its results for filter bounds. This code may be removed in the future once Skia takes on this responsibility and knows how much each filter inflates its result. BUG=229910 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157529

Patch Set 1 #

Patch Set 2 : Moar fixes, moar tests #

Patch Set 3 : Cleaned up tests; updated to ToT #

Patch Set 4 : Updated to ToT #

Total comments: 6

Patch Set 5 : Fix computation of default filter primitive subregion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -34 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/effect-reference-subregion.html View 1 2 3 1 chunk +72 lines, -12 lines 0 comments Download
A LayoutTests/css3/filters/effect-reference-subregion-chained.html View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/css3/filters/effect-reference-subregion-chained-hw.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
A + LayoutTests/css3/filters/effect-reference-subregion-colormatrix.html View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/css3/filters/effect-reference-subregion-hw.html View 1 4 chunks +13 lines, -15 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FEColorMatrix.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/filters/FEGaussianBlur.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/filters/FELighting.cpp View 1 3 chunks +7 lines, -6 lines 0 comments Download
M Source/core/platform/graphics/filters/FilterEffect.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FilterEffect.cpp View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/SkiaImageFilterBuilder.h View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Stephen White
Florin: PTAL. Thanks!
7 years, 3 months ago (2013-09-09 18:16:35 UTC) #1
Stephen White
https://codereview.chromium.org/22794007/diff/27001/LayoutTests/css3/filters/effect-reference-subregion.html File LayoutTests/css3/filters/effect-reference-subregion.html (left): https://codereview.chromium.org/22794007/diff/27001/LayoutTests/css3/filters/effect-reference-subregion.html#oldcode3 LayoutTests/css3/filters/effect-reference-subregion.html:3: <filter id="f1" color-interpolation-filters="sRGB"> Note that the old version of ...
7 years, 3 months ago (2013-09-09 18:19:39 UTC) #2
f(malita)
https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp File Source/core/platform/graphics/filters/FilterEffect.cpp (right): https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp#newcode486 Source/core/platform/graphics/filters/FilterEffect.cpp:486: SkIRect rect = SkIRect::MakeLargest(); Hmm, starting off with SkIRect::MakeLargest() ...
7 years, 3 months ago (2013-09-09 21:37:43 UTC) #3
Stephen White
Fixed computation of default filter primitive subregion. https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp File Source/core/platform/graphics/filters/FilterEffect.cpp (right): https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp#newcode486 Source/core/platform/graphics/filters/FilterEffect.cpp:486: SkIRect rect ...
7 years, 3 months ago (2013-09-10 14:43:41 UTC) #4
f(malita)
lgtm https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp File Source/core/platform/graphics/filters/FilterEffect.cpp (right): https://codereview.chromium.org/22794007/diff/27001/Source/core/platform/graphics/filters/FilterEffect.cpp#newcode486 Source/core/platform/graphics/filters/FilterEffect.cpp:486: SkIRect rect = SkIRect::MakeLargest(); On 2013/09/10 14:43:41, Stephen ...
7 years, 3 months ago (2013-09-10 15:37:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/senorblanco@chromium.org/22794007/45001
7 years, 3 months ago (2013-09-10 15:38:46 UTC) #6
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 17:14:28 UTC) #7
Message was sent while issue was closed.
Change committed as 157529

Powered by Google App Engine
This is Rietveld 408576698