loader: drop the [gs]et_swap_interval callbacks
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 1 Aug 2017 23:59:26 +0000 (00:59 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Aug 2017 22:57:22 +0000 (23:57 +0100)
commit9777c4234b0e78bf79455ff7081068fe3c71a2de
tree15fd1d4467ed049ac3e967b5bd1ab4b7eba9bd95
parentc961b679fe16fc98c3d04d611abc287f1bcc07b5
loader: drop the [gs]et_swap_interval callbacks

Having two callbacks to manage a single int seems like an overkill.
Use a cached copy and update that when needed.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
---
Might want to look if the dimensions dance in .query_surface ...
speaking of which close to nobody implements that ...
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/dri3_glx.c
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h