glx: Implement GLX_EXT_swap_control for DRI2 and DRI3
authorAdam Jackson <ajax@redhat.com>
Wed, 9 Sep 2020 18:00:35 +0000 (14:00 -0400)
committerAdam Jackson <ajax@redhat.com>
Thu, 10 Sep 2020 18:48:19 +0000 (14:48 -0400)
commit60ebeb4608a871ba89ba081c1c6e7ebdd5efec9a
tree6565107ff69bbc53d1098bd489a2742c3cbac55e
parentb8239abdf86f251d75567381d0d59976f9d91efd
glx: Implement GLX_EXT_swap_control for DRI2 and DRI3

This is a slight generalization of the existing SGI and MESA swap
control extensions, and a prerequisite for GLX_EXT_swap_control_tear.

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6671>
docs/relnotes/new_features.txt
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/glx_pbuffer.c
src/glx/glxcmds.c
src/glx/glxextensions.c
src/glx/glxextensions.h