swr: [rasterizer core] add SwrWaitForIdleFE
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 3 Aug 2016 22:40:27 +0000 (16:40 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 10 Aug 2016 16:07:59 +0000 (11:07 -0500)
commite0c10306f58fa3e1a1cb6a23b8942701d8529cce
tree0c04a0ce5ea63333b565e69f803116a629ce1487
parent8dfaf249cc00178e126cc2469671fedb789698fa
swr: [rasterizer core] add SwrWaitForIdleFE

This is a blocking call that waits until all FE work is complete.
This is useful for waiting for FE work to complete such as for streamout.

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