loader_dri3: Support GLX_SWAP_COPY_OML
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 10 Aug 2017 15:10:47 +0000 (17:10 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 17 Aug 2017 05:39:42 +0000 (07:39 +0200)
commit16d1a0bcdbfa376232e552a3382ee2a8751743a5
treed59be65c261182066c124092c12cb36dec8243b0
parent1e83baeb4b6b6d557ae8b9c219347b1b252b27c7
loader_dri3: Support GLX_SWAP_COPY_OML

Support the GLX_SWAP_COPY_OML method. When this method is requested, we use
the same swapbuffer code path as EGL_BUFFER_PRESERVED.

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