summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_format.h
AgeCommit message (Collapse)Author
2008-02-06gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.José Fonseca
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2007-12-12fix some mistakes in the _PIPE_FORMAT_x #definesBrian
2007-12-11Add inline funtion to comput format size based on code in st_format.c.José Fonseca
Including state_tracker/st_format.h from pipe drivers is not an option since it uses GL* types and pipe/p_util.h will clash with main/imports.h.
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.