gallium: add pipe_context::callback
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:53 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:00:50 +0000 (14:00 +0100)
commit14b9fa75e4c35ccccb767004ba19212901aae404
tree60c723e367b546b0859699b1ccd9a1b91895c4a7
parent2bdfbb0e5380f63f044151a12e149745fa672a77
gallium: add pipe_context::callback

For running post-draw operations inside the driver thread. ddebug will
use it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_threaded_context.c
src/gallium/auxiliary/util/u_threaded_context_calls.h
src/gallium/include/pipe/p_context.h