2010-12-08 Chris Marrin <cmarrin@apple.com>
authorcmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Dec 2010 20:43:43 +0000 (20:43 +0000)
committercmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Dec 2010 20:43:43 +0000 (20:43 +0000)
commit17015ec903a1ad66b5cb70bfb96da361af286478
treea40b55f66f9404cab35c519a385e064756d28658
parent1eee8f609adafb7fe77b0a6ee786bddcaf049046
2010-12-08  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Added copy constructors and casting operators to go between
        TransformationMatrix and CATransform3D. Also added a copy
        constructor to go from CGAffineTransform to TransformationMatrix.
        Used these new methods to clean up platform CA code. This will
        make it easier to port to Windows.

        I also fixed a couple of build issues found when trying out a
        Windows build.

        This is a resubmission of changesets r73477 and r73483 with a
        fix for the SL build. The failure was because TransformationMatrix
        included QuartzCore/CATransform3D.h which brought in some system
        libraries, including Quickdraw, which has a definition for
        'Cursor' which clashed with WebCore's 'Cursor' class. So I had
        to qualify its use in WebChromeClient.cpp in WebKit2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Platform.h
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
WebCore/platform/graphics/ca/TransformationMatrixCA.cpp [new file with mode: 0644]
WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm
WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm
WebCore/platform/graphics/cg/TransformationMatrixCG.cpp
WebCore/platform/graphics/transforms/TransformationMatrix.h
WebKit2/ChangeLog
WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp