st/nine: Use WINE thread for threadpool
authorPatrick Rudolph <siro@das-labor.org>
Mon, 22 Feb 2016 18:49:19 +0000 (19:49 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
commitf3fa7e3068512dde55c3f4d7c2b599ab1d7fe67f
tree5e7e193c71d70bd2f86b38cc7e82cbbaddff7c78
parent72be473ad17893ecc4697644e88defa38b35f126
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>
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/nine/swapchain9.h
src/gallium/state_trackers/nine/threadpool.c
src/gallium/state_trackers/nine/threadpool.h