Revision 9653fad...

Go back to digest for 18th May 2014

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [plasma-framework] /declarativeimports/core:

[declarative/core] Use proper GLXFBConfig for glxpixmap

We need to use a GLXFBConfig which matches the depth of the window
pixmap's depth. So far it used the GLXFBConfig of the GL context.
This worked fine for RGBA windows, but failed for RGB windows on e.g.
some NVIDIA drivers.

After this change the FBConfig of the context is completely ignored,
instead it tries to find a good FBConfig for a given depth.

Whenever a FBConfig for a given depth is found it's inserted in a
cache shared between all WindowThumbnails so that we don't have the
X roundtrips all the time.


REVIEW: 118110

File Changes

Modified 2 files
  • /declarativeimports/core
  •   src/windowthumbnail.cpp
  •   src/windowthumbnail.h
2 files changed in total