From: Marek Olšák Date: Mon, 8 Jun 2020 12:46:10 +0000 (-0400) Subject: glthread: sync in glFlush for multiple contexts X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=d76e8131ac4c115b7a750c9f127f9fa920a9d094 glthread: sync in glFlush for multiple contexts See the code comment. Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index b3511665280..0e164b495d9 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -2390,8 +2390,14 @@ + + marshal_call_after="_mesa_glthread_flush_batch(ctx); if (ctx->Shared->RefCount > 1) _mesa_glthread_finish(ctx);">