D25365: [libkwineffects] Restore GL_DRAW_FRAMEBUFFER binding in GLTexture::clear
Vlad Zahorodnii
noreply at phabricator.kde.org
Mon Nov 18 10:00:44 GMT 2019
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
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.
REPOSITORY
R108 KWin
BRANCH
restore-draw-framebuffer-binding
REVISION DETAIL
https://phabricator.kde.org/D25365
AFFECTED FILES
libkwineffects/kwingltexture.cpp
libkwineffects/kwingltexture.h
To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191118/1a0bca27/attachment-0001.html>
More information about the kwin
mailing list