Reviewed by Eric. Rubber stamped by Oliver.
authorzimmermann <zimmermann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Nov 2006 21:47:57 +0000 (21:47 +0000)
committerzimmermann <zimmermann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Nov 2006 21:47:57 +0000 (21:47 +0000)
commitce97ebae2cba84fcc9fc835ac7b51ef5fdbb6c5b
tree777b17e1e387547209c0455d3e1c17833748e7bb
parent4487821aa507491cf10695247551402bbe896e43
Reviewed by Eric. Rubber stamped by Oliver.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=10383
This is the final patch after the long "die kcanvas" journey.

All old kcanvas code is gone now, and properly integrated within
WebCore (stuff like GraphicsContext changes etc.). It shares
the platform/ design concept: no subclassing, but instead
implementing parts of the classes/methods per-platform.

This commit removes the last pieces: KRenderingDevice & KRenderingDeviceContext.
This layer was just obsolete, given the powerful GraphicsContext API we have
since quite a while now. All the ugly pushContext/popContext stuff is gone now.

The naming issues Cg vs. CG will be fixed in one shot, when moving the whole
platform/graphics/svg directory down into ksvg2/graphics - as discussed with Darin.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
91 files changed:
WebCore/CMakeLists.txt
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/kcanvas/device/KRenderingDevice.cpp [deleted file]
WebCore/kcanvas/device/KRenderingDevice.h [deleted file]
WebCore/kcanvas/device/qt/KRenderingDeviceQt.cpp [deleted file]
WebCore/kcanvas/device/qt/KRenderingDeviceQt.h [deleted file]
WebCore/kcanvas/device/quartz/KRenderingDeviceQuartz.cpp [deleted file]
WebCore/kcanvas/device/quartz/KRenderingDeviceQuartz.h [deleted file]
WebCore/ksvg2/misc/KCanvasRenderingStyle.cpp
WebCore/ksvg2/misc/KCanvasRenderingStyle.h
WebCore/ksvg2/svg/SVGAElement.cpp
WebCore/ksvg2/svg/SVGClipPathElement.cpp
WebCore/ksvg2/svg/SVGFEBlendElement.cpp
WebCore/ksvg2/svg/SVGFEColorMatrixElement.cpp
WebCore/ksvg2/svg/SVGFEComponentTransferElement.cpp
WebCore/ksvg2/svg/SVGFECompositeElement.cpp
WebCore/ksvg2/svg/SVGFEDiffuseLightingElement.cpp
WebCore/ksvg2/svg/SVGFEDisplacementMapElement.cpp
WebCore/ksvg2/svg/SVGFEDistantLightElement.cpp
WebCore/ksvg2/svg/SVGFEFloodElement.cpp
WebCore/ksvg2/svg/SVGFEFuncAElement.cpp
WebCore/ksvg2/svg/SVGFEFuncBElement.cpp
WebCore/ksvg2/svg/SVGFEFuncGElement.cpp
WebCore/ksvg2/svg/SVGFEFuncRElement.cpp
WebCore/ksvg2/svg/SVGFEGaussianBlurElement.cpp
WebCore/ksvg2/svg/SVGFEImageElement.cpp
WebCore/ksvg2/svg/SVGFELightElement.cpp
WebCore/ksvg2/svg/SVGFEMergeElement.cpp
WebCore/ksvg2/svg/SVGFEMergeNodeElement.cpp
WebCore/ksvg2/svg/SVGFEOffsetElement.cpp
WebCore/ksvg2/svg/SVGFEPointLightElement.cpp
WebCore/ksvg2/svg/SVGFESpecularLightingElement.cpp
WebCore/ksvg2/svg/SVGFESpotLightElement.cpp
WebCore/ksvg2/svg/SVGFETileElement.cpp
WebCore/ksvg2/svg/SVGFETurbulenceElement.cpp
WebCore/ksvg2/svg/SVGFilterElement.cpp
WebCore/ksvg2/svg/SVGGradientElement.cpp
WebCore/ksvg2/svg/SVGLinearGradientElement.cpp
WebCore/ksvg2/svg/SVGMarkerElement.cpp
WebCore/ksvg2/svg/SVGMaskElement.cpp
WebCore/ksvg2/svg/SVGPatternElement.cpp
WebCore/ksvg2/svg/SVGStyledElement.cpp
WebCore/ksvg2/svg/SVGStyledElement.h
WebCore/platform/graphics/GraphicsContext.h
WebCore/platform/graphics/cg/GraphicsContextCG.cpp
WebCore/platform/graphics/svg/SVGPaintServer.h
WebCore/platform/graphics/svg/SVGPaintServerGradient.cpp
WebCore/platform/graphics/svg/SVGPaintServerGradient.h
WebCore/platform/graphics/svg/SVGPaintServerLinearGradient.h
WebCore/platform/graphics/svg/SVGPaintServerPattern.h
WebCore/platform/graphics/svg/SVGPaintServerRadialGradient.h
WebCore/platform/graphics/svg/SVGPaintServerSolid.h
WebCore/platform/graphics/svg/SVGResource.cpp
WebCore/platform/graphics/svg/SVGResource.h
WebCore/platform/graphics/svg/SVGResourceClipper.h
WebCore/platform/graphics/svg/SVGResourceFilter.h
WebCore/platform/graphics/svg/SVGResourceMasker.h
WebCore/platform/graphics/svg/cg/CgSupport.cpp [moved from WebCore/kcanvas/device/quartz/QuartzSupport.cpp with 98% similarity]
WebCore/platform/graphics/svg/cg/CgSupport.h [moved from WebCore/kcanvas/device/quartz/QuartzSupport.h with 97% similarity]
WebCore/platform/graphics/svg/cg/RenderPathCg.cpp [moved from WebCore/kcanvas/device/quartz/KCanvasItemQuartz.cpp with 97% similarity]
WebCore/platform/graphics/svg/cg/SVGPaintServerCg.cpp
WebCore/platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp
WebCore/platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp
WebCore/platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp
WebCore/platform/graphics/svg/cg/SVGResourceClipperCg.cpp
WebCore/platform/graphics/svg/cg/SVGResourceFilterCg.mm
WebCore/platform/graphics/svg/cg/SVGResourceMaskerCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEImageCg.mm
WebCore/platform/graphics/svg/qt/RenderPathQt.cpp [moved from WebCore/kcanvas/device/qt/RenderPathQt.cpp with 100% similarity]
WebCore/platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp
WebCore/platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp
WebCore/platform/graphics/svg/qt/SVGPaintServerQt.cpp
WebCore/platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp
WebCore/platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp
WebCore/platform/graphics/svg/qt/SVGResourceClipperQt.cpp
WebCore/platform/graphics/svg/qt/SVGResourceFilterQt.cpp
WebCore/platform/graphics/svg/qt/SVGResourceMaskerQt.cpp
WebCore/platform/mac/GraphicsContextMac.mm
WebCore/platform/qt/GraphicsContextQt.cpp
WebCore/rendering/RenderForeignObject.cpp
WebCore/rendering/RenderPath.cpp
WebCore/rendering/RenderSVGContainer.cpp
WebCore/rendering/RenderSVGImage.cpp
WebCore/rendering/RenderSVGImage.h
WebCore/rendering/RenderSVGInline.cpp
WebCore/rendering/RenderSVGInlineText.cpp
WebCore/rendering/RenderSVGTSpan.cpp
WebCore/rendering/RenderSVGText.cpp
WebCore/rendering/SVGInlineFlowBox.cpp
WebCore/rendering/SVGRenderTreeAsText.cpp