vbo: keep the immediate mode buffer always mapped for simplicity
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jan 2020 23:07:02 +0000 (18:07 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commitf8b98d48bffacc0a1b5393307c8405f4eda8e27c
treeb5420964f3e5e6545f756516452e423a96b60faa
parent8c76ef5b590d5795ec2dafb9304747ed74fd37a2
vbo: keep the immediate mode buffer always mapped for simplicity

It only unmaps when it draws with a non-persistent buffer.

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