vbo: skip FlushMappedBufferRange for glBegin/End by using a persistent mapping
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jan 2020 21:18:16 +0000 (16:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 11 Feb 2020 00:34:57 +0000 (00:34 +0000)
commit03ded3d6ce37d3be12776bcc5dcd3c4d91f33248
tree117b0d0be1d1f8253b5c6f3dd1148d01ceb2b3e0
parent10cf7a5113446c85dd39bbb12544dd4ac30a0200
vbo: skip FlushMappedBufferRange for glBegin/End by using a persistent mapping

This is a preparation for the next commit and just isolates the removal
of GL_MAP_FLUSH_EXPLICIT_BIT and other map flags that don't make sense with
UNSYNCHRONIZED.

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_draw.c