summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_format.h
AgeCommit message (Collapse)Author
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-12-05added B8G8R8A8 formatBrian
2007-11-24Cleanup PIPE_FORMAT names.Michal Krol
Add a function that builds a display name of a given format token.
2007-11-20initial support for PIPE_FORMAT_Z24_S8Brian
2007-11-06Convert format bitfields to shifts and masks.Michel Dänzer
The memory layout of bitfields depends on the ABI.
2007-10-29Add detailed comments.Michal Krol
2007-10-27Use PIPE_FORMAT in state tracker.michal
Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
2007-10-27Fix YCBCR macro.michal
Fix line endings.
2007-10-27Move format definitions from p_defines.h to p_format.h.michal
PIPE_FORMAT is not an ordinary enum -- it encodes its format description in the value that defines it.