[Mesa-dev] [PATCH] vbo: increase VBO_SAVE_BUFFER_SIZE from 8k to 256k dwords

Ian Romanick idr at freedesktop.org
Thu Aug 18 10:53:56 UTC 2016


On 08/17/2016 05:00 PM, Tim Rowley wrote:
> Increases the performance of legacy geometry-heavy apps
> still using display lists.

Do you have any data or at least names of some affected apps?  This is
valuable for the next person that has to change this code... imagine
someone who needs to change this value to reduce memory usage.

> ---
>  src/mesa/vbo/vbo_save.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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
> 



More information about the mesa-dev mailing list