summaryrefslogtreecommitdiffstats
path: root/third_party/glew/README.chromium
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 23:32:52 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 23:32:52 +0000
commit28469c405f3f5e6573a523d1d5e829eabbfb0f0e (patch)
tree4d48c0d083f4847c76a49ee0e7d378fffbade58d /third_party/glew/README.chromium
parent12338015077b13e550ce7c4201f8faf8cd858ca5 (diff)
downloadchromium_src-28469c405f3f5e6573a523d1d5e829eabbfb0f0e.zip
chromium_src-28469c405f3f5e6573a523d1d5e829eabbfb0f0e.tar.gz
chromium_src-28469c405f3f5e6573a523d1d5e829eabbfb0f0e.tar.bz2
Ported Chrome's WebGL implementation to Linux. Required changes to
GLEW's bootstrapping sequence on both X11 and Windows platforms to avoid linking against libGL.so.1 directly due to http://crbug.com/16800 . Made GLEW's inclusion of glu.h optional. Tested on Linux, Mac and Windows. BUG=http://crbug.com/21852 TEST=none (runs existing WebGL tests; more coming) Review URL: http://codereview.chromium.org/258024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/glew/README.chromium')
-rw-r--r--third_party/glew/README.chromium15
1 files changed, 12 insertions, 3 deletions
diff --git a/third_party/glew/README.chromium b/third_party/glew/README.chromium
index 4d554c8..b56a1df 100644
--- a/third_party/glew/README.chromium
+++ b/third_party/glew/README.chromium
@@ -2,9 +2,18 @@ This is Chrome's local copy of the GLEW library, which is currently
used to interface to OpenGL and extensions to implement the WebGL
specification.
-Compared to the original distribution, the implementation of
-NSGLGetProcAddress has been changed to use the standard dlfcn.h
-functions rather than the deprecated mach-o/dyld.h ones.
+Compared to the original distribution:
+
+ - GLEW was changed to dynamically look up the OpenGL 1.1 entry
+ points in addition to those for later OpenGL versions and
+ extensions. This was necessary to be able to stop linking directly
+ against libGL.so on Linux due to http://crbug.com/16800 .
+
+ - The implementation of NSGLGetProcAddress has been changed to use
+ the standard dlfcn.h functions rather than the deprecated
+ mach-o/dyld.h ones.
+
+ - A GLEW_NO_GLU #define was added to prevent including GL/glu.h.
Originally obtained from http://glew.sourceforge.net/ . The
LICENSE.txt from that distribution has been preserved here.