Skip to content

Fix screencasting on nvidia+shmem

Alessandro Astone requested to merge aleasto/kwin:nvidia-screencast into master

glReadPixels reads from the bound framebuffer, so create an offscreen framebuffer and attach the texture to it

Make nvidia use the GLES path as glGetTexImage returns a black image

https://forums.developer.nvidia.com/t/glgetteximage-returns-a-black-image-when-using-a-gbm-backed-egldisplay/273253

Fixes: BUG:476602

Edited by Alessandro Astone

Merge request reports