ignore unredirection configuration on intel

the only thing it does on these systems is cause users
trouble because usually when there's a client where
unredirection makes sense, that uses OpenGL - and then
things break in the driver.

CCBUG: 252817
REVIEW: 111476
icc-effect-5.14.5
Thomas Lübking 2013-07-10 20:48:11 +02:00
parent f97fa509ae
commit 7f858da008
3 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,8 @@ void EglOnXBackend::init()
}
GLPlatform *glPlatform = GLPlatform::instance();
glPlatform->detect(EglPlatformInterface);
if (GLPlatform::instance()->driver() == Driver_Intel)
options->setUnredirectFullscreen(false); // bug #252817
glPlatform->printResults();
initGL(EglPlatformInterface);
if (!hasGLExtension("GL_OES_EGL_image")) {

View File

@ -95,6 +95,8 @@ void GlxBackend::init()
// Initialize OpenGL
GLPlatform *glPlatform = GLPlatform::instance();
glPlatform->detect(GlxPlatformInterface);
if (GLPlatform::instance()->driver() == Driver_Intel)
options->setUnredirectFullscreen(false); // bug #252817
glPlatform->printResults();
initGL(GlxPlatformInterface);
// Check whether certain features are supported

View File

@ -651,6 +651,8 @@ void Options::setHiddenPreviews(int hiddenPreviews)
void Options::setUnredirectFullscreen(bool unredirectFullscreen)
{
if (GLPlatform::instance()->driver() == Driver_Intel)
unredirectFullscreen = false; // bug #252817
if (m_unredirectFullscreen == unredirectFullscreen) {
return;
}