D27167: Put the resize effect in charge of scheduling repaints

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Feb 5 11:29:10 GMT 2020


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 the frame geometry is changed in any away, for example if the client
  has been moved, resized, or both, setFrameGeometry() will schedule a layer
  repaint for the visible geometry before and after the update.
  
  When there is a resize effect, we only send requests to the client window
  to render contents at the new size. setFrameGeometry() is not called and
  therefore no layer repaints are scheduled.
  
  Only the resize effect knows what parts of the window or the screen must
  be repainted and thus it must be responsible for scheduling repaints.
  
  A full repaint in AbstractClient::performMoveResize() is scheduled mostly
  for historical reasons.

REPOSITORY
  R108 KWin

BRANCH
  put-resize-effect-in-charge-scheduling-repaints

REVISION DETAIL
  https://phabricator.kde.org/D27167

AFFECTED FILES
  abstract_client.cpp

To: zzag, #kwin
Cc: kwin, Orage, 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/20200205/32fda179/attachment.html>


More information about the kwin mailing list