diff options
author | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 19:07:05 +0000 |
---|---|---|
committer | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 19:07:05 +0000 |
commit | 74c66a6f8e7ee4730885cc79c88d64ba2fc3cb3d (patch) | |
tree | 6dee338407fde5008a41981c37554bd07a6af51b /third_party/glew/README.chromium | |
parent | c5874d55686f444954222f604bd79ff15d7a4325 (diff) | |
download | chromium_src-74c66a6f8e7ee4730885cc79c88d64ba2fc3cb3d.zip chromium_src-74c66a6f8e7ee4730885cc79c88d64ba2fc3cb3d.tar.gz chromium_src-74c66a6f8e7ee4730885cc79c88d64ba2fc3cb3d.tar.bz2 |
Fixed GPU process startup crash on Linux. Because there was no current
OpenGL context, glXGetCurrentDisplay() was returning NULL, leading to
crashes in glXQueryVersion. Exposed a new glxewContextInitWithDisplay
from GLEW allowing the caller to supply the display connection.
Built both with and without GLEW_MX to ensure GLEW changes compile in
both scenarios.
BUG=40148
TEST=ran WebGL demos in debugger, verified Display* passed to glXQueryVersion
Review URL: http://codereview.chromium.org/1556015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/glew/README.chromium')
-rw-r--r-- | third_party/glew/README.chromium | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/third_party/glew/README.chromium b/third_party/glew/README.chromium index 2f12b4f..9a1ebe9 100644 --- a/third_party/glew/README.chromium +++ b/third_party/glew/README.chromium @@ -19,8 +19,12 @@ Compared to the original distribution: - A GLEW_NO_GLU #define was added to prevent including GL/glu.h. - - glxewContextInit() was exposed in glxew.h in order to allow the - GLX 1.3 entry points to be used to create the first context. + - A glxewContextInitWithDisplay(Display*) was added and exposed in + glxew.h in order to allow the GLX 1.3 entry points to be used to + create the first drawable. + + - Fixed the order of #include guards around + _glewInit_GLX_VERSION_1_1 in glew.c when GLEW_MX is defined. Originally obtained from http://glew.sourceforge.net/ . The LICENSE.txt from that distribution has been preserved here. |