Upgrade to KWin6/qt6
Only partially working, the custom GLTexture2[Private]
prior to this MR has been removed due to being broken from KWin API changes, this code been replaced with using KWin's normal GLTexture
(a new factory function has been created for non-owning GLTextures
s), there is an issue when creating KWin::GLFramebuffer
from the offscreenGLTexture
, the constructor sets the GL colour attachment whichs fails with GL errors:
Reallocationg GL texture for "" --- 0 x 0 -> 1288 x 752 GL Texture ID: 0
Imported vk memory size 3981312 from fd 135 into OpenGL memory object 0
kwin_scene_opengl: Invalid framebuffer status: "Unknown (0x0)"
kwin_scene_opengl: generating OpenGL texture handle failed
Edited by korejan