gallium: add bitmap/drawpixels texcoord bias support
authorBrian <brian.paul@tungstengraphics.com>
Tue, 5 Feb 2008 23:32:15 +0000 (16:32 -0700)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:31 +0000 (13:50 +1100)
commit61e59234d072ce78770047f9f08e0bb92e2fb1c5
treef3329c39b9ba0e4965d46b6c870f23b388df9446
parentbf3101afdc5d315f1fb42eb74ec1b8b0d4101aae
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