glthread: don't upload for glDraw inside a display list and always sync
authorMarek Olšák <marek.olsak@amd.com>
Thu, 28 May 2020 20:21:39 +0000 (16:21 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 30 May 2020 01:42:56 +0000 (01:42 +0000)
commit4925fb97f65f20fd52c94a080a68108c25a4095f
tree0000f93fb29fd9f9c94203676da242c30793f21a
parentcf9926714783efa4524ca2afd62a9817dcbccf06
glthread: don't upload for glDraw inside a display list and always sync

Let the vbo module handle it, not glthread.

This handles functions set in vbo_initialize_save_dispatch.

Fixes: 2840bc3065b ("glthread: upload non-VBO vertices and indices for non-Indirect non-IBM draws")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3001
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5246>
src/mapi/glapi/gen/gl_API.xml
src/mesa/main/glthread.h
src/mesa/main/glthread_draw.c