[cairo] Mozilla on Cairo
Carl Worth
cworth at redhat.com
Tue May 10 13:00:30 PDT 2005
On Fri, 22 Apr 2005 08:01:16 -0400, Owen Taylor wrote:
> > Also, this page doesn't really show it, but we are running into
> > the problem of antialiased fills causing artifacts where two shapes
> > share a non-pixel-aligned edge. I really want to add a mode to cairo_t
> > that turns antialiasing off. What are the chances that that would be
> > accepted?
I've mentioned before that adding full-scene antialiasing one way or
another might be the right way to solve this problem in the most
general case.
But, if your scenes are strictly 2.5D, (that is, each object exists in
a plane at a constant Z value), then you might likely be able to
achieve seam-free rendering by using the CAIRO_OPERATOR_SATURATE
operator and rendering your objects in a similar order as is done for
OpenGL.
I haven't played with this myself personally, so I won't comment more
on the specifics, (as I would likely get them wrong). But it is
something that you should look into before taking the performance hit
of FSAA, (or the quality hit of eliminating antialiasing).
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050510/4c2a1ff9/attachment.pgp
More information about the cairo
mailing list