wlroots-hyprland/render/gles2
Simon Ser a3ba82885c render: choose DMA-BUF texture target via eglQueryDmaBufModifiersEXT
EGL_EXT_image_dma_buf_import_modifiers tells us whether we should use
GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES. Using the right texture target
can fix some failures and/or improve performance on some drivers.

This does the same as a Weston commit [1].

[1]: https://gitlab.freedesktop.org/wayland/weston/commit/40c519a3e613

Closes: https://github.com/swaywm/wlroots/issues/2173
2020-06-06 08:59:38 +02:00
..
pixel_format.c render/gles2: remove duplicated format list 2020-03-09 15:26:28 +01:00
renderer.c render: stop making EGL context current in wlr_egl_init 2020-06-02 14:23:24 -06:00
shaders.c gles2: pre-multiply alpha and fix blending function 2018-05-18 20:34:36 +03:00
texture.c render: choose DMA-BUF texture target via eglQueryDmaBufModifiersEXT 2020-06-06 08:59:38 +02:00