[OpenJDK 2D-Dev] How does antialiasing with the OpenGL pipeline work?

Clemens Eisserer linuxhippy at gmail.com
Sat Sep 29 16:25:56 UTC 2007


Hello,

According to Chris blog antialiasing on the OpenGL pipeline is done by
generating alpha-mask-tiles, however to be honest I don't exactly
understand how that works.

Are those alpha-mask-tiles small images which are generated in
software and migrated to vram using glTexImage2D?
How are those alpha masks involved in a later stage of rendering?
And where does that happen in code ... I went a bit up and down but
was quite confused about how everything should play together :-/

So if I understand it right, is for a 0,0->100,100 line an alpha-mask
area with the size 100px^2 needed?

Thanks, lg Clemens



More information about the 2d-dev mailing list