diff options
author | Simon Ser <contact@emersion.fr> | 2020-06-05 15:13:32 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-06 08:59:38 +0200 |
commit | a3ba82885ca038fc1e51775cac7ce5ada3bad0e1 (patch) | |
tree | bd2f21968b175932a772f3f45bd80c2525b8ed58 /backend/libinput | |
parent | 363bf44a353ca0ce7e9d48476fb187d8da037483 (diff) |
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
Diffstat (limited to 'backend/libinput')
0 files changed, 0 insertions, 0 deletions