kopper: don't sync glthread from swapbuffers
dri_flush already does this Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36887>
This commit is contained in:
committed by
Marge Bot
parent
7939e43cc8
commit
b799622a41
@@ -533,11 +533,6 @@ kopperSwapBuffersWithDamage(struct dri_drawable *drawable, uint32_t flush_flags,
|
||||
if (flush_flags & __DRI2_FLUSH_INVALIDATE_ANCILLARY)
|
||||
_mesa_glthread_invalidate_zsbuf(ctx->st->ctx);
|
||||
|
||||
/* Wait for glthread to finish because we can't use pipe_context from
|
||||
* multiple threads.
|
||||
*/
|
||||
_mesa_glthread_finish(ctx->st->ctx);
|
||||
|
||||
drawable->texture_stamp = drawable->lastStamp - 1;
|
||||
|
||||
dri_flush(ctx, drawable,
|
||||
|
||||
Reference in New Issue
Block a user