loader: drop the [gs]et_swap_interval callbacks

Graphics / Mesa 3D Graphics Library / Mesa - Emil Velikov [collabora.com] - 4 August 2017 18:57 EDT

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

9777c42 loader: drop the [gs]et_swap_interval callbacks
src/egl/drivers/dri2/platform_x11_dri3.c | 19 +------------------
src/glx/dri3_glx.c | 19 +------------------
src/loader/loader_dri3_helper.c | 10 ++++------
src/loader/loader_dri3_helper.h | 3 +--
4 files changed, 7 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share