7867d16e6b
Implement device_texture_create_from_dmabuf for EGL/X11 and EGL/Wayland. The code is shared between them, in a new gl-egl-common.c file. This is currently limited to a few common RGB(A) formats for now, which seems to cover most use cases.