llvmpipe: add compute threadpool + mutex
Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
In order to efficiently run a number of compute blocks, use
a threadpool that just allows for jobs with unique sequential
ids to be dispatched.
- src/gallium/drivers/llvmpipe/Makefile.sources 2 additions, 0 deletionssrc/gallium/drivers/llvmpipe/Makefile.sources
- src/gallium/drivers/llvmpipe/lp_cs_tpool.c 153 additions, 0 deletionssrc/gallium/drivers/llvmpipe/lp_cs_tpool.c
- src/gallium/drivers/llvmpipe/lp_cs_tpool.h 81 additions, 0 deletionssrc/gallium/drivers/llvmpipe/lp_cs_tpool.h
- src/gallium/drivers/llvmpipe/lp_screen.c 14 additions, 1 deletionsrc/gallium/drivers/llvmpipe/lp_screen.c
- src/gallium/drivers/llvmpipe/lp_screen.h 4 additions, 1 deletionsrc/gallium/drivers/llvmpipe/lp_screen.h
- src/gallium/drivers/llvmpipe/meson.build 2 additions, 0 deletionssrc/gallium/drivers/llvmpipe/meson.build