[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin
From:       Thomas Lübking <thomas.luebking () web ! de>
Date:       2010-11-10 18:08:46
Message-ID: 20101110180846.AB505AC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195268 by luebking:

workaround nvidia issues with the texture cache and translucent windows

 M  +1 -1      lanczosfilter.cpp  


--- trunk/KDE/kdebase/workspace/kwin/lanczosfilter.cpp #1195267:1195268
@@ -370,7 +370,7 @@
 void LanczosFilter::prepareRenderStates( GLTexture* tex, double opacity, double \
brightness, double saturation )  {
 #ifdef KWIN_HAVE_OPENGL_COMPOSITING
-    const bool alpha = true;
+    const bool alpha = false; // true; WORKAROUND - "true" causes issues with at \
least nvidia chips and translucent windows "overbrightning"  // setup blending of \
transparent windows  glPushAttrib( GL_ENABLE_BIT );
     glEnable( GL_BLEND );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic