|
Hoist paint-server transform adaption out of preparePaintServer
The additional transform computed by the helper function
RenderSVGResourceContainer::computeResourceSpaceTransform by each
paint-server (that is CTM-dependent), only depends on the input to
preparePaintServer, and not the paint-server itself.
Hoist the computation into SVGRenderSupport::updateGraphicsContext.
This in turn mean that the various preparePaintServer implementations
no longer use the passed RenderStyle (previously only used for checking
for vector-effect) and RenderSVGResourceModeFlags, so remove those.
computeResourceSpaceTransform w/ associated helpers are moved to
SVGRenderSupport.
BUG= 420022
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183746
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Stats (+77 lines, -83 lines) |
|
M |
Source/core/rendering/svg/RenderSVGResource.h
|
View
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResource.cpp
|
View
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceContainer.h
|
View
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceContainer.cpp
|
View
|
2 chunks |
+0 lines, -53 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceGradient.h
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceGradient.cpp
|
View
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourcePattern.h
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourcePattern.cpp
|
View
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceSolidColor.h
|
View
|
1 chunk |
+1 line, -1 line |
0 comments
|
|
M |
Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp
|
View
|
1 chunk |
+1 line, -3 lines |
0 comments
|
|
M |
Source/core/rendering/svg/SVGRenderSupport.cpp
|
View
|
3 chunks |
+51 lines, -2 lines |
2 comments
|
|
M |
Source/platform/graphics/Pattern.h
|
View
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Total messages: 7 (2 generated)
|