[cairo] Glitz backend: Tesselation bug
Stefan Krause
Stefan.Krause at gmx.at
Wed Dec 29 08:35:54 PST 2004
The attached source code shows a bug in the glitz backend (at least I
think it's a bug). Rendering is OK for cairo with X11 backend. The bug
is that the rounded rectangle (code from cairo-demo) drawn with alpha
may show artefacts for certain angles of rotation. A reason might be
that a triangle of the tessellated shape is drawn twice causing the
darker triangle in the shape. The source code shows a dark red triangle
in the upper right part and a lighter (correct) drawn shape in other
part of the screen.
Glitz and cairo are current cvs builds. The system is a SuSE 9.2 with
6629 NVidia drivers. To compile the source please use:
g++ -c `pkg-config --cflags glitz glitz-glx cairo` -L/usr/X11R6/lib/
glitzBug.cpp
g++ -o glitzBug glitzBug.o `pkg-config --libs cairo glitz glitz-glx`
-L/usr/X11R6/lib/ -lXext -lX11 -lm
Yours,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glitzBug.cpp
Type: text/x-c++src
Size: 5618 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20041229/f017ec88/glitzBug.cpp
More information about the cairo
mailing list