D28145: [wayland] Recursively destroy WindowPixmap objects

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
  We need to destroy the root WindowPixmap together with all of its
  children; otherwise, buffers that are attached to subsurfaces will
  not be released.

TEST PLAN
  weston-subsurfaces doesn't quit with an error message saying that
  all buffers are held by the compositor.

REPOSITORY
  R108 KWin

BRANCH
  destroy-child-window-pixmap-recursively

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

AFFECTED FILES
  scene.cpp

To: zzag, #kwin
Cc: 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.