llvmpipe: remove backwards dependency from tilecache to llvmpipe
authorKeith Whitwell <keithw@vmware.com>
Thu, 16 Jul 2009 13:14:32 +0000 (14:14 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:16 +0000 (09:21 +0100)
commit3121484a8bde7af053fb627bd716be957fcef18c
treea53dffd0a3b75323f03eecdfba7b06f9095ad880
parentc9a5930fe45a0a0299769bd2b672ca516d1bf39e
llvmpipe: remove backwards dependency from tilecache to llvmpipe

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

Remove llvmpipe parameter to all the tilecache function calls, and
also remove the need to keep a llvmpipe pointer in the sampler structs.
14 files changed:
src/gallium/drivers/llvmpipe/lp_context.c
src/gallium/drivers/llvmpipe/lp_flush.c
src/gallium/drivers/llvmpipe/lp_quad_blend.c
src/gallium/drivers/llvmpipe/lp_quad_colormask.c
src/gallium/drivers/llvmpipe/lp_quad_depth_test.c
src/gallium/drivers/llvmpipe/lp_quad_output.c
src/gallium/drivers/llvmpipe/lp_quad_stencil.c
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c
src/gallium/drivers/llvmpipe/lp_state_surface.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c
src/gallium/drivers/llvmpipe/lp_tex_sample.h
src/gallium/drivers/llvmpipe/lp_tile_cache.c
src/gallium/drivers/llvmpipe/lp_tile_cache.h