st/nine: Implement gallium nine CSMT
authorPatrick Rudolph <siro@das-labor.org>
Wed, 26 Oct 2016 15:11:00 +0000 (17:11 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:23 +0000 (23:44 +0100)
commitac2927335bc7cd4994d2fc0906eb328773b1f923
tree3dc5241c7c4dc691ad80852c6aab42ef90f1aee1
parent2c371a25a8800883dda353853cca6b5a2ba71bb4
st/nine: Implement gallium nine CSMT

Use an offloading thread for all nine_context functions.
Macros are used to ease the reading of the code.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
16 files changed:
src/gallium/auxiliary/os/os_thread.h
src/gallium/state_trackers/nine/Makefile.sources
src/gallium/state_trackers/nine/adapter9.h
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/device9.h
src/gallium/state_trackers/nine/nine_csmt_helper.h [new file with mode: 0644]
src/gallium/state_trackers/nine/nine_queue.c
src/gallium/state_trackers/nine/nine_queue.h
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/nine/nine_state.h
src/gallium/state_trackers/nine/pixelshader9.c
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/nine/vertexshader9.c
src/gallium/targets/d3dadapter9/drm.c
src/mesa/drivers/dri/common/xmlpool/t_options.h