Commit graph

6 commits

Author SHA1 Message Date
Jammy Zhou
26430f1d60 Whitelist AMD Catalyst for kwin direct rendering
BUG: 301103
FIXED-IN: 4.10
REVIEW: 106050
2012-08-22 20:35:05 +02:00
Martin Gräßlin
067ca63239 Enable direct rendering for all Mesa drivers
As KWin requires at least Mesa 7.10 for OpenGL we can be sure
that all Mesa drivers support DRI2 and can enable direct rendering
for it.

Parsing the version string to identify if it is a mesa driver.
This can cause breakage again in future versions of Mesa.
Unfortunately version, vendor and renderer are the only information
queryable just with OpenGL API.
BUG: 270942
FIXED-IN: 4.7.0
2011-05-01 11:52:19 +02:00
Fredrik Höglund
abdd055665 Allow direct rendering with GLX versions older than 1.3 if the GLX
extensions list includes "GLX_EXT_texture_from_pixmap".

BUG: 240956

svn path=/trunk/KDE/kdebase/workspace/; revision=1137668
2010-06-13 23:05:37 +00:00
Fredrik Höglund
07a26a2569 Allow direct rendering with drivers that have "GEM" or "Gallium" in their
GL_RENDERER strings.

Possible fix for bug 239890.
CCBUG: 239890

svn path=/trunk/KDE/kdebase/workspace/; revision=1131729
2010-05-28 20:41:58 +00:00
Luboš Luňák
1a02507f50 more helper apps to libexec
svn path=/trunk/KDE/kdebase/workspace/; revision=1122313
2010-05-03 15:02:26 +00:00
Fredrik Höglund
bcd8d3f476 - Add an external helper program that initializes GLX and checks if kwin can
use direct rendering.
- Move the LIBGL_ALWAYS_INDIRECT code to CompositingPrefs::detect(), and use
  the external helper program to determine if the variable needs to be set.

svn path=/trunk/KDE/kdebase/workspace/; revision=1096554
2010-02-26 20:47:00 +00:00