I'm trying to play hardware-accelerated video through wayland-egl and QtWayland-based compositor and video is displayed as monochrome with 'greenish' overlay (UV component is missing).
QtWayland compositor is using fragment shader to convert multi-planar buffers (e.g. YUV video frames) to RGBA. This used to be working fine in 5.7.1, but got broken in 5.8.0 and seems to be present in 5.10 (not verified).
I guess this was broken in this change: https://github.com/qt/qtwayland/commit/844204b2b04d0f3477d069db326f0e70129c71e2
I don't have a test app for the issue as setup is quite specific to the project, but the patch is pretty obvious: in QWaylandQuickItem's meterial: QOpenGLTexture::bind() expects texture unit number as plain uint number (e.g. 0,1,2) and not as GLenum (GL_TEXTURE1).
See proposed patch attached.