llvmpipe: add LP_PERF flag to disable various aspects of rasterization
authorKeith Whitwell <keithw@vmware.com>
Thu, 16 Sep 2010 09:45:52 +0000 (10:45 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 16 Sep 2010 16:34:19 +0000 (17:34 +0100)
commit5f00819cb382bdb70c29e2db3c6ff22a879bf10f
tree6c28495f4caef7c8610189ed011f50596b0e545c
parent045ee4601179c44f815ce3842ef900b36d54c914
llvmpipe: add LP_PERF flag to disable various aspects of rasterization

Allows disabling various operations (mainly texture-related, but
will grow) to try & identify bottlenecks.

Unlike LP_DEBUG, this is active even in release builds - which is
necessary for performance investigation.
src/gallium/drivers/llvmpipe/lp_clear.c
src/gallium/drivers/llvmpipe/lp_debug.h
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_state_blend.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