summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_state.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-11-13 12:47:58 +0100
committerAxel Davy <[email protected]>2016-12-20 23:47:08 +0100
commit884166a251ec45f2bfac0139f18b162d31db241e (patch)
tree662e0085d8e6af057d1a4999be469d0f3795f986 /src/gallium/state_trackers/nine/nine_state.h
parent7b154ac04d9cacf98631a826c25e7e3756f5cda9 (diff)
st/nine: Use nine_context_clear_render_target
Enables to not wait for the worker thread for ColorFill. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_state.h')
-rw-r--r--src/gallium/state_trackers/nine/nine_state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.h b/src/gallium/state_trackers/nine/nine_state.h
index 912395de81f..421f8f97404 100644
--- a/src/gallium/state_trackers/nine/nine_state.h
+++ b/src/gallium/state_trackers/nine/nine_state.h
@@ -530,6 +530,15 @@ void
nine_context_blit(struct NineDevice9 *device,
struct pipe_blit_info *blit);
+void
+nine_context_clear_render_target(struct NineDevice9 *device,
+ struct NineSurface9 *surface,
+ D3DCOLOR color,
+ UINT x,
+ UINT y,
+ UINT width,
+ UINT height);
+
struct pipe_query *
nine_context_create_query(struct NineDevice9 *device, unsigned query_type);