2010-02-08 Dirk Schulze <firstname.lastname@example.org>
Reviewed by Nikolas Zimmermann. Add back an AffineTransform class for use by SVG https://bugs.webkit.org/show_bug.cgi?id=33750 This adds back AffineTransform. This saves additional 4% memory consumption on the 50k rects stress test: https://bugs.webkit.org/attachment.cgi?id=46721 It also makes it possible to optimize the calculations internally of AffineTransform to the needs of 2D transformations (the second benefit for SVG, which uses transformations relative often at the moment. Everything that is 2D related (like images, patterns, gradients, fonts), uses AffineTransform now. * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::multiply): (WebCore::JSSVGMatrix::inverse): (WebCore::JSSVGMatrix::rotateFromVector): * bindings/js/JSSVGPODTypeWrapper.h: * bindings/scripts/CodeGenerato...
Showing with 403 additions and 44 deletions