summaryrefslogtreecommitdiffstats
path: root/third_party/khronos/README.chromium
Commit message (Collapse)AuthorAgeFilesLines
* Updated Khronos GLES2 headers. (Take 2, Original: ↵bajones@chromium.org2013-12-301-4/+3
| | | | | | | | | | | | | | https://codereview.chromium.org/99053007/) There was a type conflict between the previous, out of date headers and the more recent ones included in ANGLE that was causing failures on 64-bit Windows. BUG=326382 TBR=kbr@chromium.org, piman@chromium.org, raymes@chromium.org, robertphillips@google.com Review URL: https://codereview.chromium.org/115143004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242740 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of https://codereview.chromium.org/99053007/bajones@chromium.org2013-12-181-3/+4
| | | | | | | | | | | | Reason for revert: Build errors. TBR=kbr@chromium.org,piman@chromium.org,brettw@chromium.org,bbudge@chromium.org,raymes@chromium.org,robertphillips@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/106903014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241675 0039d316-1c4b-4281-b951-d872f2087c98
* Updated Khronos GLES2 headers.bajones@chromium.org2013-12-181-4/+3
| | | | | | | | | | | | | There was a type conflict between the previous, out of date headers and the more recent ones included in ANGLE that was causing failures on 64-bit Windows. BUG=326382 R=kbr@chromium.org, piman@chromium.org, raymes@chromium.org TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/99053007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241661 0039d316-1c4b-4281-b951-d872f2087c98
* Added EGLNativeWindow etc. typedefs for ozone.rjkroege@chromium.org2013-05-231-0/+1
| | | | | | | | 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
* Revert 185521tommi@chromium.org2013-03-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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-011-0/+1
| | | | | | | | | | | | | | | | 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-011-1/+0
| | | | | | | | | | | | | | | | | | | | > 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-011-0/+1
| | | | | | | | | | | | | | | | 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-281-1/+0
| | | | | | | | 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
* Move code around to fix build with system mesa.phajdan.jr@chromium.org2013-01-161-18/+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
* CrOS: Plumb through vsync info to compositor on EGL stacksbacker@chromium.org2013-01-141-0/+2
| | | | | | | | | | | 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
* Add a command to lose the contextgman@chromium.org2012-12-171-7/+8
| | | | | | | | | 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-141-0/+1
| | | | | | | | | | | | | | | 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-141-4/+0
| | | | | | | | | | 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-131-1/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11554033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172785 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add async upload functions.epenner@chromium.org2012-11-301-0/+1
| | | | | | | | | | | | | | 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
* Add support for GL_CHROMIUM_pixel_transfer_buffer_object.reveman@chromium.org2012-11-211-0/+1
| | | | | | | | | | | | | | | | | 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
* Update Chrome's GLES2 Headersgman@chromium.org2012-11-201-1/+7
| | | | | | | | | 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-231-0/+1
| | | | | | | | | | | | 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-181-0/+1
| | | | | | | | | | | | | | | | | | | | 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-181-1/+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-181-0/+1
| | | | | | | | | | | | | | | | | | 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-211-0/+1
| | | | | | | | | | | | | | | 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
* Add GL_CHROMIUM_get_error_querygman@chromium.org2012-07-091-0/+1
| | | | | | | | | | | | 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-261-2/+1
| | | | | | | | | 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-201-0/+1
| | | | | | | | | | | | | | 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
* Add support for GL_CHROMIUM_consistent_uniform_locationsgman@chromium.org2012-06-191-0/+1
| | | | | | | | | 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
* Re-submission of http://codereview.chromium.org/9968113twiz@chromium.org2012-04-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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-191-1/+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-191-0/+1
| | | | | | | | | | | | | | | | | | | | | 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-141-0/+1
| | | | | | | | | | | | | | | | 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
* Fix a double define in gl2ext.hgman@chromium.org2012-02-221-0/+1
| | | | | | | | | | | | | | | | | | 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-091-0/+1
| | | | | | | | | | 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-071-1/+1
| | | | | | | | | | 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-011-0/+2
| | | | | | | | | | 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
* Move GL headers from gpu to third_party/khronosskyostil@google.com2011-11-241-0/+20
| | | | | | | | | | | | | 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-221-20/+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-221-0/+20
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