weston/libweston/renderer-gl
Pekka Paalanen 6d0aa8f0e9 gl-renderer: do not unbind the context on output destroy
If we make EGL_NO_CONTEXT current, all following GL calls are
no-ops. This will be a problem when gl-renderer introduces
gl_renderer_color_transform containing GL textures and needs to destroy
them when weston_color_transform is destroyed. Mesa would print the the
warning that glDeleteTextures is no-op.

To fix this, keep our GL context current when destroying a GL output.

In case EGL_KHR_surfaceless_context is not available, we must use
dummy_surface.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-06-14 16:04:43 +03:00
..
egl-glue.c gl-renderer: Move EGL display creation to egl-glue.c 2020-02-18 18:11:26 +13:00
fragment.glsl gl-renderer: doc YCbCr-RGB conversion 2021-02-25 14:36:46 +02:00
gl-renderer-internal.h gl-renderer: do not expose query_dmabuf_formats and query_dmabuf_modifiers 2021-04-27 19:56:38 +00:00
gl-renderer.c gl-renderer: do not unbind the context on output destroy 2021-06-14 16:04:43 +03:00
gl-renderer.h gl-renderer: Replace pbuffer-create args with struct 2020-03-20 15:25:24 +00:00
gl-shaders.c gl-renderer: add note about fallback shader color 2021-04-07 11:45:10 +00:00
meson.build gl-renderer: rewrite fragment shaders 2021-02-25 13:16:02 +02:00
vertex.glsl gl-renderer: move vertex shader into new file 2021-02-25 13:16:02 +02:00