[Webkit-unassigned] [Bug 6564] SVGPaintServer system needs to be redesigned to fill & stroke simultaneously

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 26 17:23:25 PST 2006


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


macdome at opendarwin.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|KCanvas needs to be         |SVGPaintServer system needs
                   |redesigned to fill & stroke |to be redesigned to fill &
                   |at once                     |stroke simultaneously




------- Comment #2 from macdome at opendarwin.org  2006-12-26 17:23 PDT -------
This is nearly possible today.  Just a few adjustments would be necessary. 
Here's some pseudo code:

fill = fillPaintServer()
stroke = strokePaintServer()

if (fill == stroke) {
    fill->setup()
    fill->renderPath(FILL_MODE | STROKE_MODE)
    fill->teardown()
} else {
    fill->setup()
    fill->renderPath(FILL_MODE)
    fill->teardown()

    stroke->setup()
    stroke->renderPath(STROKE_MODE)
    stroke->teardown()
}

I'm not certain how huge of a performance win this would be, but now that we
have an SVG PLT we can check. ;)


-- 
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