wlroots/backend/drm
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
..
atomic.c backend/drm: stop using surface size for BO 2021-01-10 11:24:44 +01:00
backend.c backend/drm: implement get_drm_fd 2021-01-16 08:57:42 +01:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend: remove unnecessary GLES2 includes 2021-01-14 12:36:49 +01:00
legacy.c backend/drm: stop using surface size for BO 2021-01-10 11:24:44 +01:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: "scaling mode" is a connector property 2020-11-30 11:57:08 +01:00
renderer.c render/gles2: make EGL context current in bind_buffer 2021-01-16 09:06:17 +01:00
util.c drm: add fallback drmModeAddFB for drivers which do not support drmModeAddFB2 2020-12-28 14:15:04 +01:00