Increase runtime requirement to Mesa 8.0
Adjustment to reality. KWin has had a dependency on Mesa 8.0 for quite some time given that it is what basically all distributions ship. It is better to clearly state what is required. For KWin Mesa 8.0 is a more reliable dependency as all DRI drivers which do not support DRI2 have been removed. Packagers have been informed about this intended change some weeks ago. REVIEW: 106799
This commit is contained in:
parent
57c27c2e0b
commit
26a9a35b2f
3 changed files with 4 additions and 8 deletions
|
@ -63,9 +63,9 @@ void LanczosFilter::init()
|
|||
if (!force && options->glSmoothScale() != 2)
|
||||
return; // disabled by config
|
||||
|
||||
// The lanczos filter is reported to be broken with the Intel driver and Mesa 7.10
|
||||
// The lanczos filter is reported to be broken with the Intel driver prior SandyBridge
|
||||
GLPlatform *gl = GLPlatform::instance();
|
||||
if (!force && gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10) && gl->chipClass() < SandyBridge)
|
||||
if (!force && gl->driver() == Driver_Intel && gl->chipClass() < SandyBridge)
|
||||
return;
|
||||
// With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795)
|
||||
if (!force && gl->driver() == Driver_Catalyst && effects->compositingType() == OpenGL1Compositing) {
|
||||
|
|
|
@ -809,10 +809,6 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
|
|||
m_looseBinding = true;
|
||||
}
|
||||
|
||||
// Loose binding is broken with Gallium drivers in Mesa 7.10
|
||||
if (isGalliumDriver() && mesaVersion() == kVersionNumber(7, 10, 0))
|
||||
m_looseBinding = false;
|
||||
|
||||
if (isSoftwareEmulation()) {
|
||||
// we recommend XRender
|
||||
m_recommendedCompositor = XRenderCompositing;
|
||||
|
|
|
@ -158,8 +158,8 @@ SceneOpenGL::SceneOpenGL(Workspace* ws, OpenGLBackend *backend)
|
|||
return; // error
|
||||
}
|
||||
#endif
|
||||
if (glPlatform->isMesaDriver() && glPlatform->mesaVersion() < kVersionNumber(7, 10)) {
|
||||
kError(1212) << "KWin requires at least Mesa 7.10 for OpenGL compositing.";
|
||||
if (glPlatform->isMesaDriver() && glPlatform->mesaVersion() < kVersionNumber(8, 0)) {
|
||||
kError(1212) << "KWin requires at least Mesa 8.0 for OpenGL compositing.";
|
||||
return;
|
||||
}
|
||||
#ifndef KWIN_HAVE_OPENGLES
|
||||
|
|
Loading…
Reference in a new issue