summaryrefslogtreecommitdiffstats
path: root/third_party/khronos
Commit message (Collapse)AuthorAgeFilesLines
* Revert 132934 - this change seems to break many webgl related layout teststoyoshim@chromium.org2012-04-192-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | Introduction of CHROMIUM_copy_texture extension that respects pixel-store semantics, and allows copying of BGRA textures. OpenGL ES does not natively allow for copying textures with a BGRA format. The EXT_texture_format_BGRA8888 extension does not specify support for glCopyTexImage calls on these textures. This extension provides a routine to perform texture copies to/from BGRA-backed textures that also respects the following CHROMIUM pixel storage modifiers: UNPACK_FLIP_Y_CHROMIUM UNPACK_PREMULTIPLY_ALPHA_CHROMIUM This extension will be useful for the following purposes: - Copying accelerated Canvas2D contents to WebGL textures without a software readback. (And potentially the same for video-webgl texture copies.) - Copying Canvas2D contents to the compositor backing store. BUG=101051 TEST=none Review URL: http://codereview.chromium.org/9968113 TBR=twiz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10078006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132958 0039d316-1c4b-4281-b951-d872f2087c98
* Introduction of CHROMIUM_copy_texture extension that respects pixel-store ↵twiz@chromium.org2012-04-192-0/+19
| | | | | | | | | | | | | | | | | | | | | semantics, and allows copying of BGRA textures. OpenGL ES does not natively allow for copying textures with a BGRA format. The EXT_texture_format_BGRA8888 extension does not specify support for glCopyTexImage calls on these textures. This extension provides a routine to perform texture copies to/from BGRA-backed textures that also respects the following CHROMIUM pixel storage modifiers: UNPACK_FLIP_Y_CHROMIUM UNPACK_PREMULTIPLY_ALPHA_CHROMIUM This extension will be useful for the following purposes: - Copying accelerated Canvas2D contents to WebGL textures without a software readback. (And potentially the same for video-webgl texture copies.) - Copying Canvas2D contents to the compositor backing store. BUG=101051 TEST=none Review URL: http://codereview.chromium.org/9968113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132934 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GL_COMMANDS_ISSUED_CHROMIUM fence like query.gman@chromium.org2012-03-142-0/+10
| | | | | | | | | | | | | | | | I'm not sure this is the right way to do this. I started by adding a few switch/case statements and then realized that there is no guarntee that glGenQueriesXXX exists which means I have to NOT call that for GL_COMMANDS_ISSUED_CHROMIUM queries. I ended up going down the path of a base class and this is where it lead. TEST=unit tests BUG=117768 Review URL: http://codereview.chromium.org/9694025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126607 0039d316-1c4b-4281-b951-d872f2087c98
* Add a LICENSE file for third_party/khronossteveblock@chromium.org2012-03-121-0/+48
| | | | | | | | | | | Note that this directory uses two different licenses, as described in README.chromium. This fixes 'tools/licenses.py scan' for this directory. Review URL: http://codereview.chromium.org/9632023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126087 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a double define in gl2ext.hgman@chromium.org2012-02-222-0/+3
| | | | | | | | | | | | | | | | | | We GL_EXT_framebuffer_multisample to gl2ext.h parts of which conflict with GL_EXT_multisampled_render_to_texture The conflict only shows up when compiling for the OpenGL ES 2.0 conformance tests TEST=compiled the OpenGL ES 2.0 conformance tests BUG=none R=apatrick@chromium.org Review URL: http://codereview.chromium.org/9372082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122939 0039d316-1c4b-4281-b951-d872f2087c98
* Add gl bindings for ANGLE_instanced_arrays and ARB_instanced_arraysjbauman@chromium.org2012-02-092-0/+19
| | | | | | | | | | BUG=93148 TEST= Review URL: http://codereview.chromium.org/9348046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121112 0039d316-1c4b-4281-b951-d872f2087c98
* Expose more glQuery functionsgman@chromium.org2012-02-072-50/+483
| | | | | | | | | | TEST=none BUG=88601 Review URL: http://codereview.chromium.org/9321002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120745 0039d316-1c4b-4281-b951-d872f2087c98
* Change PluginWindowHandle to AcceleratedWidget in ui/gfx/glpiman@chromium.org2012-02-012-3/+10
| | | | | | | | | | BUG=104551 TEST=compile Review URL: http://codereview.chromium.org/9160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119990 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r118525 / Re-land r118240 - the build failure was a flake.dpranke@chromium.org2012-01-193-5/+13
| | | | | | | | | | | | This change re-enables building gles2_c_lib as a component. TBR=gman@chromium.org BUG=107735 TEST=waterfall stays green Review URL: https://chromiumcodereview.appspot.com/9150022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118263 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r118240 - gles_2_c_lib as a component.dpranke@chromium.org2012-01-193-13/+5
| | | | | | | | | | | | Broke compile on windows. TBR=gman@chromium.org BUG=107735 TEST=waterfall greens up again Review URL: https://chromiumcodereview.appspot.com/9264003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118252 0039d316-1c4b-4281-b951-d872f2087c98
* This change makes gles2_c_lib work as a component. It introduces a ↵dpranke@chromium.org2012-01-193-5/+13
| | | | | | | | | | | | | gles2_c_lib_export.h file, and ensures that all of the GL shim symbols are exported properly. This also fixes a couple of prototype issues in glTexStorage2DEXT and glEnableFeatureCHROMIUM along the way. R=gman@chromium.org TEST=waterfall, specifically platform/chromium/compositing/accelerated-drawing tests don't crash Review URL: https://chromiumcodereview.appspot.com/8956051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118240 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r2967. Add skia bindings for glTexStorage2D.bsalomon@google.com2012-01-051-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9111017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116558 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the GL_ANGLE_texture_usage and GL_EXT_texture_storagevangelis@chromium.org2011-12-061-0/+45
| | | | | | | | | | extensions to the command buffer and the WebGraphicsContext3D APIs. BUG=106142 TEST=unittests Review URL: http://codereview.chromium.org/8772033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113223 0039d316-1c4b-4281-b951-d872f2087c98
* Add GL_ANGLE_pack_reverse_row_order to command bufferbsalomon@google.com2011-11-301-0/+10
| | | | | | | Bug=82559 Review URL: http://codereview.chromium.org/8513017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112245 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb thru that we cache the front buffer.backer@chromium.org2011-11-241-0/+10
| | | | | | | | | | | | | This allows us to drop the root layer textures and save on VRAM (10 MB on a 30" display). WebKit side patch: https://bugs.webkit.org/show_bug.cgi?id=72956 BUG=none TEST='cat /proc/meminfo | grep Shmem' on Intel graphics and use_aura=1 attached to 30" display Review URL: http://codereview.chromium.org/8637014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111532 0039d316-1c4b-4281-b951-d872f2087c98
* Move GL headers from gpu to third_party/khronosskyostil@google.com2011-11-248-0/+3341
| | | | | | | | | | | | | This change moves the OpenGL ES and EGL header files from gpu/ to a new third_party/khronos/ directory. The headers are also rebased to the latest upstream versions. BUG=102824 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111170 Review URL: http://codereview.chromium.org/8423038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111523 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111170 - Move GL headers from gpu to third_party/khronosabodenha@chromium.org2011-11-228-3299/+0
| | | | | | | | | | | | | | This change moves the OpenGL ES and EGL header files from gpu/ to a new third_party/khronos/ directory. The headers are also rebased to the latest upstream versions. BUG=102824 TEST=none Review URL: http://codereview.chromium.org/8423038 TBR=skyostil@google.com Review URL: http://codereview.chromium.org/8633020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111173 0039d316-1c4b-4281-b951-d872f2087c98
* Move GL headers from gpu to third_party/khronosskyostil@google.com2011-11-228-0/+3299
This change moves the OpenGL ES and EGL header files from gpu/ to a new third_party/khronos/ directory. The headers are also rebased to the latest upstream versions. BUG=102824 TEST=none Review URL: http://codereview.chromium.org/8423038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111170 0039d316-1c4b-4281-b951-d872f2087c98