D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage

Vlad Zahorodnii noreply at phabricator.kde.org
Thu Mar 12 07:56:15 GMT 2020


zzag added a comment.


  > Report the eglSetDamageRegionKHR() at presentOutput so we have information from all effects.
  
  Hmm, the spec says that we should call it before issuing draw commands, i.e. before calling Scene::paintScreen():
  
  > After posting the back buffer, the damage region is set to the full dimensions of the surface. The damage region can only be changed by the application before any client API commands that draw to the surface have been made. After this, the damage region is frozen until the back buffer is posted again.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200312/e9bbd1fa/attachment.html>


More information about the kwin mailing list