mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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>
This commit is contained in:
parent
215075ae30
commit
edd688d986
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ struct vbo_save_vertex_list {
|
||||||
* likelyhood as it occurs. No reason we couldn't change usage
|
* likelyhood as it occurs. No reason we couldn't change usage
|
||||||
* internally even though this probably isn't allowed for client VBOs?
|
* 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_SIZE 128
|
||||||
#define VBO_SAVE_PRIM_MODE_MASK 0x3f
|
#define VBO_SAVE_PRIM_MODE_MASK 0x3f
|
||||||
#define VBO_SAVE_PRIM_WEAK 0x40
|
#define VBO_SAVE_PRIM_WEAK 0x40
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue