wlroots/backend/x11
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
Instead of requiring callers to manually make the EGL context current
before binding a buffer and unsetting it after unbinding a buffer, do
it inside wlr_renderer_bind_buffer.

This hides renderer-specific implementation details inside the
wlr_renderer interface. Non-GLES2 renderers may not use EGL.
This removes all EGL dependencies from the backends.

References: https://github.com/swaywm/wlroots/issues/2618
References: https://github.com/swaywm/wlroots/pull/2615#issuecomment-756687006
2021-01-16 09:06:17 +01:00
..
backend.c render: drop egl parameters from wlr_renderer_autocreate 2021-01-16 08:57:42 +01:00
input_device.c Replace wlr_key_state with wl_keyboard_key_state 2020-11-11 10:58:38 +01:00
meson.build backend/x11: switch to wlr_swapchain 2020-12-13 12:16:52 +01:00
output.c render/gles2: make EGL context current in bind_buffer 2021-01-16 09:06:17 +01:00