wlroots-hyprland/render/gles2
Simon Ser 9549749507 render/gles2: assert that GL_OES_EGL_image_external is supported
The target is set to GL_TEXTURE_EXTERNAL_OES when
EGL_EXT_image_dma_buf_import_modifiers [1] returns an external_only
flag. That spec states:

> In order to support imports for the GL_TEXTURE_EXTERNAL_OES target, a
> compatible OpenGL ES implementation supporting GL_OES_EGL_image_external
> must be present.

Fail hearder when a driver doesn't follow the spec instead of
skipping rendering.

See [2].

[1]: https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt
[2]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3631#note_1584343
2022-10-10 07:54:35 +00:00
..
meson.build render: use internal_features to indicate EGL support 2022-06-24 07:20:42 +02:00
pixel_format.c render/gles: add support for some 16-bpc unsigned shm formats 2022-05-07 16:25:38 +00:00
renderer.c render/gles2: assert that GL_OES_EGL_image_external is supported 2022-10-10 07:54:35 +00:00
shaders.c Remove support for DMA-BUF flags 2021-11-17 16:12:59 +00:00
texture.c Use wl_signal_emit_mutable 2022-08-18 07:16:16 -04:00