http://bugs.freedesktop.org/show_bug.cgi?id=10232





------- Comment #1 from [EMAIL PROTECTED]  2007-03-09 07:39 PST -------
Table 6.1 only applies to glGet[Compressed]TexImage(), not texturing in
general.
(when texturing, a luminance texture is supposed to appear as gray-scale so
R=G=B=L.)

For glGetTexImage(), we'll typically use the FetchTexel() functions.  Luminance
will be converted to R=G=B.  But in the _mesa_pack_rgba_span_float() function
we'll convert RGB back to L.  I think we have a problem there, though.

_mesa_pack_rgba_span_float() is used for both glReadPixels() and
glGetTexImage().  For the former the conversion is L=R+G+B but for the later we
want L=R (or =G or =B).  Looks like we need an extra parameter/flat to indicate
how RGB should be converted to L.  I'll look into that...


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to