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 |
||
|---|---|---|
| .. | ||
| gles2 | ||
| allocator.c | ||
| dmabuf.c | ||
| drm_format_set.c | ||
| egl.c | ||
| gbm_allocator.c | ||
| meson.build | ||
| swapchain.c | ||
| wlr_renderer.c | ||
| wlr_texture.c | ||