mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 03:00:37 +02:00
glthread: handle glFlush with HasExternallySharedImages more efficiently
Doing finish without flush is more efficient because it executes the unflushed batch immediately. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33634>
This commit is contained in:
parent
2937d8a961
commit
9a2974019b
1 changed files with 1 additions and 1 deletions
|
|
@ -2400,7 +2400,7 @@
|
|||
</function>
|
||||
|
||||
<function name="Flush" es1="1.0" es2="2.0"
|
||||
marshal_call_after="_mesa_glthread_flush_batch(ctx); if (ctx->Shared->HasExternallySharedImages) _mesa_glthread_finish(ctx);">
|
||||
marshal_call_after="if (ctx->Shared->HasExternallySharedImages) _mesa_glthread_finish(ctx); else _mesa_glthread_flush_batch(ctx);">
|
||||
<glx sop="142" handcode="true"/>
|
||||
</function>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue