summaryrefslogtreecommitdiffstats
path: root/third_party/glew
Commit message (Collapse)AuthorAgeFilesLines
* Added support to GLEW for dynamically looking up the core WGL entrykbr@google.com2010-06-303-1/+104
| | | | | | | | | | | | | | | | | points to avoid the need to link against opengl32.lib. Added _ATL_NO_OPENGL #define in build/common.gypi to prevent link directive from forcibly pulling in opengl32.lib for any Chrome code using ATL. Once upstream code in WebKit is changed to use the new wglew entry points and remove opengl32.lib from the link line, chrome.dll will no longer depend on opengl32.dll. BUG=45586 TEST=ran WebGL with --in-process-webgl Review URL: http://codereview.chromium.org/2856022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51277 0039d316-1c4b-4281-b951-d872f2087c98
* Merged in fixes for GLEW compile errors on linux.apatrick@chromium.org2010-04-281-2/+5
| | | | | | | | | | | | GLEW patch: http://glew.svn.sourceforge.net/viewvc/glew?view=rev&revision=596 GLEW bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2992222&group_id=67586&atid=523274 TEST=trybots BUG=41039 Review URL: http://codereview.chromium.org/1727010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45827 0039d316-1c4b-4281-b951-d872f2087c98
* Windows OSMesa DLL only exports OSMesa functions.apatrick@chromium.org2010-04-261-1/+1
| | | | | | | | | | | | It no longer exports all the GL functions like glClear. These are bound by calling OSMesaGetProcAddress. glew no longer uses default mangled export name bind to OSMesaGetProcAddress. TEST=trybots, check the pepper 3d plugin demos still work on windows BUG=none Review URL: http://codereview.chromium.org/1743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45618 0039d316-1c4b-4281-b951-d872f2087c98
* Added OSMesa based GLContext.apatrick@chromium.org2010-04-203-2/+88
| | | | | | | | | | | | - Renders 3D using Mesa offscreen software renderer. - Will be used to run 3D tests on bots that do not support native OpenGL. - Extended glew library to use the osmesa shared library instead of the regular OpenGL one if it is in the search path. - Only works on Windows with this changelist, though other platforms will continue to use native OpenGL. - Added a stub GLContext implementation for use in unit tests. Review URL: http://codereview.chromium.org/1629029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45093 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed GPU process startup crash on Linux. Because there was no currentkbr@google.com2010-04-023-56/+77
| | | | | | | | | | | | | | | | 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
* Implemented offscreen rendering path for GLES2CmdDecoder on Linux.kbr@google.com2010-03-312-0/+4
| | | | | | | | | | | 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
* Pass tools/licenses.py for third_party/gles_book and third_party/glew.alokp@chromium.org2010-03-261-0/+4
| | | | | | | | BUG=39242 Review URL: http://codereview.chromium.org/1340005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42802 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for I915 graphics cards which have horrible GL shader support.scherkus@chromium.org2010-03-252-0/+7
| | | | | | | | | | | | | | Summary: - GLEW doesn't load the GL shader functions, so we have to load them ourselves - Replace our varying vec2 with glTexCoord[0].st - Replace our uniform mat3 with manual matrix multiplication BUG=33329 TEST=try it out on anything with an I915 Review URL: http://codereview.chromium.org/1219006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42659 0039d316-1c4b-4281-b951-d872f2087c98
* linux: dynamically load libGL.so.1, and use glew to dynamically resolve symbolspiman@chromium.org2010-01-092-23/+126
| | | | | | | | | | This is to workaround NVIDIA's broken dlsym hook. BUG=16800 Review URL: http://codereview.chromium.org/525109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35863 0039d316-1c4b-4281-b951-d872f2087c98
* linux: implement gpu pluginpiman@chromium.org2010-01-061-2/+2
| | | | | | | | Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35509 Review URL: http://codereview.chromium.org/500132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35612 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35509 - linux: implement gpu pluginpiman@chromium.org2010-01-051-2/+2
| | | | | | | | | Review URL: http://codereview.chromium.org/500132 TBR=piman@chromium.org Review URL: http://codereview.chromium.org/525022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35511 0039d316-1c4b-4281-b951-d872f2087c98
* linux: implement gpu pluginpiman@chromium.org2010-01-051-2/+2
| | | | | | Review URL: http://codereview.chromium.org/500132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35509 0039d316-1c4b-4281-b951-d872f2087c98
* Ported Chrome's WebGL implementation to Linux. Required changes tokbr@google.com2009-10-053-346/+1765
| | | | | | | | | | | | | | 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
* Ported Chrome's WebGL implementation to Mac OS X. Removed code whichkbr@google.com2009-10-022-17/+9
| | | | | | | | | | | | | used the GPU to vertically flip the framebuffer. Updated GLEW to use standard dlopen / dlsym rather than deprecated mach-o/dyld functions; updated README.chromium. BUG=http://crbug.com/21852 TEST=none (runs existing WebGL tests; more coming) Review URL: http://codereview.chromium.org/256037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27902 0039d316-1c4b-4281-b951-d872f2087c98
* Incorporated initial WebGL implementation for Chrome, currentlykbr@google.com2009-09-287-0/+27102
disabled in the build. Change ENABLE_3D_CANVAS to 1 in src/third_party/WebKit/WebKit/chromium/features.gypi and regenerate project files to compile. Current code is Windows-specific and requires the sandbox to be disabled. Follow-on work will add ports to other platforms and eventually work with the sandbox enabled. This CL follows https://bugs.webkit.org/show_bug.cgi?id=29664 . BUG=http://code.google.com/p/chromium/issues/detail?id=21852 TEST=none (runs preexisting WebGL layout tests; more coming) Review URL: http://codereview.chromium.org/219001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27404 0039d316-1c4b-4281-b951-d872f2087c98