Skip to content
  • krit@webkit.org's avatar
    2009-06-13 Dirk Schulze <krit@webkit.org> · ec7c26d6
    krit@webkit.org authored
            Reviewed by Eric Seidel.
    
            Added subRegion calculation to SVG filter. Every filter effect is
            clipped to the filter region (according to the spec). This makes
            ImageBuffers for filter effects smaller and we just need to take
            care about big filter regions.
            SVGFEImage needed a correction, to avoid an ASSERT. The two filter
            effects feOffset and feFlood help to test the new subRegion code.
    
            Tests: svg/filters/subRegion-one-effect.svg
                   svg/filters/subRegion-two-effects.svg
    
            Added tests for the new subRgion-code on SVG filters.
    
            * platform/mac/svg/filters: Added.
            * platform/mac/svg/filters/subRegion-one-effect-expected.checksum: Added.
            * platform/mac/svg/filters/subRegion-one-effect-expected.png: Added.
            * platform/mac/svg/filters/subRegion-one-effect-expected.txt: Added.
            * platform/mac/svg/filters/subRegion-two-effects-expected.checksum: Added.
            * platform/mac/svg/filters/subRegion-two-effects-expected.png: Added.
            * platform/mac/svg/filters/subRegion-two-effects-expected.txt: Added.
            * svg/filters: Added.
            * svg/filters/subRegion-one-effect.svg: Added.
            * svg/filters/subRegion-two-effects.svg: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ec7c26d6