summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-22 20:50:20 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-22 20:50:20 +0100
commit0588858702d1a5c9c08573ea6817e2e149473cf6 (patch)
treecbbe6eae8b4a3fbadc65bf35c28ab9eda252e98a /src/gallium/auxiliary/draw/draw_context.h
parent1f0f029ba6f22ef4ada01fcdc153da91571a7963 (diff)
draw: allow drivers to query pipeline state more easily
Also, provide a separate flag to say whether the driver can handle clipping/rhw tasks, in addition to the API flag which indicates they have already been done.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h
index 2742001698..c5c3d3b09e 100644
--- a/src/gallium/auxiliary/draw/draw_context.h
+++ b/src/gallium/auxiliary/draw/draw_context.h
@@ -148,4 +148,16 @@ struct vbuf_render;
void draw_set_render( struct draw_context *draw,
struct vbuf_render *render );
+void draw_set_driver_clipping( struct draw_context *draw,
+ boolean bypass_clipping );
+
+/*******************************************************************************
+ * Draw pipeline
+ */
+boolean draw_need_pipeline(const struct draw_context *draw,
+ const struct pipe_rasterizer_state *rasterizer,
+ unsigned prim );
+
+
+
#endif /* DRAW_CONTEXT_H */