llvmpipe: refactoring of visibility counter handling
authorRoland Scheidegger <sroland@vmware.com>
Wed, 6 Feb 2013 21:09:46 +0000 (13:09 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 9 Feb 2013 00:32:30 +0000 (16:32 -0800)
commit8e44f4117a9c73ea336063f7c2fbf4d6a592eeae
treebb5858ca7853a10037a0395f85702135e0ac1789
parent3310acdf4756feb82bf043e7663b6dd8d6e3f7c9
llvmpipe: refactoring of visibility counter handling

There can be other per-thread data than just vis_counter, so pass a struct
around instead (some of our non-public code uses this already and this
difference is a major cause of merge pain).

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_jit.c
src/gallium/drivers/llvmpipe/lp_jit.h
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_state_fs.c