swr: [rasterizer core] update sync handling
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 25 Jul 2016 22:24:58 +0000 (16:24 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 4 Aug 2016 19:38:34 +0000 (14:38 -0500)
commit57b07498d239745c13d4b8db0e9bf32516a770c0
treed4465e43b61996b304fd1b5066c5e01868a284b9
parent191786d0f473de32d025e94ef1eb2bc45296255f
swr: [rasterizer core] update sync handling

Sync now uses a callback to ensure that it's called by the last
thread moving past a DC.  This will help with the new counter
handling.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/backend.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/frontend.cpp
src/gallium/drivers/swr/rasterizer/core/threads.cpp