util: Auto generate pixel format accessor functions from
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 30 Aug 2009 11:02:36 +0000 (12:02 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 30 Aug 2009 11:37:03 +0000 (12:37 +0100)
commit3d305243938980af520c6d3e0ce02f4ee3a6126c
tree87d04c757ca756195e533100f2b6015fd1189794
parent379304a72cf332e2d570b13663bb447ec7a12940
util: Auto generate pixel format accessor functions from

This has several advantages over the u_
 - not hand written
 - no intermediate memcpy of raw pixels
 - supports 4 ubytes in addition to floats
 - no need to pass a pipe_transfer

It also has (hopefully temporary) limitations:
 - no support for YUV
 - no support for SRGB
src/gallium/auxiliary/util/.gitignore
src/gallium/auxiliary/util/Makefile
src/gallium/auxiliary/util/SConscript
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/util/u_format.h
src/gallium/auxiliary/util/u_format_access.py [new file with mode: 0644]
src/gallium/auxiliary/util/u_format_parse.py [new file with mode: 0755]
src/gallium/auxiliary/util/u_format_table.py