wlroots-hyprland/render
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
..
allocator render/allocator/drm_dumb: drop finish_buffer() 2022-10-01 19:45:29 +00:00
gles2 render/gles2: assert that GL_OES_EGL_image_external is supported 2022-10-10 07:54:35 +00:00
pixman render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
vulkan render/vulkan: Fix type-punned pointer warning/error 2022-10-09 12:07:57 -04:00
dmabuf.c dmabuf: Don't leak file descriptors on error path 2022-06-06 00:50:41 -04:00
drm_format_set.c render/drm-format-set: add wlr_drm_format_set_intersect 2021-12-03 14:42:41 +00:00
egl.c render/egl: add support for EGL_KHR_display_reference 2022-09-19 10:04:47 +00:00
meson.build render: use internal_features to indicate EGL support 2022-06-24 07:20:42 +02:00
pixel_format.c pixel_format: RGBA4444 and RGBA5551 have alpha components 2022-09-06 18:48:41 -04:00
swapchain.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
wlr_renderer.c render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
wlr_texture.c render: replace wlr_texture_write_pixels with update_from_buffer 2022-08-12 08:41:32 +00:00