loader/dri3: Don't wait for fence of old buffer when re-allocating it
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 4 Sep 2018 16:18:57 +0000 (18:18 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 12 Sep 2018 14:55:09 +0000 (16:55 +0200)
commite34dd4f5084c73c0a2fcadf783e8f7d8199bb5ca
treeddfd810f32e0fc8fee2959c8917ea7b610c7480c
parentaefac10fecc9ec70feb5923ce3200902f67182ba
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>
src/loader/loader_dri3_helper.c