If an effect renders a window into an offscreen texture, it's very important
that the window ends up in the offscreen render target rather than the default
framebuffer object. However, that might be not the case if the OpenGL
decoration renderer needs to create a texture atlas since the renderer calls
GLTexture::clear() method, which might clobber the current GL_DRAW_FRAMEBUFFER
binding.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:1d362d38fd3e: [libkwineffects] Restore GL_DRAW_FRAMEBUFFER binding in GLTexture::clear
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Test plan:
- Install https://github.com/zzag/kwin-effects-yet-another-magic-lamp
- Change the animation speed in the compositor settings
- Minimize a window
I did not include this test plan in the commit message to avoid "advertising" the effect.