Revision 4824527...

Go back to digest for 12th May 2013

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /:

New class to encapsulate a Window's Pixmap

The behavior for creating a pixmap for a window is moved from Toplevel
into a dedicated class WindowPixmap. Scene::Window holds a reference to
this class and creates a new WindowPixmap whenever the pixmap needs to be
discarded. In addition it also keeps the old WindowPixmap around for the
case that creating the new pixmap fails. The compositor can in that case
use the previous pixmap which reduces possible flickering. Also this
referencing can be used to improve transition effects like the maximize
windows effect which would benefit from starting with the old pixmap.

For XRender and OpenGL a dedicated sub-class of the WindowPixmap is
created which provides the additional mapping to an XRender picture and
OpenGL texture respectively.


FIXED-IN: 4.11
REVIEW: 110577

File Changes

Modified 9 files
  •   kwin/composite.cpp
  •   kwin/scene.cpp
  •   kwin/scene.h
  •   kwin/scene_opengl.cpp
  •   kwin/scene_opengl.h
  •   kwin/scene_xrender.cpp
  •   kwin/scene_xrender.h
  •   kwin/toplevel.cpp
  •   kwin/toplevel.h
9 files changed in total