softpipe: remove backwards dependency from tilecache to softpipe
authorKeith Whitwell <keithw@vmware.com>
Thu, 16 Jul 2009 13:14:32 +0000 (14:14 +0100)
committerKeith Whitwell <keithw@vmware.com>
Wed, 22 Jul 2009 11:47:59 +0000 (12:47 +0100)
commitaa5db684382bd8662a83ca09ed000e4a5a1013f9
treed4ef507f02a680abbafd71ce02fd2924dc7664ea
parentede9f3b52ecb27ada81fee06a943bb595c60eaee
softpipe: remove backwards dependency from tilecache to softpipe

The tile cache is a utility, it shouldn't know anything about the
entity which is making use of it (ie softpipe).

Remove softpipe parameter to all the tilecache function calls, and
also remove the need to keep a softpipe pointer in the sampler structs.
14 files changed:
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_flush.c
src/gallium/drivers/softpipe/sp_quad_blend.c
src/gallium/drivers/softpipe/sp_quad_colormask.c
src/gallium/drivers/softpipe/sp_quad_depth_test.c
src/gallium/drivers/softpipe/sp_quad_output.c
src/gallium/drivers/softpipe/sp_quad_stencil.c
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/drivers/softpipe/sp_state_sampler.c
src/gallium/drivers/softpipe/sp_state_surface.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/softpipe/sp_tile_cache.h