diff options
author | Brian Paul <[email protected]> | 2010-01-21 14:59:01 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-21 15:39:57 -0700 |
commit | cd9d9e2436a0815f6ed3a61d2cdf8fad53278506 (patch) | |
tree | 4361bb4916bf5e3148031fc6afe7bebf7fe3fc44 /src/gallium/drivers/llvmpipe/lp_setup.c | |
parent | 63f249bf909cab60635c2df9122db86eaab6c421 (diff) |
llvmpipe: added simple perf/statistics counting facility
Currently counting number of tris, how many tiles of each size are
fully covered, partially covered or empty, etc.
Set LP_DEBUG=counters to enable. Results are printed upon context
destruction.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index d4a4724ad1b..f8fc912fa1b 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -499,7 +499,7 @@ lp_setup_set_sampler_textures( struct setup_context *setup, * Note: we have to check all scenes including any scenes currently * being rendered and the current scene being built. */ -boolean +unsigned lp_setup_is_texture_referenced( const struct setup_context *setup, const struct pipe_texture *texture ) { |