summaryrefslogtreecommitdiff
path: root/src/mesa/main/format_pack.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-27mesa: change gl_format to mesa_formatMark Mueller1-13/+13
s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-3/+4
The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-1/+1
This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-01-30mesa: added _mesa_pack_ubyte_rgba_rect()Brian Paul1-0/+4
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-24mesa: add _mesa_pack_colormask()Brian Paul1-0/+3
For generating bit-wise colormasks for arbitrary pixel formats. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2011-12-08mesa: new format_pack.c codeBrian Paul1-0/+98
This code packs colors, Z, stencil, etc. in the various mesa pixel formats. Will be used for things like glDrawPixels, glTexImage, glAccum, etc.