swr/rast: Thread locked tiles improvement
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 2 May 2018 00:33:38 +0000 (19:33 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 11 May 2018 16:26:35 +0000 (11:26 -0500)
commit4e52cb51b56eaae7153394ed712f49ce0ba63bcc
tree1c28698af74a76fb9d5d9d097d01dbae0653de88
parent8238c791dcd244c5d242b0e61cbc744ed64e5e23
swr/rast: Thread locked tiles improvement

- Change tilemgr TILE_ID encoding to use Morton-order (Z-order).
- Change locked tiles set to bitset.  Makes clear, set, get much faster.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/threads.cpp
src/gallium/drivers/swr/rasterizer/core/threads.h
src/gallium/drivers/swr/rasterizer/core/tilemgr.cpp
src/gallium/drivers/swr/rasterizer/core/tilemgr.h
src/gallium/drivers/swr/rasterizer/core/tileset.h [new file with mode: 0644]