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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin/lib
From:       Martin Gräßlin <kde () martin-graesslin ! com>
Date:       2010-07-06 6:50:39
Message-ID: 20100706070008.7DF9DAC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1146496 by graesslin:

Include the version in the blacklist separated from the renderer by colon dash colon.

 M  +2 -0      kwineffects.cpp  
 M  +2 -1      kwineffects.h  


--- trunk/KDE/kdebase/workspace/kwin/lib/kwineffects.cpp #1146495:1146496
@@ -500,6 +500,8 @@
         {
         QString vendor   = QString((const char*)glGetString( GL_VENDOR ));
         QString renderer = QString((const char*)glGetString( GL_RENDERER ));
+        renderer.append( ":-:" );
+        renderer.append((const char*)glGetString( GL_VERSION ));
         foreach( const QString& key, blacklist.keyList() )
             {
             // the key is a word in the renderer string or vendor referrencing the \
                vendor in case of mesa
--- trunk/KDE/kdebase/workspace/kwin/lib/kwineffects.h #1146495:1146496
@@ -793,7 +793,8 @@
         /**
          * Checks if the driver is on given blacklist.
          * The format of the blacklist is driver identifier as key (e.g. Intel) with \
                a list of
-         * concrete driver render strings as the values.
+         * concrete driver render strings as the values. The renderer string \
consists of GL_RENDERER +         * and GL_VERSION separated by colon dash colon. \
                E.g.: GeForce 9400M/PCI/SSE2:-:3.2.0 NVIDIA 195.36.24
          * This method is only used for OpenGL compositing. If not using OpenGL it \
                will return false.
          * @returns true if the driver is blacklisted, false otherwise
          * @since 4.5


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

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