summaryrefslogtreecommitdiffstats
path: root/third_party/glew
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-31 17:55:57 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-31 17:55:57 +0000
commit28638b2ce5ec96bda25fd3583d7902dea0137fb2 (patch)
tree585a58803f76da08e806524086f0948f7393b663 /third_party/glew
parent74f275448f43dac31331495148e832c376b18344 (diff)
downloadchromium_src-28638b2ce5ec96bda25fd3583d7902dea0137fb2.zip
chromium_src-28638b2ce5ec96bda25fd3583d7902dea0137fb2.tar.gz
chromium_src-28638b2ce5ec96bda25fd3583d7902dea0137fb2.tar.bz2
Implemented offscreen rendering path for GLES2CmdDecoder on Linux.
With these changes, WebGL runs in the sandbox on Linux. BUG=29120 TEST=ran WebGL demos in sandbox on Linux Review URL: http://codereview.chromium.org/1540004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/glew')
-rw-r--r--third_party/glew/README.chromium3
-rw-r--r--third_party/glew/include/GL/glxew.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/third_party/glew/README.chromium b/third_party/glew/README.chromium
index a1f839d..2f12b4f 100644
--- a/third_party/glew/README.chromium
+++ b/third_party/glew/README.chromium
@@ -19,5 +19,8 @@ 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.
+
Originally obtained from http://glew.sourceforge.net/ . The
LICENSE.txt from that distribution has been preserved here.
diff --git a/third_party/glew/include/GL/glxew.h b/third_party/glew/include/GL/glxew.h
index ef89998..bece8ce 100644
--- a/third_party/glew/include/GL/glxew.h
+++ b/third_party/glew/include/GL/glxew.h
@@ -1429,6 +1429,7 @@ extern GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name);
#define GLXEW_GET_FUN(x) x
extern GLenum glxewInit ();
+extern GLenum glxewContextInit ();
extern GLboolean glxewIsSupported (const char* name);
#endif /* GLEW_MX */