aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-11-29 15:15:20 +0000
committerKeith Whitwell <[email protected]>2001-11-29 15:15:20 +0000
commit4e6c835210bd0e8e8467a1c75723af6af4b41fb4 (patch)
tree2455fa481a555e4e6cd86f87ee31b44bec5c4f12 /src/mesa
parentd8af040f5eb2dd2e40339b83a02f4a42b64619ad (diff)
use smaller buffer when decomposing large drawarrays, for cache goodness
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_array_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c
index e14fd1a6d18..3cbadb1af11 100644
--- 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.20 2001/11/22 09:23:36 keithw Exp $ */
+/* $Id: t_array_api.c,v 1.21 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;