Re-enable Blur/Lanczos for Catalyst on OpenGL 2
Given that the Catalyst driver is now supporting direct rendering and by that can use the OpenGL 2 code path we do no longer need to force disable the Blur effect and Lanczos filters which used to crash in the ARB shader path. The ARB shader path - which can only be used in OpenGL 1 - is kept disabled for Catalyst. CCBUG: 270818 CCBUG: 286795 REVIEW: 106798
This commit is contained in:
parent
e84118d9f8
commit
2b6c4730b5
2 changed files with 3 additions and 3 deletions
|
@ -154,7 +154,7 @@ bool BlurEffect::enabledByDefault()
|
|||
|
||||
if (gl->isIntel() && gl->chipClass() < SandyBridge)
|
||||
return false;
|
||||
if (gl->driver() == Driver_Catalyst) {
|
||||
if (gl->driver() == Driver_Catalyst && effects->compositingType() == OpenGL1Compositing) {
|
||||
// fglrx supports only ARB shaders and those tend to crash KWin (see Bug #270818 and #286795)
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -67,8 +67,8 @@ void LanczosFilter::init()
|
|||
GLPlatform *gl = GLPlatform::instance();
|
||||
if (!force && gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10) && gl->chipClass() < SandyBridge)
|
||||
return;
|
||||
// With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795) and GLSL Shaders are not functional
|
||||
if (!force && gl->driver() == Driver_Catalyst) {
|
||||
// With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795)
|
||||
if (!force && gl->driver() == Driver_Catalyst && effects->compositingType() == OpenGL1Compositing) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue