Skip to content

kwingltexture: Implement GLTexture::toImage for GLES

Kai Uwe Broulik requested to merge work/kbrouli/gltexture-to-image-gles into master

glGetTexImage is not available in GLES. Instead, bind the texture to a framebuffer and use glReadPixels on it.


Fixes running kwin_wayland windowed under X11.

Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH

https://github.com/mercedes-benz/foss/blob/master/PROVIDER_INFORMATION.md

Merge request reports

Loading