OSDN Git Service

gallium: added fb_width/height fields to softpipe context
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 00:10:09 +0000 (18:10 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 00:10:09 +0000 (18:10 -0600)
commit122ed506f4b808503b230bade421018614dbe696
treea5df6a4d6ddc14bbe0945c70e126a95ee961c974
parentba31cf68551e409c7360995a35d836c22d9e0e75
gallium: added fb_width/height fields to softpipe context

These are convenience fields.  Otherwise, we have to check cbuf[0] or zsbuf
in various places.
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_prim_setup.c
src/gallium/drivers/softpipe/sp_quad_stipple.c
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/drivers/softpipe/sp_state_surface.c