gallium/u_threaded: avoid syncs for get_query_result
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:51 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:00:49 +0000 (14:00 +0100)
commit244536d3d6b40c1763d1e2b3e7676665afa69101
treef4723c31f14edd44db07c81851f32da4afa27cf9
parent609a230375cae7710b2a9f40a42341b4cd853a3e
gallium/u_threaded: avoid syncs for get_query_result

Queries should still get marked as flushed when flushes are executed
asynchronously in the driver thread.

To this end, the management of the unflushed_queries list is moved into
the driver thread.

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