D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added a comment. I still have concerns about the specified damage region. We only pass the region which must be repainted to repair the back buffer. We probably need to run prePaintScreen() and prePaintWindow() before calling eglSwapBuffersWithDamageEXT() in order to find out what region will be repainted in the current/next frame. Unfortunately, this would require some refactoring. Please notice that effects such as blur may expand the painted area so we have to run prePaint hooks. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D27788 To: apol, #kwin, #plasma:_mobile Cc: mwolff, zzag, davidedmundson, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart