vbo: don't unmap persistent buffer mappings for glBegin/End
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jan 2020 21:20:59 +0000 (16:20 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commit3e0d612f5e22fee19aff0e40814db24d63f63103
treee24f5bd9188853e8058eb5811e9d22154496ed5d
parent03ded3d6ce37d3be12776bcc5dcd3c4d91f33248
vbo: don't unmap persistent buffer mappings for glBegin/End

This significantly improves performance by lowering CPU overhead.

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
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c