/**
* Size (in bytes) of the VBO to use for glBegin/glVertex/glEnd-style rendering.
*/
-#define VBO_VERT_BUFFER_SIZE (1024 * 64)
+#define VBO_VERT_BUFFER_SIZE (1024 * 512)
struct vbo_exec_eval1_map {
struct gl_buffer_object *bufferobj;
GLuint vertex_size; /* in dwords */
+ GLuint vertex_size_no_pos;
struct _mesa_prim prim[VBO_MAX_PRIM];
GLuint prim_count;
void
-vbo_exec_init(struct gl_context *ctx);
+vbo_exec_init(struct gl_context *ctx, bool use_buffer_objects);
void
vbo_exec_destroy(struct gl_context *ctx);
void
-vbo_exec_vtx_init(struct vbo_exec_context *exec);
+vbo_exec_vtx_init(struct vbo_exec_context *exec, bool use_buffer_objects);
void
vbo_exec_vtx_destroy(struct vbo_exec_context *exec);
void
-vbo_exec_vtx_flush(struct vbo_exec_context *exec, GLboolean unmap);
+vbo_exec_vtx_flush(struct vbo_exec_context *exec);
void
vbo_exec_vtx_map(struct vbo_exec_context *exec);