diff options
author | Patrick Rudolph <[email protected]> | 2016-10-26 17:11:00 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:23 +0100 |
commit | ac2927335bc7cd4994d2fc0906eb328773b1f923 (patch) | |
tree | 3dc5241c7c4dc691ad80852c6aab42ef90f1aee1 /src/gallium/state_trackers/nine/device9.h | |
parent | 2c371a25a8800883dda353853cca6b5a2ba71bb4 (diff) |
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 <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h index 21e045c69dc..4539cda18a6 100644 --- a/src/gallium/state_trackers/nine/device9.h +++ b/src/gallium/state_trackers/nine/device9.h @@ -38,6 +38,7 @@ struct pipe_context; struct cso_context; struct hud_context; struct u_upload_mgr; +struct csmt_context; struct NineSwapChain9; struct NineStateBlock9; @@ -56,6 +57,10 @@ struct NineDevice9 struct pipe_context *pipe_sw; struct cso_context *cso_sw; + /* CSMT context */ + struct csmt_context *csmt_ctx; + BOOL csmt_active; + /* creation parameters */ D3DCAPS9 caps; D3DDEVICE_CREATION_PARAMETERS params; |