2006-04-26 Oliver Hunt <ojh16@student.canterbury.ac.nz>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2006 21:22:40 +0000 (21:22 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2006 21:22:40 +0000 (21:22 +0000)
commit7eff330cca194a65f535a61d2258cea63e93d487
treeda704153a36ae396a3d0f5ee19b1b823dccac879
parentb77f5511e45f5105cf027c06fc7649431a51c58f
2006-04-26  Oliver Hunt  <ojh16@student.canterbury.ac.nz>

        Reviewed by eseidel.  Landed by eseidel.

        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvasFilters.cpp:
        (WebCore::operator<<):
        * kcanvas/KCanvasFilters.h:
        (WebCore::KCComponentTransferFunction::KCComponentTransferFunction):
        * kcanvas/device/quartz/KCanvasFilterQuartz.h:
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (WebCore::getVectorForChannel):
        (WebCore::genImageFromTable):
        (WebCore::filterForComponentFunc):
        (WebCore::setParametersForComponentFunc):
        (WebCore::getFilterForFunc):
        (WebCore::KCanvasFEComponentTransferQuartz::getFunctionFilter):
        (WebCore::KCanvasFEComponentTransferQuartz::getCIFilter):
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        (WebCore::KRenderingDeviceQuartz::createFilterEffect):
        * kcanvas/device/quartz/filters/WKComponentMergeFilter.cikernel: Added.
        * kcanvas/device/quartz/filters/WKComponentMergeFilter.h: Added.
        * kcanvas/device/quartz/filters/WKComponentMergeFilter.m: Added.
        (+[WKComponentMergeFilter initialize]):
        (+[WKComponentMergeFilter filterWithName:]):
        (-[WKComponentMergeFilter init]):
        (-[WKComponentMergeFilter outputImage]):
        * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.cikernel: Added.
        * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.h: Added.
        * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m: Added.
        (+[WKDiscreteTransferFilter initialize]):
        (+[WKDiscreteTransferFilter filterWithName:]):
        (-[WKDiscreteTransferFilter init]):
        (-[WKDiscreteTransferFilter outputImage]):
        * kcanvas/device/quartz/filters/WKGammaTransferFilter.cikernel: Added.
        * kcanvas/device/quartz/filters/WKGammaTransferFilter.h: Added.
        * kcanvas/device/quartz/filters/WKGammaTransferFilter.m: Added.
        (+[WKGammaTransferFilter initialize]):
        (+[WKGammaTransferFilter filterWithName:]):
        (-[WKGammaTransferFilter init]):
        (-[WKGammaTransferFilter outputImage]):
        * kcanvas/device/quartz/filters/WKIdentityTransferFilter.h: Added.
        * kcanvas/device/quartz/filters/WKIdentityTransferFilter.m: Added.
        (+[WKIdentityTransferFilter initialize]):
        (+[WKIdentityTransferFilter filterWithName:]):
        (-[WKIdentityTransferFilter init]):
        (-[WKIdentityTransferFilter outputImage]):
        * kcanvas/device/quartz/filters/WKLinearTransferFilter.cikernel: Added.
        * kcanvas/device/quartz/filters/WKLinearTransferFilter.h: Added.
        * kcanvas/device/quartz/filters/WKLinearTransferFilter.m: Added.
        (+[WKLinearTransferFilter initialize]):
        (+[WKLinearTransferFilter filterWithName:]):
        (-[WKLinearTransferFilter init]):
        (-[WKLinearTransferFilter outputImage]):
        * kcanvas/device/quartz/filters/WKTableTransferFilter.cikernel: Added.
        * kcanvas/device/quartz/filters/WKTableTransferFilter.h: Added.
        * kcanvas/device/quartz/filters/WKTableTransferFilter.m: Added.
        (+[WKTableTransferFilter initialize]):
        (+[WKTableTransferFilter filterWithName:]):
        (-[WKTableTransferFilter init]):
        (-[WKTableTransferFilter outputImage]):
        * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
        (SVGComponentTransferFunctionElement::parseMappedAttribute):
        (SVGComponentTransferFunctionElement::transferFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
57 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
LayoutTests/svg/custom/feComponentTransfer-Discrete-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Discrete-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Discrete-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Discrete.svg [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Gamma-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Gamma-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Gamma-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Gamma.svg [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Linear-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Linear-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Linear-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Linear.svg [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Table-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Table-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Table-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/feComponentTransfer-Table.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.cikernel [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.h [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.m [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.cikernel [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.h [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKGammaTransferFilter.h [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKIdentityTransferFilter.h [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKIdentityTransferFilter.m [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKLinearTransferFilter.cikernel [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKLinearTransferFilter.m [new file with mode: 0644]
WebCore/WebCore/kcanvas/device/quartz/filters/WKTableTransferFilter.m [new file with mode: 0644]
WebCore/kcanvas/KCanvasFilters.cpp
WebCore/kcanvas/KCanvasFilters.h
WebCore/kcanvas/device/quartz/KCanvasFilterQuartz.h
WebCore/kcanvas/device/quartz/KCanvasFilterQuartz.mm
WebCore/kcanvas/device/quartz/KRenderingDeviceQuartz.mm
WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.cikernel [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKComponentMergeFilter.m [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.cikernel [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKGammaTransferFilter.cikernel [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKGammaTransferFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKGammaTransferFilter.m [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKIdentityTransferFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKIdentityTransferFilter.m [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKLinearTransferFilter.cikernel [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKLinearTransferFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKLinearTransferFilter.m [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKTableTransferFilter.cikernel [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKTableTransferFilter.h [new file with mode: 0644]
WebCore/kcanvas/device/quartz/filters/WKTableTransferFilter.m [new file with mode: 0644]
WebCore/ksvg2/svg/SVGComponentTransferFunctionElement.cpp