[Webkit-unassigned] [Bug 11164] SVG opacity code needs further optimizations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 1 13:27:10 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=11164
krit at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |krit at webkit.org
------- Comment #1 from krit at webkit.org 2009-05-01 13:27 PDT -------
Isn't it possible to do it without transparencyLayer's? If an element has an
opacity < 1.0, we multiply the opacity of it's childs with the opacity of the
current element.
The last element of the tree is something that is rendered by
SVGPaintServerSolid, -Pattern, Gradient and we use globalOpacity there.
Images need an extra handler, because they are not rendered via an
SVGPaintServer.
That means for you example:
<g>
<rect x="223" y="490" width="483" height="142" style="fill:red;
fill-opacity:0.5" />
<g>
<rect x="377" y="82" width="271" height="121" style="fill:blue;
fill-opacity:0.125" />
</g>
</g>
--
Configure bugmail: https://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