[Mesa-dev] [PATCH 2/2] meta: Handle bitmaps with alpha test enabled.

Brian Paul brianp at vmware.com
Mon Nov 1 14:25:38 PDT 2010


Unless a fragment shader is active (very rare), all the fragments 
emitted for a bitmap should have the same RGBA color.  So the only two 
possible outcomes of applying the alpha test to glBitmap is either the 
bitmap is drawn normally (as if alpha test is disabled) or nothing is 
drawn at all.  I think we could test for this and either no-op the 
glBitmap or draw the bitmap with the current code as-is.

What do you think?

-Brian



More information about the mesa-dev mailing list