OSDN Git Service

swr: Implement fence attached work queues for deferred deletion.
authorBruce Cherniak <bruce.cherniak@intel.com>
Tue, 13 Dec 2016 01:24:59 +0000 (19:24 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 16 Dec 2016 17:29:02 +0000 (11:29 -0600)
commit79b66ec05e2745e5d19838dcfd83f905afa82b6c
tree5893ed8d0e3dc45248e2a4b14be64f91ec33b753
parent3421b3f5a35f5cf29934f74c30850c4d04ba0237
swr: Implement fence attached work queues for deferred deletion.

Work can now be added to fences and triggered by fence completion. This
allows for deferred resource deletion, and other asynchronous tasks.

Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/Makefile.sources
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_fence.cpp
src/gallium/drivers/swr/swr_fence.h
src/gallium/drivers/swr/swr_fence_work.cpp [new file with mode: 0644]
src/gallium/drivers/swr/swr_fence_work.h [new file with mode: 0644]
src/gallium/drivers/swr/swr_scratch.cpp
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_state.cpp