llvmpipe: repartition lp_rasterizer state for threading
authorBrian Paul <brianp@vmware.com>
Tue, 8 Dec 2009 00:02:17 +0000 (17:02 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 8 Dec 2009 01:04:54 +0000 (18:04 -0700)
commit3a06c113c76355fc9622adfe7565c18d9787e9a8
tree7020ba41b1fda67c9f4adb157fba7ec2f8cca1d9
parentcdaea049c95031338040b31ff31944c8a001a1dd
llvmpipe: repartition lp_rasterizer state for threading

Some of the state is per-thread.  Put that state in new lp_rasterizer_task
struct.
src/gallium/drivers/llvmpipe/lp_bin.h
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast.h
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_rast_tri.c