[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: Where is the antialiasing?
From: Carl Worth <cworth () cworth ! org>
Date: 2007-04-30 16:44:11
Message-ID: 87k5vtolr8.wl%cworth () cworth ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Mon, 30 Apr 2007 10:16:04 +0530, "Konrad Merz" wrote:
> I'm interested where I can find the algorithm for the anti-aliasing in
> Xorg? So I don't mean the font antialaising. For example when the
> Xclock is drawn antialiased. I hope I ask the right list.
It's inside the X server's implementation of what you get when you
call XRenderCompositeTrapezoids from the client. For an all-software
case ends up being in xserver/fb/ . Look at the fbRasterizeTrapezoid
function in fbtrap.c and then notice that the heavier lifting happens
inside various fbRasterizeEdges functions in fbedge.c.
The algorithm involves simple point sampling with a uniformly-spaced
grid of sampling points, (this is known to be a very poor choice for
configuring the sampling points).
-Carl
[Attachment #5 (application/pgp-signature)]
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic