6d0aa8f0e9
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> |
||
---|---|---|
.. | ||
egl-glue.c | ||
fragment.glsl | ||
gl-renderer-internal.h | ||
gl-renderer.c | ||
gl-renderer.h | ||
gl-shaders.c | ||
meson.build | ||
vertex.glsl |