projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8af040
)
use smaller buffer when decomposing large drawarrays, for cache goodness
author
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 29 Nov 2001 15:15:20 +0000
(15:15 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 29 Nov 2001 15:15:20 +0000
(15:15 +0000)
src/mesa/tnl/t_array_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_array_api.c
b/src/mesa/tnl/t_array_api.c
index e14fd1a6d1802406bf75cc47ce0a730d653847b8..3cbadb1af11b24e92f656fa95d37840664143290 100644
(file)
--- a/
src/mesa/tnl/t_array_api.c
+++ b/
src/mesa/tnl/t_array_api.c
@@
-1,4
+1,4
@@
-/* $Id: t_array_api.c,v 1.2
0 2001/11/22 09:23:36
keithw Exp $ */
+/* $Id: t_array_api.c,v 1.2
1 2001/11/29 15:15:20
keithw Exp $ */
/*
* Mesa 3-D graphics library
@@
-158,7
+158,7
@@
_tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
}
}
else {
- int bufsz =
(ctx->Const.MaxArrayLockSize - 4) & ~3;
+ int bufsz =
256; /* Use a small buffer for cache goodness */
int j, nr;
int minimum, modulo, skip;