dri_interface: Introduce DRI tokens for the texBuffer texture formats
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 9 Feb 2010 20:26:14 +0000 (15:26 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 9 Feb 2010 20:55:25 +0000 (15:55 -0500)
commitdebf00e5fc3828f63e0f99d72c7fa6cd6ce012c5
treec0e64c0a66bdb72a4616bac7efc4fa078b3cad66
parent8c593d3ea9fa137290480e73aeebcf807c920f50
dri_interface: Introduce DRI tokens for the texBuffer texture formats

This used to take GLX tokens, but the DRI interface can't depend on GLX
defines.  We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
include/GL/internal/dri_interface.h
include/GL/internal/glcore.h
src/gallium/state_trackers/dri/dri_drawable.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/r600/r600_texstate.c
src/mesa/drivers/dri/radeon/radeon_texstate.c