diff options
author | Marek Olšák <marek.olsak@amd.com> | 2020-05-28 16:21:39 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-05-30 01:42:56 +0000 |
commit | 4925fb97f65f20fd52c94a080a68108c25a4095f (patch) | |
tree | 0000f93fb29fd9f9c94203676da242c30793f21a /src/mapi/glapi/gen/gl_API.xml | |
parent | cf9926714783efa4524ca2afd62a9817dcbccf06 (diff) |
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>
Diffstat (limited to 'src/mapi/glapi/gen/gl_API.xml')
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 2c97c6dcedf..b3511665280 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -1109,13 +1109,15 @@ <type name="DEBUGPROCARB" size="4" pointer="true"/> <type name="DEBUGPROC" size="4" pointer="true"/> - <function name="NewList" deprecated="3.1"> + <function name="NewList" deprecated="3.1" + marshal_call_after="if (COMPAT) ctx->GLThread.inside_dlist = true;"> <param name="list" type="GLuint"/> <param name="mode" type="GLenum"/> <glx sop="101"/> </function> - <function name="EndList" deprecated="3.1"> + <function name="EndList" deprecated="3.1" + marshal_call_after="if (COMPAT) ctx->GLThread.inside_dlist = false;"> <glx sop="102"/> </function> |