summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.h
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2009-10-25 13:53:25 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-11-07 11:53:13 -0800
commit3445f476977ae403cef9ca15661fa0f96ff50eca (patch)
treea57c0972c23b3471920300f42f33a2998551a799 /src/gallium/drivers/r300/r300_emit.h
parentd8592d1724d8c8fd0b36eb21f4007b52f809e062 (diff)
r300g: VBOs WIP
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.h')
-rw-r--r--src/gallium/drivers/r300/r300_emit.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.h b/src/gallium/drivers/r300/r300_emit.h
index 6befca72ce..b4fdfecde0 100644
--- a/src/gallium/drivers/r300/r300_emit.h
+++ b/src/gallium/drivers/r300/r300_emit.h
@@ -29,6 +29,8 @@
struct rX00_fragment_program_code;
struct r300_vertex_program_code;
+void r300_emit_aos(struct r300_context* r300, unsigned offset);
+
void r300_emit_blend_state(struct r300_context* r300,
struct r300_blend_state* blend);
@@ -38,6 +40,16 @@ void r300_emit_blend_color_state(struct r300_context* r300,
void r300_emit_clip_state(struct r300_context* r300,
struct pipe_clip_state* clip);
+void r300_emit_draw_arrays(struct r300_context *r300, unsigned count);
+
+void r300_emit_draw_elements(struct r300_context *r300,
+ struct pipe_buffer* indexBuffer,
+ unsigned indexSize,
+ unsigned minIndex,
+ unsigned maxIndex,
+ unsigned start,
+ unsigned count);
+
void r300_emit_dsa_state(struct r300_context* r300,
struct r300_dsa_state* dsa);