loader/dri3: Use client local back to front blit in copySubBuffer if available
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 4 Sep 2017 12:05:25 +0000 (14:05 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Sep 2017 10:22:17 +0000 (12:22 +0200)
commit86df05eb2630641dcd80c3c0c0cc4b9f378132ef
tree2b7cc3fcb167d0a1605159b5b17d713d1d3309de
parentc3ebac68900de5ad461a7b5a279621a435f5bcec
loader/dri3: Use client local back to front blit in copySubBuffer if available

The copySubBuffer functionality always attempted a server side blit from
back to fake front if a fake front was present, and we weren't displaying
on a remote GPU.

Now that we always have local blit capability on modern drivers, first
attempt a local blit, and only if that fails, try the server blit.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Axel Davy <axel.davy@normalesup.org>
src/loader/loader_dri3_helper.c