diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index 93a2af0396..4723078af5 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -443,7 +443,8 @@ void BlurEffect::drawWindow(EffectWindow *w, int mask, QRegion region, WindowPai } if (!shape.isEmpty()) { - if (w->isFullScreen() && GLRenderTarget::blitSupported() && m_simpleShader->isValid() && shape.boundingRect() == w->geometry()) { + if (w->isFullScreen() && GLRenderTarget::blitSupported() && m_simpleShader->isValid() + && !GLPlatform::instance()->supports(LimitedNPOT) && shape.boundingRect() == w->geometry()) { doSimpleBlur(w, data.opacity(), data.screenProjectionMatrix()); } else if (m_shouldCache && !translated && !w->isDeleted()) { doCachedBlur(w, region, data.opacity(), data.screenProjectionMatrix()); diff --git a/effects/logout/logout.cpp b/effects/logout/logout.cpp index f521e2d99d..0a0df45661 100644 --- a/effects/logout/logout.cpp +++ b/effects/logout/logout.cpp @@ -117,7 +117,7 @@ void LogoutEffect::prePaintScreen(ScreenPrePaintData& data, int time) } else if (!blurTexture) { blurSupported = false; delete blurTarget; // catch as we just tested the texture ;-P - if (effects->isOpenGLCompositing() && GLRenderTarget::blitSupported() && useBlur) { + if (effects->isOpenGLCompositing() && GLRenderTarget::blitSupported() && !GLPlatform::instance()->supports(LimitedNPOT) && useBlur) { // TODO: It seems that it is not possible to create a GLRenderTarget that has // a different size than the display right now. Most likely a KWin core bug. // Create texture and render target diff --git a/effects/lookingglass/lookingglass.cpp b/effects/lookingglass/lookingglass.cpp index e68f3d7167..62ef1ba65d 100644 --- a/effects/lookingglass/lookingglass.cpp +++ b/effects/lookingglass/lookingglass.cpp @@ -83,7 +83,7 @@ LookingGlassEffect::~LookingGlassEffect() bool LookingGlassEffect::supported() { - return effects->compositingType() == OpenGL2Compositing; + return effects->compositingType() == OpenGL2Compositing && !GLPlatform::instance()->supports(LimitedNPOT); } void LookingGlassEffect::reconfigure(ReconfigureFlags)