projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb24a5a
)
vbo: removed unused #defines, add comments
author
Brian Paul
<brianp@vmware.com>
Tue, 22 Feb 2011 21:23:50 +0000
(14:23 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 22 Feb 2011 21:23:50 +0000
(14:23 -0700)
src/mesa/vbo/vbo_exec.h
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec.h
b/src/mesa/vbo/vbo_exec.h
index ca100e428d2c9bc4e7a58dedecdcafc703ed1598..1b0ed79473b362b44e6b91a6cb31e95939c16d61 100644
(file)
--- a/
src/mesa/vbo/vbo_exec.h
+++ b/
src/mesa/vbo/vbo_exec.h
@@
-40,13
+40,16
@@
USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "vbo_attrib.h"
+/**
+ * Max number of primitives (number of glBegin/End pairs) per VBO.
+ */
#define VBO_MAX_PRIM 64
-/* Wierd implementation stuff:
+
+/**
+ * Size of the VBO to use for glBegin/glVertex/glEnd-style rendering.
*/
#define VBO_VERT_BUFFER_SIZE (1024*64) /* bytes */
-#define VBO_MAX_ATTR_CODEGEN 16
-#define ERROR_ATTRIB 16
/** Current vertex program mode */