projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vbo: bind arrays only when necessary
[mesa.git]
/
src
/
mesa
/
main
/
vtxfmt.h
diff --git
a/src/mesa/main/vtxfmt.h
b/src/mesa/main/vtxfmt.h
index fb6c23abe987d059377f59bb962f77b454f300f6..8bbc54964daa789a68fba2522a5d312e9f7fd5d3 100644
(file)
--- a/
src/mesa/main/vtxfmt.h
+++ b/
src/mesa/main/vtxfmt.h
@@
-33,34
+33,24
@@
#ifndef _VTXFMT_H_
#define _VTXFMT_H_
#ifndef _VTXFMT_H_
#define _VTXFMT_H_
-#i
f FEATURE_beginend
-
-extern void _mesa_init_exec_vtxfmt( GLcontext *ctx );
+#i
nclude "compiler.h"
+#include "mfeatures.h"
+#include "mtypes.h"
-extern void _mesa_install_exec_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt );
-extern void _mesa_install_save_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt );
+#if FEATURE_beginend
-extern void _mesa_restore_exec_vtxfmt( GLcontext *ctx );
+extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
+extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
#else /* FEATURE_beginend */
static INLINE void
#else /* FEATURE_beginend */
static INLINE void
-_mesa_init_exec_vtxfmt( GLcontext *ctx )
-{
-}
-
-static INLINE void
-_mesa_install_exec_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt )
-{
-}
-
-static INLINE void
-_mesa_install_save_vtxfmt( GLcontext *ctx, const GLvertexformat *vfmt )
+_mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt )
{
}
static INLINE void
{
}
static INLINE void
-_mesa_
restore_exec_vtxfmt( GLcontext *ctx
)
+_mesa_
install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt
)
{
}
{
}