projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
[mesa.git]
/
src
/
mesa
/
vbo
/
vbo.h
diff --git
a/src/mesa/vbo/vbo.h
b/src/mesa/vbo/vbo.h
index 5362226c2f935df1da316cb6f0834baf35c1f889..b24ecfd7cde4a238607ae9fd5c43ca0e39497c8c 100644
(file)
--- a/
src/mesa/vbo/vbo.h
+++ b/
src/mesa/vbo/vbo.h
@@
-44,6
+44,7
@@
struct _mesa_prim {
GLuint start;
GLuint count;
GLuint start;
GLuint count;
+ GLint basevertex;
};
/* Would like to call this a "vbo_index_buffer", but this would be
};
/* Would like to call this a "vbo_index_buffer", but this would be
@@
-69,6
+70,7
@@
typedef void (*vbo_draw_func)( GLcontext *ctx,
const struct _mesa_prim *prims,
GLuint nr_prims,
const struct _mesa_index_buffer *ib,
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 min_index,
GLuint max_index );
@@
-112,7
+114,10
@@
void vbo_rebase_prims( GLcontext *ctx,
GLuint min_index,
GLuint max_index,
vbo_draw_func draw );
GLuint min_index,
GLuint max_index,
vbo_draw_func draw );
-
+void
+vbo_get_minmax_index(GLcontext *ctx, const struct _mesa_prim *prim,
+ const struct _mesa_index_buffer *ib,
+ GLuint *min_index, GLuint *max_index);
void vbo_use_buffer_objects(GLcontext *ctx);
void vbo_use_buffer_objects(GLcontext *ctx);