[cairo] Extended blend mode support
Emmanuel Pacaud
emmanuel.pacaud at lapp.in2p3.fr
Sun Jan 21 23:53:30 PST 2007
Hi,
I'm working on extended blend mode support in cairo, and would like some
comments and help. I've published the beginning of this work in the
"blend" branch of my repository:
git://people.freedesktop.org/~emmanuel/cairo
It includes a new XFAIL extended-blend test.
There's also a patch that adds full support of these blend operators to
librsvg, here:
http://emmanuel.pacaud.free.fr/patchs/rsvg-comp-op-full-01.patch
And a test file here:
http://emmanuel.pacaud.free.fr/patchs/blend.svg
Currently, I've only done the FbCombineFooU variants of the pixman
combine functions. They seem to produce good results, except perhaps for
soft light blend (Rendering the svg test file produces a couple of wrong
pixels, but I'm not sure where is the issue, cairo or librsvg).
I'm going to implement the FbCombineFooC variants, but I don't
understand what they are supposed to do. What sort of cairo call
triggers a call to these functions ?
Any comments on the current state of this work?
Emmanuel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extended-blend-ref.png
Type: image/png
Size: 7865 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070122/e57e561c/extended-blend-ref-0001.png
More information about the cairo
mailing list