summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/generate_bindings.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Move app/gfx/gl ==> ui/gfx/glbacker@chromium.org2011-03-281-638/+0
| | | | | | | | | | | This is the final patch in the sequence. Note that gl.gyp is introduced because dependency checking on the Mac is done on a per file (rather than per target) basis. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6722026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79599 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit of reverted CL: http://codereview.chromium.org/6677105twiz@chromium.org2011-03-211-1/+3
| | | | | | | | | Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6708066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78941 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78801 - Addition of GL-redirecting mechanism for the Skia/GPU ↵bradnelson@google.com2011-03-191-3/+1
| | | | | | | | | | | | | back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 TBR=twiz@chromium.org R=* Review URL: http://codereview.chromium.org/6712050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78808 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of GL-redirecting mechanism for the Skia/GPU back-end. During ↵twiz@chromium.org2011-03-191-1/+3
| | | | | | | | execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
* Exposed GL_NV_fence bindings to GPU process.apatrick@chromium.org2011-01-261-0/+7
| | | | | | | | | TEST=try, call GL_NV_fence functions BUG=none Review URL: http://codereview.chromium.org/6313013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72667 0039d316-1c4b-4281-b951-d872f2087c98
* Add in changes I forgot in last previous CLgman@chromium.org2010-11-041-2/+0
| | | | | | | | | | | These are only comment changes. No code has changed. TEST=none BUG=none TBR=apatrick@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65105 0039d316-1c4b-4281-b951-d872f2087c98
* Add service side GL call logging to the DEBUGgman@chromium.org2010-11-041-35/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build of Chrome. For now you need to call InitDebugGLBindings. It seems like it would be nice to add a flag or check an environment variable but it also seems strange to add a flag just for debugging. Then again I guess we have --gpu-startup-dialog. Also, to really make this work will require both an special ostream and adding a bunch more type info the generate_bindings.py so it can cast values appropriately. For example it would be nice if it cast GLenum to an object that printed the enum name. It would also be nice if it cast const GLubyte* and void* to appropriate things depending on usage so the stream can write the correct stuff. For now though it does show all the calls which is useful in and of itself. Any idea how to get base/logging.h working on mac? TEST=ran it in the opengl es 2.0 conformance tests. BUG=none Review URL: http://codereview.chromium.org/4464002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65096 0039d316-1c4b-4281-b951-d872f2087c98
* Expose bindings for glGetTexLevelParameter[fi]. These functions will be ↵senorblanco@chromium.org2010-10-221-0/+4
| | | | | | | | | | | needed by WebGraphicsContext3DDefaultImpl in WebKit. BUG=60314 TEST=none Review URL: http://codereview.chromium.org/3976003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63528 0039d316-1c4b-4281-b951-d872f2087c98
* Added switch to disable GPU vsync.apatrick@chromium.org2010-10-071-0/+3
| | | | | | | | | | | This is useful for GPU performance testing because the vsync caps the frame rate. TEST=try BUG=none Review URL: http://codereview.chromium.org/3380011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61877 0039d316-1c4b-4281-b951-d872f2087c98
* Add offscreen context creation attributes to GGL.enne@chromium.org2010-10-011-0/+8
| | | | | | | | | | | View contexts and more extensive color format picking not handled yet. BUG=39849 TEST=WebGL conformance tests (context*.html) Review URL: http://codereview.chromium.org/3302019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61220 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed build problems on Mac OS X when using GLContext from Chromium'skbr@google.com2010-08-101-2/+4
| | | | | | | | | | | | WebKit code. Added glIsFramebufferEXT and glIsRenderbufferEXT as preferred aliases. BUG=none TEST=WebGL, try bots Review URL: http://codereview.chromium.org/3146002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55584 0039d316-1c4b-4281-b951-d872f2087c98
* Added a couple of new GL extension bindings.apatrick@chromium.org2010-08-091-2/+12
| | | | | | | | | | | These are used by the default Chrome WebKit WebGL implementation. TEST=try BUG=none Review URL: http://codereview.chromium.org/3030053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55465 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: add GLES/EGL support on linuxpiman@chromium.org2010-06-211-4/+4
| | | | | | Review URL: http://codereview.chromium.org/2829007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50397 0039d316-1c4b-4281-b951-d872f2087c98
* Added EGL based GLContext.apatrick@chromium.org2010-06-091-0/+548
Python script to generate code to dynamically bind to GL functions (native GL, OSMesa, EGL or mock GL for unit tests). This replaces GLEW because GLEW doesn't bind to the GLES dialect of GL. Moved the mock GL code into app/gfx/gl. Updated the GPU code and AcceleratedSurface to use the new GL bindings. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/2134006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49332 0039d316-1c4b-4281-b951-d872f2087c98