summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2016-08-17 10:45:37 -0500
committerTim Rowley <timothy.o.rowley@intel.com>2016-09-06 15:15:11 -0500
commitedd688d986da17b99ee8e4bc7c4e62fc2af5ed0e (patch)
treef2d34c8d1698d70b48e9fec8ceb9854ed5f260c2 /src/mesa/vbo
parent215075ae30aa60dd78dd7b3372f422e9e8e6a52b (diff)
downloadexternal_mesa3d-edd688d986da17b99ee8e4bc7c4e62fc2af5ed0e.zip
external_mesa3d-edd688d986da17b99ee8e4bc7c4e62fc2af5ed0e.tar.gz
external_mesa3d-edd688d986da17b99ee8e4bc7c4e62fc2af5ed0e.tar.bz2
vbo: increase VBO_SAVE_BUFFER_SIZE from 8k to 256k dwords
Increases the performance of legacy geometry-heavy apps still using display lists. Performance increase for a targeted testcase is on the order of 8x, and applications like ParaView 4.x (5.x uses no longer used display lists) improve by about 10%-20%. Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_save.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h
index 2843b3c..d1d7fb0 100644
--- a/src/mesa/vbo/vbo_save.h
+++ b/src/mesa/vbo/vbo_save.h
@@ -96,7 +96,7 @@ struct vbo_save_vertex_list {
* likelyhood as it occurs. No reason we couldn't change usage
* internally even though this probably isn't allowed for client VBOs?
*/
-#define VBO_SAVE_BUFFER_SIZE (8*1024) /* dwords */
+#define VBO_SAVE_BUFFER_SIZE (256*1024) /* dwords */
#define VBO_SAVE_PRIM_SIZE 128
#define VBO_SAVE_PRIM_MODE_MASK 0x3f
#define VBO_SAVE_PRIM_WEAK 0x40