gallium: add bitmap/drawpixels texcoord bias support
authorBrian <brian.paul@tungstengraphics.com>
Tue, 5 Feb 2008 23:32:15 +0000 (16:32 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 6 Feb 2008 16:35:38 +0000 (09:35 -0700)
commit4650b35846e8e87fb0d74573a5f66452bb449b4b
tree2fdc925f9ffd00e7196993a1177504aedd6189e1
parentaf6b12cc76b40c86f3b144a7f5cd3ef1278863d0
gallium: add bitmap/drawpixels texcoord bias support

The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS)
to get a bias factor for adjusting the texcoords used in bitmap/drawpixels.
This allows us to compensate for small differences in rasterization from
one device to another.
src/mesa/pipe/p_defines.h
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_extensions.c