Review Request 118110: [declarative/core] Use proper GLXFBConfig for glxpixmap

Martin Gräßlin mgraesslin at kde.org
Fri May 16 05:52:24 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118110/
-----------------------------------------------------------

(Updated May 16, 2014, 5:52 a.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma and Martin Klapetek.


Bugs: 334241
    http://bugs.kde.org/show_bug.cgi?id=334241


Repository: plasma-framework


Description
-------

[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.

BUG: 334241


Diffs
-----

  src/declarativeimports/core/windowthumbnail.h d3a7b64ad3594006bdcd689984f55290a4ed4576 
  src/declarativeimports/core/windowthumbnail.cpp c91d1896553f6eecc6828497724d6b119900e40e 

Diff: https://git.reviewboard.kde.org/r/118110/diff/


Testing
-------


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140516/c963b686/attachment.html>


More information about the Plasma-devel mailing list