loader_dri3: Support GLX_SWAP_EXCHANGE_OML
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 10 Aug 2017 15:34:05 +0000 (17:34 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 17 Aug 2017 05:39:42 +0000 (07:39 +0200)
commit7c3e3c0faf7dfff61762fb7bc3299f5d7528b91e
treefbdb9e9dd415caef9ac8f6b77c76e81b7618f4c9
parentc898e02a337b6b1092a098c645cc2367ee514bcc
loader_dri3: Support GLX_SWAP_EXCHANGE_OML

Add support for the exchange swap method. Since we're now forcing a fake front
buffer and we exchange the back and fake front on swaps, we don't need to add
much code.

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