http://bugs.freedesktop.org/show_bug.cgi?id=10298
Summary: PACK_SWAP_BYTES not implement for packed data type
Product: Mesa
Version: CVS
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: low
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
In _mesa_pack_rgba_span_float function(main/image.c), if GL_PACK_SWAP_BYTES is
enabled, it only swap bytes for types that one component has multi-bytes, but
not for packed multi-bytes types.
Byte swap is for transferring data between different machines which have
different byte ordes. For packed data type, the multi-bytes will be processed
as one element. And in OpenGL spec, it is said in section 3.6 that:
Byte swapping, if enabled, is performed before the component are extracted
from each pixel.
So the packed data type need be swaped when PACK_SWAP_BYTES is enabled, and
this will consistent with SGI's implementation.
--
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