vbo: increase the size of the immediate mode buffer to decrease draw count
authorMarek Olšák <marek.olsak@amd.com>
Fri, 31 Jan 2020 00:41:02 +0000 (19:41 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>

src/mesa/vbo/vbo_exec.h

index 96a290880aff28485299ba52bb225f052c5aa02e..92556906a15f55f1e2dfd7dc35a8b350b3261936 100644 (file)
@@ -49,7 +49,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 /**
  * Size (in bytes) of the VBO to use for glBegin/glVertex/glEnd-style rendering.
  */
-#define VBO_VERT_BUFFER_SIZE (1024 * 64)
+#define VBO_VERT_BUFFER_SIZE (1024 * 512)
 
 
 struct vbo_exec_eval1_map {