|
Resolve light-source position/direction when updated
When 'x'/'y'/'z' on fePointLight/feSpotLight, or
'pointsAtX'/'pointsAtY'/'pointsAtZ' on feSpotLight is mutated (animated,
changed through the DOM) and filter primitive units is 'objectBoundingBox',
the new coordinate needs to be resolved against the filter's bounding-box.
Also simplify getting these position/direction attributes of a light-source
element by adding new methods on SVGFELightElement.
BUG= 393907
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178167
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -105 lines) |
Patch |
|
A |
LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated.html
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-animated-expected.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-mutation.html
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/filters/fePointLight-primitiveUnits-objectBoundingBox-mutation-expected.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feSpotLight-primitiveUnits-objectBoundingBox-animated.html
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/svg/filters/feSpotLight-primitiveUnits-objectBoundingBox-animated-expected.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFEDiffuseLightingElement.cpp
|
View
|
|
1 chunk |
+5 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFELightElement.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFELightElement.cpp
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFEPointLightElement.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFESpecularLightingElement.cpp
|
View
|
|
1 chunk |
+5 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFESpotLightElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/LightSource.h
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/PointLightSource.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/PointLightSource.cpp
|
View
|
|
1 chunk |
+3 lines, -19 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/SpotLightSource.h
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/SpotLightSource.cpp
|
View
|
|
1 chunk |
+6 lines, -38 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|