gallium/u_threaded: don't sync the thread for all unsychronized mappings
authorMarek Olšák <marek.olsak@amd.com>
Wed, 11 Mar 2020 21:27:29 +0000 (17:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 17 Mar 2020 19:13:57 +0000 (19:13 +0000)
commit99a29a20d2e7b931c5ee6478665f0784eca2c0d8
tree5f8726ac5ec105fd5364200479d72e3109e0ef2b
parent5960dadd1f2494da6ea8fa04a46271beb66dea49
gallium/u_threaded: don't sync the thread for all unsychronized mappings

This was missing for the READ case. This improves glBegin/End performance.
(vbo maps with WRITE | READ | UNSYCHRONIZED)

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4153>
src/gallium/auxiliary/util/u_threaded_context.c