aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ChromeBench.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-14 18:06:26 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-14 18:06:26 +0000
commitbb89cda7e799bdec58c026a447363024a4bc1a5a (patch)
tree065ac7fa03f67d18b0bb69f16029e449c0956746 /bench/ChromeBench.cpp
parent71d59a495f7d71509c022088e7da08826d959219 (diff)
This update fixes the problem with GLX failing to find a valid configuration on Linux laptops (Issue 513).
The base issue here was that the default GLX implementation on some Linux laptops lies about its version numbering. Code in SkNativeGLContext_unix.cpp was checking the version number to avoid using FBConfigs in versions prior to 1.3 and thus incorrectly stopped processing. To resolve this a separate configuration path has been added that uses the pre-1.3 method (i.e., XGetVisualInfo and glXGetConfig). The run-time version check has also been removed and a #define has been added to toggle between the two implementations. This allows the FBConfig method to be used with the wayward GLX implementation while the legacy method can be used with older implementations. Please see http://codereview.appspot.com/5823049/ for more information. git-svn-id: http://skia.googlecode.com/svn/trunk@3384 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/ChromeBench.cpp')
0 files changed, 0 insertions, 0 deletions