| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/11554033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172785 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|