vbo,gallium: make glBegin/End buffer size configurable by drivers
authorMarek Olšák <marek.olsak@amd.com>
Wed, 11 Mar 2020 21:19:10 +0000 (17:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 21 Mar 2020 03:39:51 +0000 (03:39 +0000)
commit5cc3ab0ba0eed6e730eac869953c052f8b1e9ec2
tree40ce8433598dc70792d3c0ff223df56f0a8ec0a6
parent11d3aa5e7bc7dc60f18e43adf35d43082feb759e
vbo,gallium: make glBegin/End buffer size configurable by drivers

The default is 512 KB, but radeonsi wants 4 MB.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4154>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4154>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/drivers/radeonsi/si_get.c
src/gallium/include/pipe/p_defines.h
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_extensions.c
src/mesa/vbo/vbo_exec.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_private.h