|
|
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
Total comments: 6
|
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
|
Total messages: 7 (0 generated)
|