mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
loader/dri3: Don't wait for fence of old buffer when re-allocating it
We only need to wait for the fence before drawing to a buffer, not before reading from it. This might avoid hangs when re-allocating the fake front buffer, similar to the previous change. But I haven't seen any evidence that this was actually happening in practice. Tested-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
aefac10fec
commit
e34dd4f508
1 changed files with 0 additions and 1 deletions
|
|
@ -1777,7 +1777,6 @@ dri3_get_buffer(__DRIdrawable *driDrawable,
|
|||
&& buffer) {
|
||||
|
||||
/* Fill the new buffer with data from an old buffer */
|
||||
dri3_fence_await(draw->conn, draw, buffer);
|
||||
if (!loader_dri3_blit_image(draw,
|
||||
new_buffer->image,
|
||||
buffer->image,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue