summaryrefslogtreecommitdiffstats
path: root/third_party/khronos
Commit message (Collapse)AuthorAgeFilesLines
* Adding functionality to paint and signal buffer swap for ozone surface factory.dnicoara@chromium.org2013-08-301-1/+1
| | | | | | | | | | OZONE event factory should be a bit more verbose on error. BUG= Review URL: https://chromiumcodereview.appspot.com/23438002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220632 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: remove use_system_mesa bits.phajdan.jr@chromium.org2013-08-051-90/+11
| | | | | | | | | | | This doesn't seem useful, see https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/amyyjkDj7Cg/cl5up-ABW7oJ BUG=none R=piman@chromium.org Review URL: https://codereview.chromium.org/22218003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215695 0039d316-1c4b-4281-b951-d872f2087c98
* Adding self to OWNERS replacing gmanpiman@chromium.org2013-06-211-1/+1
| | | | | | | | | BUG=None R=apatrick@chromium.org Review URL: https://codereview.chromium.org/16867014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207926 0039d316-1c4b-4281-b951-d872f2087c98
* Remove gman from owners.gman@chromium.org2013-06-201-1/+1
| | | | | | | | | | | | I won't be around to review so should probably remove my name from here. TBR=piman@chromium.org,apatrick@chromium.org BUG=none Review URL: https://codereview.chromium.org/17167008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207293 0039d316-1c4b-4281-b951-d872f2087c98
* Added EGLNativeWindow etc. typedefs for ozone.rjkroege@chromium.org2013-05-232-0/+7
| | | | | | | | BUG=178543 Review URL: https://chromiumcodereview.appspot.com/14757005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201734 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize dependency on khronos EGL headers in place of angle.rjkroege@chromium.org2013-05-131-0/+5
| | | | | | | | | | | Different parts of Chrome use the angle EGL headers and khronos EGL headers. This patch adjusts so that Chrome uses only one: khronos. BUG=none, code cleanup Review URL: https://chromiumcodereview.appspot.com/14772009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199773 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 185521tommi@chromium.org2013-03-012-6/+4
| | | | | | | | | | | | | | | | | | | | | | Relanding the original change and rolling skia back to 7909. > Revert 185332 > Speculative revert. All the GPU bots are currently red, failing at the compile stage. > This time also reverting the skia roll even though a more recent version had been rolled. > > > Update khronos GLES2/gl2.h header > > > > BUG=178589 > > > > Review URL: https://codereview.chromium.org/12313140 > > TBR=phajdan.jr@chromium.org > Review URL: https://codereview.chromium.org/12383047 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/12381037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185530 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 185332tommi@chromium.org2013-03-012-4/+6
| | | | | | | | | | | | | | | | Speculative revert. All the GPU bots are currently red, failing at the compile stage. This time also reverting the skia roll even though a more recent version had been rolled. > Update khronos GLES2/gl2.h header > > BUG=178589 > > Review URL: https://codereview.chromium.org/12313140 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/12383047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185521 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 185518tommi@chromium.org2013-03-012-6/+4
| | | | | | | | | | | | | | | | | | | | > Revert 185332 > Speculative revert. All the GPU bots are currently red, failing at the compile stage. > I'm not reverting the skia roll in this change since skia has been rolled again after this change. > > > Update khronos GLES2/gl2.h header > > > > BUG=178589 > > > > Review URL: https://codereview.chromium.org/12313140 > > TBR=phajdan.jr@chromium.org > Review URL: https://codereview.chromium.org/12383045 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/12390032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185519 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 185332tommi@chromium.org2013-03-012-4/+6
| | | | | | | | | | | | | | | | Speculative revert. All the GPU bots are currently red, failing at the compile stage. I'm not reverting the skia roll in this change since skia has been rolled again after this change. > Update khronos GLES2/gl2.h header > > BUG=178589 > > Review URL: https://codereview.chromium.org/12313140 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/12383045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185518 0039d316-1c4b-4281-b951-d872f2087c98
* Update khronos GLES2/gl2.h headerphajdan.jr@chromium.org2013-02-282-6/+4
| | | | | | | | BUG=178589 Review URL: https://codereview.chromium.org/12313140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185332 0039d316-1c4b-4281-b951-d872f2087c98
* Update eglext.h for ARM DMABUF import extensionsheu@chromium.org2013-02-271-7/+95
| | | | | | | | | | | | | | | | | Updates the Khronos EGL header to pull in new extension spec implemented by the Exynos/Mali driver to support importing DMABUFs as EGLImages. BUG=chromium-os:167417 BUG=chromium-os:38376 TEST=local build for snow TBR=cpu Change-Id: If18a8610a7ff585841f7abf181668989813a38de Review URL: https://chromiumcodereview.appspot.com/12316111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184853 0039d316-1c4b-4281-b951-d872f2087c98
* add OWNERS to third_party/khronosgman@chromium.org2013-02-261-0/+2
| | | | | | | | | | BUG=None TBR=darin@chromium.org,gman@chromium.org Review URL: https://chromiumcodereview.appspot.com/12254033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184580 0039d316-1c4b-4281-b951-d872f2087c98
* Make use_system_mesa switch work: make symlinksphajdan.jr@chromium.org2013-01-221-5/+51
| | | | | | | | | | for nacl untrusted build. BUG=161389 Review URL: https://codereview.chromium.org/11862016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178028 0039d316-1c4b-4281-b951-d872f2087c98
* Use EGL headers to pick up EGL definitions.sheu@chromium.org2013-01-191-5/+17
| | | | | | | | | | | | | | | * Remove forward-definitions of EGL types from ui/gl/gl_bindings.h, and use the actual EGL headers instead. * Clean up users of gl_bindings.h to not use system headers. BUG=chromium:169433 TEST=local build, run on snow; trybots Change-Id: Ibdf8f92574ff1a31389531fa462f05319b20a66f Review URL: https://chromiumcodereview.appspot.com/11961032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177834 0039d316-1c4b-4281-b951-d872f2087c98
* Move code around to fix build with system mesa.phajdan.jr@chromium.org2013-01-162-29/+3
| | | | | | | | BUG=161389 Review URL: https://codereview.chromium.org/11973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177172 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: use generated shim headers for system mesa.phajdan.jr@chromium.org2013-01-151-0/+14
| | | | | | | | BUG=161389, 165264 Review URL: https://codereview.chromium.org/11693007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176926 0039d316-1c4b-4281-b951-d872f2087c98
* CrOS: Plumb through vsync info to compositor on EGL stacksbacker@chromium.org2013-01-142-0/+13
| | | | | | | | | | | Uses EGL_CHROMIUM_sync_control (a subset of GLX_OML_sync_control) to calculate refresh rate and when refreshes occur. This CL factors out common code from the GLX_OML_sync_control implementation. BUG=none TEST=by hand on stumpy, daisy, and desktop Review URL: https://codereview.chromium.org/11865021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176668 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor so chromium only GL extensions require gl2extchromium.hgman@chromium.org2013-01-091-4/+0
| | | | | | | | | | | | This is a step toward making third_party/khronos/gl2.h and gl2ext.h have as few modifications as possible. BUG=none Review URL: https://chromiumcodereview.appspot.com/11782020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175858 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Chromium-specific parts out of third_party/khronos/GLES2 .phajdan.jr@chromium.org2012-12-271-377/+2
| | | | | | | | BUG=161389 Review URL: https://codereview.chromium.org/11679005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174699 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 174687kmadhusu@chromium.org2012-12-271-2/+377
| | | | | | | | | | | | | > Extract Chromium-specific parts out of third_party/khronos/GLES2 . > > BUG=161389 > > Review URL: https://codereview.chromium.org/11679005 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/11676011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174695 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Chromium-specific parts out of third_party/khronos/GLES2 .phajdan.jr@chromium.org2012-12-271-377/+2
| | | | | | | | BUG=161389 Review URL: https://codereview.chromium.org/11679005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174687 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command to lose the contextgman@chromium.org2012-12-172-7/+17
| | | | | | | | | BUG=166020 Review URL: https://chromiumcodereview.appspot.com/11568029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173441 0039d316-1c4b-4281-b951-d872f2087c98
* Add to the GL_CHROMIUM_gpu_memory_manager extension accameron@chromium.org2012-12-142-0/+13
| | | | | | | | | | | | | | | texture parameter indicating which textures are managed and which ones aren't. This will give the GPU memory manager precise information about how much memory is not under its control (e.g, because it is WebGL memory). BUG=164947 Review URL: https://codereview.chromium.org/11517013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173213 0039d316-1c4b-4281-b951-d872f2087c98
* Move gl2chromium.h out of third_party, it really is our file.phajdan.jr@chromium.org2012-12-143-237/+2
| | | | | | | | | | This will be helpful for using system mesa. BUG=161389 Review URL: https://codereview.chromium.org/11466011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173017 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent third_party/khronos from including external dependencies.apatrick@chromium.org2012-12-132-1/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11554033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172785 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb glDiscardFramebufferEXT entry point through command bufferjamesr@chromium.org2012-12-121-0/+1
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11465018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172468 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add async upload functions.epenner@chromium.org2012-11-303-0/+10
| | | | | | | | | | | | | | Just adding the API first to unblock other CLs and so we can start to use the API. Async tasks are just done synchronously, and the completion query is set immediately when it executes in the GPU process. BUG=161337 Review URL: https://chromiumcodereview.appspot.com/11412232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170516 0039d316-1c4b-4281-b951-d872f2087c98
* Documented addition of a few Chromium and ARB extensions to gl2ext.h.kbr@chromium.org2012-11-291-0/+3
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/11413206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170109 0039d316-1c4b-4281-b951-d872f2087c98
* Disambiguate 'headers' targets in khronos and mesa.bauerb@chromium.org2012-11-281-2/+2
| | | | | | | | | | | | I suspect that the target name collision is causing compile failures on Win (e.g. http://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/4176/steps/compile/logs/stdio) BUG=none TBR=jochen@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/11412217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169895 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GL_CHROMIUM_pixel_transfer_buffer_object.reveman@chromium.org2012-11-213-0/+11
| | | | | | | | | | | | | | | | | This adds two new types of buffer objects, GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM and GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM. The PIXEL_PACK buffer affects API calls that pack pixel data, such as glReadPixels. The PIXEL_UNPACK buffer affects API calls that unpack pixel data, such as glTexImage2D. These new buffer object are backed by shared memory, which allows clients to update them without any unnecessary copying. BUG=111096,161337 TEST=unit tests Review URL: https://chromiumcodereview.appspot.com/10440019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168999 0039d316-1c4b-4281-b951-d872f2087c98
* Encapsulate khronos include paths in khronos.gyp,phajdan.jr@chromium.org2012-11-211-0/+36
| | | | | | | | | | | | instead of hardcoding it all over the place (literally). This is one of the steps towards use_system_mesa build option. BUG=161389 Review URL: https://chromiumcodereview.appspot.com/11416085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168931 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome's GLES2 Headersgman@chromium.org2012-11-206-499/+786
| | | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/11316046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168768 0039d316-1c4b-4281-b951-d872f2087c98
* Add CommandLatencyQuery to the gpu command bufferbrianderson@chromium.org2012-10-232-0/+8
| | | | | | | | | | | | Increases query result size to be 64 bits. Allows result to be used as input on the query begin. BUG= Review URL: https://chromiumcodereview.appspot.com/11235012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163683 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add support for GLX_EXT_texture_from_pixmap extension.reveman@google.com2012-10-182-0/+17
| | | | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162654 Review URL: https://codereview.chromium.org/10543125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162784 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 162654 - gpu: Add support for GLX_EXT_texture_from_pixmap extension.fischman@chromium.org2012-10-182-17/+0
| | | | | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Review URL: https://chromiumcodereview.appspot.com/10543125 TBR=reveman@chromium.org Review URL: https://codereview.chromium.org/11188053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162656 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add support for GLX_EXT_texture_from_pixmap extension.reveman@chromium.org2012-10-182-0/+17
| | | | | | | | | | | | | | | | | | Implement CHROMIUM_texture_from_image. This extension behaves just like EXT_texture_from_pixmap but uses chromium specific image identifiers rather than platform specific pixmap IDs. Add IPC message for creating an image identifier using a gfx::PluginWindowHandle. Each GPU channel maintains a different set of images and deleting an image will cause the internal image representation to be freed once it's no longer bound to a texture. BUG=132342 TEST=gpu_unittests --gtest_filter=TextureInfoTest.GetLevelImage:GLES2DecoderTest.BindTexImage2DCHROMIUM:GLES2DecoderTest.ReleaseTexImage2DCHROMIUM and manual Review URL: https://chromiumcodereview.appspot.com/10543125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162654 0039d316-1c4b-4281-b951-d872f2087c98
* Get real GPU memory values on NV+Linux and OS X. Add an interface to ↵ccameron@chromium.org2012-09-212-0/+10
| | | | | | | | | | | | | | | GLContext to query the GPU's total video memory. Note that this is the amount of video memory on the currently-rendering GPU, so different contexts will give different values, and the same context may give different values over time (for instance, on a Macbook Pro with graphics switching). Of note is that on a Macbook Pro with graphics switching enabled, the contexts don't move together between GPUs -- some stay on the integrated GPU while others use the discrete GPU. BUG=132994 Review URL: https://chromiumcodereview.appspot.com/10957009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157879 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function to provide the list of third-party directories which are ↵steveblock@chromium.org2012-08-141-1/+4
| | | | | | | | | | | | | | incompatible with Android. For most directories, we use a regex of whitelisted licenses to parse the 'License' field from the metadata. In some case, for example, where a custom license is used, we rely on a new 'Android Compatibility' field. This functionality will be used by the snapshot tool, which will exclude these incompatible directories from the snapshot in the Android tree. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151462 0039d316-1c4b-4281-b951-d872f2087c98
* Use EXT_robustness where available on GLES2 platforms to detect and respond ↵kbr@chromium.org2012-07-271-0/+8
| | | | | | | | | | | | to resets of the graphics card. BUG=138162 TEST=ran https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/extra/slow-shader-example.html on Windows with ANGLE and verified that new code path was taken Review URL: https://chromiumcodereview.appspot.com/10822029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148721 0039d316-1c4b-4281-b951-d872f2087c98
* Add GL_CHROMIUM_get_error_querygman@chromium.org2012-07-092-0/+10
| | | | | | | | | | | | Makes it possible to asynchronously query GL errors. TEST=unit tests BUG=133630 Review URL: https://chromiumcodereview.appspot.com/10577037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145739 0039d316-1c4b-4281-b951-d872f2087c98
* Add glBindUniformLocationCHROMIUMgman@chromium.org2012-06-262-14/+7
| | | | | | | | | TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10635011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144070 0039d316-1c4b-4281-b951-d872f2087c98
* Make GL_CHROMIUM_consistent_uniform_locations slighty more robustgman@chromium.org2012-06-202-2/+3
| | | | | | | | | | | | | | Added a program argument so that at least in debug we can verify locations are correct. It also means we could fallback to actually calling GetUniformLocation if need be. TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10581029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143126 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of an unpremultiplied-alpha setting for the ↵twiz@chromium.org2012-06-191-0/+3
| | | | | | | | | | | | | | | | GL_CHROMIUM_copy_texture command buffer GL extension. The extension needs to support the ability to unpremultiply the source of the copy because of the canvas2d-webgl texture use case. Canvas is stored in premultiplied form, yet WebGL expects texture contents to be in unpremultiplied form. Change also includes conversion of argument types to overriders of WebGraphicsContext3D::copyTextureCHROMIUM(...). This change is necessary as a result of a wk-change: https://bugs.webkit.org/show_bug.cgi?id=86275 BUG=101051 TEST=none Review URL: https://chromiumcodereview.appspot.com/10535174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142962 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GL_CHROMIUM_consistent_uniform_locationsgman@chromium.org2012-06-192-0/+21
| | | | | | | | | BUG=132844 TEST=unit tests Review URL: https://chromiumcodereview.appspot.com/10568003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142879 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of a set of basic unit tests for the GL_CHROMIUM_copy_texture ↵twiz@chromium.org2012-05-041-2/+2
| | | | | | | | | | | | | | | extension. This change also introduces a new parameter to the extension, internal_format. This is to bring the extension closer in functionality to glCopyTexImage. The tests uncovered state that was not being properly restored: GL_BLEND. This is also corrected. TEST=GLCopyTextureCHROMIUMTest.* BUG=126178 Review URL: http://codereview.chromium.org/10356004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135434 0039d316-1c4b-4281-b951-d872f2087c98
* Allow textures to be moved from one GL context group to another.apatrick@chromium.org2012-05-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | The function glProduceTexture(target, mailbox) removes a texture from a context group and puts it in a "mailbox" that is accessible to all context groups on the same channel. Then glConsumeTexture(target, mailbox) adds the texture to a context group, possibly a different one, if the caller knows the name of the mailbox. From the point of view of the caller, the texture objects themselves do not move, just the texels. In terms of the underlying GL, the TextureInfo service IDs are reassigned as necessary. A texture in a mailbox is destroyed when the context group that put it there is destroyed. Expected usage is: // Context 1 glBindTexture(GL_TEXTURE_2D, foo); glProduceTexture(GL_TEXTURE_2D, secret_name); glFlush(); // Context 2 glBindTexture(GL_TEXTURE_2D, bar); glConsumeTexture(GL_TEXTURE_2D, secret_name); Review URL: http://codereview.chromium.org/10106015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134791 0039d316-1c4b-4281-b951-d872f2087c98
* Re-submission of http://codereview.chromium.org/9968113twiz@chromium.org2012-04-202-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | This version corrects the problem that caussed the revert of the above issue. The shaders used by the extension were specifying a precision, which is not supported on desktop GL. The shaders now conditionally specify the precision. ------------------------------------------------------ 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/10124016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133213 0039d316-1c4b-4281-b951-d872f2087c98
* 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