-
zherczeg@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=81890 Reviewed by Nikolas Zimmermann. Copy the code to SVGRenderingContext and delete SVGImageBufferTools[.cpp.h]. Update build systems, no functionality change. This is the first step towards making SVGImageBufferTools stageful. Existing tests cover this issue. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * platform/graphics/filters/FETile.cpp: (WebCore::FETile::platformApplySoftware): * rendering/svg/RenderSVGAllInOne.cpp: * rendering/svg/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::computeNewScaledFontForStyle): * rendering/svg/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::applyClippingToContext): (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage): * rendering/svg/RenderSVGResourceFilter.cpp: (WebCore::RenderSVGResourceFilter::applyResource): * rendering/svg/RenderSVGResourceGradient.cpp: (WebCore::createMaskAndSwapContextForTextGradient): (WebCore::clipToTextMask): * rendering/svg/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::applyResource): (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): * rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource): (WebCore::RenderSVGResourcePattern::createTileImage): * rendering/svg/SVGImageBufferTools.cpp: Removed. * rendering/svg/SVGImageBufferTools.h: Removed. * rendering/svg/SVGInlineTextBox.cpp: * rendering/svg/SVGRenderingContext.cpp: (WebCore::currentContentTransformation): (WebCore): (WebCore::SVGRenderingContext::calculateTransformationToOutermostSVGCoordinateSystem): (WebCore::SVGRenderingContext::createImageBuffer): (WebCore::SVGRenderingContext::createImageBufferForPattern): (WebCore::SVGRenderingContext::renderSubtreeToImageBuffer): (WebCore::SVGRenderingContext::clipToImageBuffer): (WebCore::SVGRenderingContext::clampedAbsoluteTargetRect): (WebCore::SVGRenderingContext::clampedAbsoluteSize): (WebCore::SVGRenderingContext::clear2DRotation): * rendering/svg/SVGRenderingContext.h: (SVGRenderingContext): (WebCore::SVGRenderingContext::calculateImageBufferRect): * svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::platformApplySoftware): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c77e01fb