[Webkit-unassigned] [Bug 19243] New: [CAIRO] Masker in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 25 03:21:55 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19243

           Summary: [CAIRO] Masker in SVG
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: Cairo
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vbs85 at gmx.de


The masking-support is missing in Cairo/SVG. I made a basic implementation but
run in to some problems.
The cairo-masking support ignores RGB and only looks to the alpha-channel. So
you have to transform the mask-surface first.
After (or before) that you insert the masked object to the context and mask it
with the transformed mask-surface.

Cg seems to do it a bit different because the masked object is drawn above the
mask (the image seems to be given to context AFTER the mask is applied).

How can I get the masked object in SVGResourceMaskerCairo.cpp and avoid WebKit
to draw the image after the mask was applied?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list