i965/vec4: Make with_writemask() non-static.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_draw.h
index 2a3e0c1c5bf77b132b977e704903828cf989a1ec..aac375f8a87c492833d1d7f0a0f0f005c6933c8b 100644 (file)
 #ifndef BRW_DRAW_H
 #define BRW_DRAW_H
 
-#include "mtypes.h"            /* for GLcontext... */
+#include "main/mtypes.h"               /* for struct gl_context... */
 #include "vbo/vbo.h"
 
-#include "dri_bufmgr.h"
 struct brw_context;
 
 
-void brw_draw_prims( GLcontext *ctx,
-                    const struct gl_client_array *arrays[],
+void brw_draw_prims( struct gl_context *ctx,
                     const struct _mesa_prim *prims,
                     GLuint nr_prims,
                     const struct _mesa_index_buffer *ib,
+                    GLboolean index_bounds_valid,
                     GLuint min_index,
-                    GLuint max_index );
+                    GLuint max_index,
+                    struct gl_transform_feedback_object *tfb_vertcount );
 
 void brw_draw_init( struct brw_context *brw );
 void brw_draw_destroy( struct brw_context *brw );
 
-/* brw_draw_current.c
- */
-void brw_init_current_values(GLcontext *ctx,
-                            struct gl_client_array *arrays);
+/* brw_primitive_restart.c */
+GLboolean
+brw_handle_primitive_restart(struct gl_context *ctx,
+                             const struct _mesa_prim *prims,
+                             GLuint nr_prims,
+                             const struct _mesa_index_buffer *ib);
 
 #endif