D18453: Delete WindowPixmaps of resized sub-surfaces

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION SUMMARY
  A WindowPixmap assumes that its size is constant. A sub-surface might get
  resized. Discard its WindowPixmap then.
  
  To be informed via signal about a resize of one of its children the
  WindowPixmap class inherits QObject from now on.

TEST PLAN
  testShmBufferSizeChangeOnSubSurface passes.

REPOSITORY
  R108 KWin

BRANCH
  subSurfaceResizePixmap

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

AFFECTED FILES
  plugins/scenes/opengl/scene_opengl.h
  plugins/scenes/qpainter/scene_qpainter.h
  scene.cpp
  scene.h

To: romangg, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, 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.