2007-10-28 Eric Seidel <eric@webkit.org>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 10:34:24 +0000 (10:34 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 10:34:24 +0000 (10:34 +0000)
commit8f2bffe3fc756dc1d855f371cc221c1769b65fb7
tree1e5d1b7287abd26cd88aa625d4ae3d8f42d10c6f
parent6850b2b0df869f1550088e0131fe2707048e4a0d
2007-10-28  Eric Seidel  <eric@webkit.org>

        Reviewed by Oliver.

        Push SVGResourceFilter platform specific data down into m_platformData
        in preparation for implementing a non-mac filter solution.

        Also update a very old email address in copyright headers

        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/FloatPoint3D.cpp:
        (WebCore::FloatPoint3D::FloatPoint3D):
        * platform/graphics/FloatPoint3D.h:
        * platform/graphics/svg/SVGResourceFilter.cpp:
        (WebCore::SVGResourceFilter::SVGResourceFilter):
        * platform/graphics/svg/SVGResourceFilter.h:
        (WebCore::SVGResourceFilter::platformData):
        (WebCore::SVGResourceFilter::effects):
        * platform/graphics/svg/cg/SVGResourceFilterCg.mm:
        (WebCore::SVGResourceFilter::createPlatformData):l
        (WebCore::SVGResourceFilter::prepareFilter):
        (WebCore::SVGResourceFilter::applyFilter):
        * platform/graphics/svg/filters/SVGDistantLightSource.h:
        * platform/graphics/svg/filters/SVGFEBlend.cpp:
        * platform/graphics/svg/filters/SVGFEBlend.h:
        * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
        * platform/graphics/svg/filters/SVGFEColorMatrix.h:
        * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
        * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
        * platform/graphics/svg/filters/SVGFEComposite.cpp:
        * platform/graphics/svg/filters/SVGFEComposite.h:
        * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
        * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
        * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
        * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
        * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
        * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
        * platform/graphics/svg/filters/SVGFEFlood.cpp:
        * platform/graphics/svg/filters/SVGFEFlood.h:
        * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
        * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
        * platform/graphics/svg/filters/SVGFEImage.cpp:
        * platform/graphics/svg/filters/SVGFEImage.h:
        * platform/graphics/svg/filters/SVGFEMerge.cpp:
        * platform/graphics/svg/filters/SVGFEMerge.h:
        * platform/graphics/svg/filters/SVGFEMorphology.cpp:
        * platform/graphics/svg/filters/SVGFEMorphology.h:
        * platform/graphics/svg/filters/SVGFEOffset.cpp:
        * platform/graphics/svg/filters/SVGFEOffset.h:
        * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
        * platform/graphics/svg/filters/SVGFESpecularLighting.h:
        * platform/graphics/svg/filters/SVGFETile.h:
        * platform/graphics/svg/filters/SVGFETurbulence.cpp:
        * platform/graphics/svg/filters/SVGFETurbulence.h:
        * platform/graphics/svg/filters/SVGFilterEffect.cpp:
        * platform/graphics/svg/filters/SVGFilterEffect.h:
        * platform/graphics/svg/filters/SVGLightSource.cpp:
        * platform/graphics/svg/filters/SVGLightSource.h:
        * platform/graphics/svg/filters/SVGPointLightSource.h:
        * platform/graphics/svg/filters/SVGSpotLightSource.h:
        * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
        (WebCore::SVGFEBlend::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
        (WebCore::SVGFEColorMatrix::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
        (WebCore::SVGFEComponentTransfer::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
        (WebCore::SVGFEComposite::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
        (WebCore::SVGFEDiffuseLighting::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
        (WebCore::SVGFEDisplacementMap::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
        (WebCore::SVGFEFlood::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
        * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
        (WebCore::SVGFEImage::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
        (WebCore::SVGFEMerge::getCIFilter):
        * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
        (WebCore::SVGFESpecularLighting::getCIFilter):
        * platform/graphics/svg/mac: Added.
        * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.h: Added.
        * platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.mm: Added.
        (WebCore::SVGResourceFilterPlatformDataMac::SVGResourceFilterPlatformDataMac):
        (WebCore::SVGResourceFilterPlatformDataMac::~SVGResourceFilterPlatformDataMac):
        (WebCore::SVGResourceFilterPlatformDataMac::getCIFilterStack):
        (WebCore::alphaImageForImage):
        (WebCore::SVGResourceFilterPlatformDataMac::imageForName):
        (WebCore::SVGResourceFilterPlatformDataMac::setImageForName):
        (WebCore::SVGResourceFilterPlatformDataMac::setOutputImage):
        (WebCore::SVGResourceFilterPlatformDataMac::inputImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
60 files changed:
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/platform/graphics/FloatPoint3D.cpp
WebCore/platform/graphics/FloatPoint3D.h
WebCore/platform/graphics/svg/SVGResourceFilter.cpp
WebCore/platform/graphics/svg/SVGResourceFilter.h
WebCore/platform/graphics/svg/cg/SVGResourceFilterCg.cpp
WebCore/platform/graphics/svg/cg/SVGResourceFilterCg.mm
WebCore/platform/graphics/svg/filters/SVGDistantLightSource.h
WebCore/platform/graphics/svg/filters/SVGFEBlend.cpp
WebCore/platform/graphics/svg/filters/SVGFEBlend.h
WebCore/platform/graphics/svg/filters/SVGFEColorMatrix.cpp
WebCore/platform/graphics/svg/filters/SVGFEColorMatrix.h
WebCore/platform/graphics/svg/filters/SVGFEComponentTransfer.cpp
WebCore/platform/graphics/svg/filters/SVGFEComponentTransfer.h
WebCore/platform/graphics/svg/filters/SVGFEComposite.cpp
WebCore/platform/graphics/svg/filters/SVGFEComposite.h
WebCore/platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp
WebCore/platform/graphics/svg/filters/SVGFEConvolveMatrix.h
WebCore/platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp
WebCore/platform/graphics/svg/filters/SVGFEDiffuseLighting.h
WebCore/platform/graphics/svg/filters/SVGFEDisplacementMap.cpp
WebCore/platform/graphics/svg/filters/SVGFEDisplacementMap.h
WebCore/platform/graphics/svg/filters/SVGFEFlood.cpp
WebCore/platform/graphics/svg/filters/SVGFEFlood.h
WebCore/platform/graphics/svg/filters/SVGFEGaussianBlur.cpp
WebCore/platform/graphics/svg/filters/SVGFEGaussianBlur.h
WebCore/platform/graphics/svg/filters/SVGFEImage.cpp
WebCore/platform/graphics/svg/filters/SVGFEImage.h
WebCore/platform/graphics/svg/filters/SVGFEMerge.cpp
WebCore/platform/graphics/svg/filters/SVGFEMerge.h
WebCore/platform/graphics/svg/filters/SVGFEMorphology.cpp
WebCore/platform/graphics/svg/filters/SVGFEMorphology.h
WebCore/platform/graphics/svg/filters/SVGFEOffset.cpp
WebCore/platform/graphics/svg/filters/SVGFEOffset.h
WebCore/platform/graphics/svg/filters/SVGFESpecularLighting.cpp
WebCore/platform/graphics/svg/filters/SVGFESpecularLighting.h
WebCore/platform/graphics/svg/filters/SVGFETile.h
WebCore/platform/graphics/svg/filters/SVGFETurbulence.cpp
WebCore/platform/graphics/svg/filters/SVGFETurbulence.h
WebCore/platform/graphics/svg/filters/SVGFilterEffect.cpp
WebCore/platform/graphics/svg/filters/SVGFilterEffect.h
WebCore/platform/graphics/svg/filters/SVGLightSource.cpp
WebCore/platform/graphics/svg/filters/SVGLightSource.h
WebCore/platform/graphics/svg/filters/SVGPointLightSource.h
WebCore/platform/graphics/svg/filters/SVGSpotLightSource.h
WebCore/platform/graphics/svg/filters/cg/SVGFEBlendCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFECompositeCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEFloodCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEHelpersCg.h
WebCore/platform/graphics/svg/filters/cg/SVGFEImageCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFEMergeCg.mm
WebCore/platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm
WebCore/platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.h [new file with mode: 0644]
WebCore/platform/graphics/svg/mac/SVGResourceFilterPlatformDataMac.mm [new file with mode: 0644]
WebCore/platform/graphics/svg/qt/SVGResourceFilterQt.cpp