History log of /external/mesa3d/src/gallium/state_trackers/nine/threadpool.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3fa7e3068512dde55c3f4d7c2b599ab1d7fe67f 22-Feb-2016 Patrick Rudolph <siro@das-labor.org> st/nine: Use WINE thread for threadpool

Use present interface 1.2 function ID3DPresent_CreateThread
to create the thread for threadpool.
Creating the thread with WINE prevents some rarely occuring crashes.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/threadpool.c
7f565845a1f3ec871cccee88e2acf6be2e429797 17-Nov-2014 Axel Davy <axel.davy@ens.fr> nine: Implement threadpool

DRI_PRIME setups have different issues due the lack of dma-buf fences
support in the drivers. For DRI3 DRI_PRIME, a race can appear, making
tearings visible, or worse showing older content than expected. Until
dma-buf fences are well supported (and by all drivers), an alternative
is to send the buffers to the server only when rendering has finished.
Since waiting the rendering has finished in the main thread has a
performance impact, this patch uses an additional thread to offload the
wait and the sending of the buffers to the server.

Acked-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/threadpool.c