Commit Graph

1237 Commits

Author SHA1 Message Date
Jeff Gilbert
d90fc3e4b5 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Jeff Gilbert
edb2713dd0 Bug 1089981 - Reftest both initial and steady-state frame. - r=kamidphish 2015-01-14 18:04:50 -08:00
Carsten "Tomcat" Book
8f791adba1 Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE 2015-01-13 09:07:26 +01:00
Jeff Gilbert
3cc39226f9 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-12 19:51:20 -08:00
Jeff Gilbert
2cf049a52f Bug 1093967 - Implement BlitFramebuffer. r=kamidphish 2015-01-12 15:05:21 -08:00
Bas Schouten
ee5d18ed76 Bug 1119854 - Followup: Correct one missed conversion of timeout to a finite number. r=jrmuizel 2015-01-10 19:43:15 +01:00
Wes Kocher
33442223e4 Backout ca411b1cf001 (bug 1109945) for shader editor failures 2015-01-09 21:03:54 -08:00
Bas Schouten
92b37cad9e Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel 2015-01-10 04:50:02 +01:00
Wes Kocher
097382fa78 Backed out changeset 88cf7f2fe48f for build bustage 2015-01-09 19:15:54 -08:00
Jeff Gilbert
d74e62cb38 Bug 1093967 - Implement BlitFramebuffer. r=kamidphish 2015-01-09 18:51:20 -08:00
Jeff Gilbert
30c24f2000 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-09 18:40:56 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
39145c283d Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
Jeff Muizelaar
6a5eecd459 Bug 1118100. Remove unused SharedSurfaceIO code. r=jgilbert
--HG--
extra : rebase_source : 9bdd90db5755903fcffdce1f7b95687844c6dfad
2015-01-05 21:57:30 -05:00
Jeff Muizelaar
67ae2cdfa2 Bug 1116190. Make sure we grab the keyed mutex when we read from the surface. r=jgilbert
If we don't do this D3D won't let us get at the contents of the surface.
2015-01-05 17:40:23 -05:00
Jeff Gilbert
d5219ab679 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Jeff Muizelaar
9200e62248 Bug 1112780. Recreate the RenderTargetView on demand. r=jgilbert
This avoids reusing the RenderTargetView across AcquireSync/ReleaseSync pairs
and fixes bug 1109718. It adds a ReleaseSync call to ANGLE
that causes it to invalidate the RenderTargetView.

--HG--
extra : rebase_source : 993a437f5d1e1bfda32ef995b09f216930f174e1
2014-12-28 00:01:02 -05:00
Ehsan Akhgari
fee3111e52 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
Dan Glastonbury
e1d15ba269 Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Dan Glastonbury
e1564ccd25 Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
James Willcox
6314a8fc55 Bug 1097116 - More build bustage r=me
--HG--
extra : rebase_source : 74dce437c198a17280d1fdf459d4e87a64808b21
2014-11-26 16:22:41 -06:00
James Willcox
1f032b0afe Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
--HG--
extra : rebase_source : 038ddc25801541512a4e8231e4a6b586ed02c02b
2014-11-26 15:16:08 -06:00
Dan Glastonbury
90cf60322f Bug 1097413 - Symbolic constants kGLESVersion2 and kGLESVersion3. r=jgilbert
--HG--
extra : rebase_source : 4d82f144bf9b713b50d995cf4db9340098b8f346
extra : source : 2204f9511fc39f27da83f32dfb9596558e67f83a
2014-10-27 09:31:57 +10:00
James Willcox
1c4b3dcdf2 Back out bug 1097116 2014-11-21 09:47:03 -06:00
James Willcox
f72db720a8 Bug 1097116 - Fix readback for EGLImageImage r=jgilbert 2014-11-21 09:28:21 -06:00
Milan Sreckovic
6dd665076b Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert 2014-11-10 22:15:22 -05:00
Jeff Gilbert
3d961e43a1 Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel 2014-10-24 18:26:41 -07:00
Jeff Muizelaar
814986a4f4 Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.

--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
a24b125d4b Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Milan Sreckovic
53a7d1076c Bug 1092191 - Do not warn about failure to load _Z35eglQueryStringImplementationANDROIDPvi. r=dglastonbury 2014-11-11 11:18:44 -05:00
Jeff Gilbert
baa28ca708 Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Jeff Muizelaar
998117ee39 Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.

--HG--
extra : rebase_source : 9ab74710c22c5330809206f1bb16677af5944bad
2014-10-31 10:57:32 -04:00
Jeff Gilbert
6fcb35d440 Bug 1088345 - Misc cleanup. - r=kamidphish 2014-10-27 18:58:03 -07:00
Jeff Gilbert
bf69677207 Bug 1088345 - Handle AA better. - r=kamidphish 2014-10-25 18:32:46 -07:00
Jeff Gilbert
a095bc6ede Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish 2014-10-23 18:55:49 -07:00
Jeff Gilbert
a25184ab43 Bug 1088345 - Improve glGetError handling. - r=kamidphish 2014-10-24 16:52:35 -07:00
Jeff Gilbert
73063eea67 Bug 912196 - Fixes for D3D11 ANGLE. - r=kamidphish 2014-10-08 16:32:50 -07:00
Jeff Gilbert
6d71006fe1 Bug 912196 - Workaround no-alpha-with-ANGLE in WebGL, not GLContext. - r=kamidphish 2014-10-08 16:30:01 -07:00
James Willcox
ff11ba4baf Bug 1014614 - Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
--HG--
extra : rebase_source : e823897f3ff6593af7286432903618dc483877dd
2014-10-21 08:53:02 -05:00
James Willcox
c71c99d61f Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
James Willcox
bde370d6d2 Bug 1014614 - Expose Android native window via AndroidNativeWindow wrapper r=blassey
--HG--
extra : rebase_source : e8fef05b2fdc3ef2b7c43a01655f2c7bf3789208
2014-10-21 08:53:00 -05:00
James Willcox
ffcd3c3420 Bug 1014614 - Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
--HG--
extra : rebase_source : 863f769375474b486ca55d649e7ed332efbef6fe
2014-10-21 08:53:00 -05:00
James Willcox
c4d4f1478e Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Mike Hommey
a4e5d75302 Fixup bug 1084696 on a busted tree. r=me 2014-10-18 16:14:45 +09:00
Jeff Gilbert
48c46c05ca Bug 1084696 - Actually use the RAII helper for locking the DrawTarget. - r=kamidphish 2014-10-17 21:31:27 -07:00
Wes Kocher
a074f0af18 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Wes Kocher
b9f04fe4f1 Backed out changeset 869a28961b5c (bug 1084514) 2014-10-17 16:33:35 -07:00
Ralph Giles
7bd68ff089 Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE
This worked in the unified build because it borrowed includes
and namespace references from other files.
2014-10-17 11:31:00 -07:00
James Willcox
ca5589094b Bug 1014614 - Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
--HG--
extra : rebase_source : 2718fddef7754bb84ef893fc81f175d963b01760
extra : histedit_source : efba21204779c8995e55623ca398d3f0b8336c31
2014-10-17 10:35:13 -05:00
James Willcox
849fe663e7 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
537fa24fe0 Bug 1014614 - Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
--HG--
extra : rebase_source : b6ee26cf973e7d4821fefbcd3b8dba0585779d86
2014-10-17 10:35:10 -05:00
James Willcox
a935256483 Bug 1014614 - Expose Android native window via AndroidNativeWindow wrapper r=blassey
--HG--
extra : rebase_source : a2d27a4223c1bd1189c4c6a32431cc306a3e93c6
2014-10-17 10:35:10 -05:00
James Willcox
102235ca35 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
20b8931e29 Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.

--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Benoit Jacob
012dfb0c0a Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug 2014-10-16 22:03:34 -04:00
Chris Jones
da7f85e29b Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Jim Chen
e31fbbaeaa Bug 1077662 - Label GL calls in profiler; r=snorp 2014-10-14 23:20:16 -04:00
Jeff Gilbert
6771bde885 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
David Anderson
e8609c1ba4 WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456, r=jgilbert).
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
Dan Glastonbury
59fee7075c Bug 1081666 - Fix detection of ARB_transform_feedback2 GL extension.; r=jgilbert
--HG--
extra : rebase_source : da5cfd6bc33a5d7c99aadd6edd20e4b6c1999865
2014-10-13 12:26:16 +10:00
Benoit Jacob
42de88496d Bug 1081125 - WebGL2 3D textures - Part 2: update our texture state tracking to handle 3D textures - r=jgilbert 2014-10-13 19:42:20 -04:00
Jeff Gilbert
bae4221d52 Bug 1066280 - Fix non-unified bustage. CLOSED TREE 2014-10-10 13:57:19 -07:00
jdashg
7eaef7f7e5 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
48843827a7 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
04beb50da5 Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
4e9300d191 Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLContext.cpp                | 10 +++++--
 gfx/gl/GLContext.cpp                       | 20 --------------
 gfx/gl/GLContext.h                         |  3 --
 gfx/gl/GLReadTexImageHelper.cpp            |  5 +++-
 gfx/gl/GLScreenBuffer.cpp                  | 13 +++++++--
 gfx/gl/GLUploadHelpers.cpp                 | 27 ++++++++++++++++++
 gfx/gl/SharedSurfaceGralloc.cpp            | 14 ++++------
 gfx/gl/SharedSurfaceGralloc.h              | 10 +++++--
 gfx/gl/SurfaceTypes.cpp                    |  2 ++
 gfx/gl/SurfaceTypes.h                      |  1 +
 gfx/layers/client/CanvasClient.cpp         | 44 ++++++++++++++++++------------
 gfx/layers/client/CanvasClient.h           |  8 +++---
 gfx/layers/client/ClientCanvasLayer.cpp    |  6 ++++
 gfx/layers/client/ClientCanvasLayer.h      |  2 +-
 gfx/layers/client/TextureClient.cpp        | 11 ++++----
 gfx/layers/client/TextureClient.h          |  6 ++--
 gfx/layers/composite/TextureHost.cpp       | 15 +++++-----
 gfx/layers/composite/TextureHost.h         | 10 +++----
 gfx/layers/d3d10/CanvasLayerD3D10.cpp      |  9 ++++--
 gfx/layers/d3d9/CanvasLayerD3D9.cpp        |  8 ++++--
 gfx/layers/ipc/LayersSurfaces.ipdlh        |  4 +--
 gfx/layers/moz.build                       |  4 ++-
 gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
 gfx/layers/opengl/GrallocTextureClient.h   |  3 ++
 24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
2a692a2b9c Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
 gfx/2d/HelpersCairo.h                   |   2 +
 gfx/gl/GLContext.cpp                    |   3 +-
 gfx/gl/GLContext.h                      |   2 -
 gfx/gl/GLReadTexImageHelper.cpp         |  21 +--
 gfx/gl/GLReadTexImageHelper.h           |   6 +
 gfx/gl/GLScreenBuffer.h                 |   6 +-
 gfx/gl/ScopedGLHelpers.cpp              |  40 +++++
 gfx/gl/ScopedGLHelpers.h                |  26 ++-
 gfx/gl/SharedSurface.cpp                |  94 +++++++++++
 gfx/gl/SharedSurface.h                  |  19 +++
 gfx/gl/SharedSurfaceIO.h                |   4 +
 gfx/layers/CopyableCanvasLayer.cpp      |   3 +-
 gfx/layers/client/CanvasClient.cpp      | 276 +++++++++++++++++++++++++++++---
 gfx/layers/client/CanvasClient.h        |  34 ++++
 gfx/layers/client/ClientCanvasLayer.cpp |  21 ++-
 gfx/layers/client/ClientCanvasLayer.h   |   9 +-
 gfx/layers/client/TextureClient.cpp     |  35 ++++
 gfx/layers/client/TextureClient.h       |  85 +++++++++-
 gfx/layers/composite/TextureHost.cpp    | 131 ++++++++++++++-
 gfx/layers/composite/TextureHost.h      |  64 ++++++++
 gfx/layers/d3d10/CanvasLayerD3D10.cpp   |   5 +-
 gfx/layers/ipc/LayersSurfaces.ipdlh     |   5 +
 22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
jdashg
b34e879eb0 Bug 1066280 - Implement GLScreenBuffer simplification. - r=kamidphish
From 2aa5dfd3c1e0ef8d8033ad1daf864455fb01f87b Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLScreenBuffer.cpp | 70 +++++++++++++++++++++++------------------------
 gfx/gl/GLScreenBuffer.h   | 36 ++++++++----------------
 2 files changed, 45 insertions(+), 61 deletions(-)
2014-10-07 21:01:07 -07:00
jdashg
7fdc437010 Bug 1066280 - Implement ShSurfHandle. - r=kamidphish
From 09b5a1bc279f051e1e491b33e20a5b492ea7ef51 Mon Sep 17 00:00:00 2001
---
 gfx/gl/SharedSurface.cpp | 10 ++++++++++
 gfx/gl/SharedSurface.h   | 38 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 1 deletion(-)
2014-10-07 20:59:37 -07:00
jdashg
eefb25b36a Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish 2014-10-07 15:17:42 -07:00
Matt Woodrow
c54d31d14c Bug 1078109 - Make sure we initialize tiled textures to the format we're going to upload with. r=jgilbert
--HG--
extra : rebase_source : a779c602a9ef55f8a36e0e5886302f3d3d9624f0
2014-10-08 13:10:59 +13:00
Benoit Jacob
9fc8a1b4bc Bug 1077183 - Untangle the confusion between effective and unsized internalformats in the WebGL implementation - r=jgilbert 2014-10-07 19:52:58 -04:00
Vladimir Vukicevic
03d8b2d53c Bug 912196. Add support for ANGLE D3D11 path. r=jgilbert
There are currently problems with the color format chosen
which breaks MSAA resolution. But we might as well land this
now.

--HG--
extra : rebase_source : 1287e5c059e263d03b0d612ce5cf17e93bc5b033
2014-04-03 13:29:22 +08:00
Dan Glastonbury ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E)
913c3a5c89 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Jeff Gilbert
101160baec Bug 1048108 - Don't require alpha on ANGLE. - r=kamidphish 2014-10-01 17:05:34 -07:00
Jeff Gilbert
6bc5648c2b Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-10-01 17:05:33 -07:00
Dan Glastonbury
5a4670ae49 Bug 1048747 - WebGL2 - GL symbols for GetIntegeri_v and GetInteger64i_v.; r=jgilbert
--HG--
extra : rebase_source : d4c5a1a6e4a5c6f772a4f69c2ff3edab50d0d6e4
extra : source : 9929d6519682ca1b0dac4e7390349a2254d711c5
2014-05-27 20:21:30 +10:00
Wes Kocher
924010ceed Backed out 2 changesets (bug 1048108) for b2g build bustage
Backed out changeset dc8fac10012d (bug 1048108)
Backed out changeset 5da1e1c4c706 (bug 1048108)
2014-09-25 16:33:28 -07:00
Jeff Gilbert
43c71fe2b6 Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-09-25 16:00:43 -07:00
Dan Glastonbury
1760781406 Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert 2014-09-23 15:49:19 +10:00
Jeff Gilbert
feb7643d1e Bug 1048108 - Exclude RGBA configs when alpha:false. - r=kamidphish 2014-09-24 16:42:27 -07:00
Carsten "Tomcat" Book
b378e812bf Backed out changeset 231c5214e07c (bug 1048741) for crashtest and m2 test failures on a CLOSED TREE 2014-09-24 08:15:19 +02:00
Dan Glastonbury
dbd1edb471 Bug 1048741 - WebGL2 - GL symbols for 3D textures.; r=jgilbert
--HG--
extra : rebase_source : f1ab1982187f5c611a0f13fbcdb38414b2fe8942
2014-09-23 15:50:10 +10:00
Dan Glastonbury
24be65d689 Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert
--HG--
extra : rebase_source : 4465ba102179f3ae338f19632d77547686df0220
2014-09-23 15:49:19 +10:00
Dan Glastonbury
41848793bf Bug 1048724 - WebGL2 - GL symbols for Transform Feedback.; r=jgilbert
--HG--
extra : rebase_source : f47b2a8203b0dc23dd871987c2b2f7dae28b2723
extra : source : a0ecb0468b8a2998b676da63678938d9f9d58f52
2014-09-23 15:47:28 +10:00
Dan Glastonbury
423c48f63d Bug 1048745 - WebGL2 - GL symbols for gpu_shader_4.; r=jgilbert
--HG--
extra : rebase_source : 9da56a67fc59ef27a8ff28e960bfc1175a6fc936
extra : source : 0c1b303c73fa1f7dad836235d4916ae6b618bfe2
2014-09-23 15:27:55 +10:00
Dan Glastonbury
406dbe957b Bug 1048745 - WebGL2 - GL symbols for VertexAttribI.; r=jgilbert
--HG--
extra : rebase_source : 57ceb97a1f21c85427c8108ea7ff41f93fe24789
extra : source : 0d1c61620e601c851f61cd062e42204c2e50e3e0
2014-09-23 15:38:01 +10:00
Dan Glastonbury
2d90864858 Bug 1048745 - WebGL2 - GL symbols for uniformui & non-square uniform matrix.; r=jgilbert
--HG--
extra : rebase_source : bd47b6bbde06ba7f8a945aa55f751d8a3c074946
extra : source : 5b135f5f9492b2606c593ad0c800488f6a51274c
2014-09-23 15:33:55 +10:00
Dan Glastonbury
67f3d743aa Bug 1048720 - WebGL2 - GL symbols for Samplers.; r=jgilbert
--HG--
extra : rebase_source : e166bb27c051843bc469389fddd8fce8ef425ad3
extra : source : 2203b912f17e2f501f9bf65343dfadb05256dfd8
2014-09-23 15:45:34 +10:00
Dan Glastonbury
ac90cc8aaf Bug 1048747 - WebGL2 - GL symbols for Uniform Buffers.; r=jgilbert
--HG--
extra : source : 34a79f131e233c980416deb8bae23a4bcca2b4c5
extra : histedit_source : 1951d9d8a7bad6e7074d0cca60bbced7dd7bb765
2014-07-14 14:34:17 +10:00
Dan Glastonbury
7e1def481c Bug 1048693 - WebGL2 - GL symbols for MapBufferRange.; r=jgilbert
--HG--
extra : source : 60f8018abde66d8ec07329fabaa0a7131acf84da
extra : histedit_source : b4fa1e2d81c7c007479ae2409233a600fc75c257
2014-08-08 11:47:13 +10:00
Dan Glastonbury
48335c2fba Bug 1048668 - WebGL2 - Implement CopyBufferSubData.; r=jgilbert
--HG--
extra : source : b4c58b9519fc35c634d2a912f3900605ccc081a3
2014-05-27 20:13:09 +10:00
Dan Glastonbury
9759987866 Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob
--HG--
extra : source : ba4e3272249d44f13d3923342be5916a5dc8519e
2014-09-18 10:17:00 +10:00
Walter Litwinczyk
5e29ba50b8 Bug 933530 - Remove mDataIsCurrent from SharedSurfaceGL. r=jgilbert 2014-09-12 11:37:58 -07:00
Jeff Gilbert
f2854bc42a Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Morris Tseng
6c21e07971 Bug 1067283 - Flip NS_WARNING_IF check at GLReadTexImageHelper::ReadTexImge. r=nical 2014-09-15 03:05:00 +02:00
James Willcox
5213131814 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
f7f6759423 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Walter Litwinczyk
f10aef21ea Bug 806301 - Fail early if creating an antialiased buffer will fail. Prevents assert in LLVM pipe. r=jgilbert 2014-08-21 14:59:25 -07:00
Sotaro Ikeda
58f26a1095 Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert 2014-09-09 18:40:51 -07:00
Milan Sreckovic
d677df169a Bug 1033098: Wallpaper over the intermittent crash. r=nsilva 2014-09-03 15:11:55 -04:00
Ryan VanderMeulen
fbd980eadc Backed out changeset d5cd910dda69 (bug 1033098) for OSX assertions. 2014-09-03 14:18:24 -04:00
Milan Sreckovic
01dab396cb Bug 1033098 - Wallpaper over the intermittent crash. r=nsilva 2014-09-02 10:19:52 -04:00
Jeff Gilbert
0ffe34b3e6 Bug 1060085 - Add thread-local Fence/Poll/Wait to Basic ShSurf. - r=kamidphish 2014-09-02 15:16:02 -07:00
Jeff Gilbert
b513b42b16 Bug 1060085 - Add entrypoints, use NV_fence in ANGLE ShSurfs. - r=kamidphish 2014-09-02 15:15:41 -07:00
Ehsan Akhgari
a8b4c3d32c Bug 1060918 - Do not rely on two implicit conversions in GLContextProviderWGL.cpp for clang-cl compatibility; r=jrmuizel
This works around http://llvm.org/PR20821.
2014-09-02 12:20:50 -04:00
James Willcox
43e1476423 Bug 1056947 - Don't enable GLFeature::draw_buffers (and therefore WEBGL_draw_buffers) on GLES3 r=jgilbert
--HG--
extra : rebase_source : b2ba97bf610bc414ab744ab08d788b740d518578
2014-09-02 09:57:55 -05:00
Nicolas Silva
d9c2fd4a31 Bug 1059793 - Mark the compositor's gl context destroyed before the widget is gone. r=jgilbert 2014-09-02 14:05:00 +02:00
chiajung hung
00da629c81 Bug 1060121 - Make WebGLContext::TexImage2D avoid readback for video elements on Windows. r=jgilbert 2014-08-31 21:00:00 +02:00
Ehsan Akhgari
ff03b1e31d Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Botond Ballo
de236fcf39 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Jeff Gilbert
c75ea879c9 Bug 996266 - Fix bustage. 2014-08-27 16:18:46 -07:00
Jeff Gilbert
011ae69c55 Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 16:18:43 -07:00
Jeff Gilbert
1ed263ae5a Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 16:16:22 -07:00
Milan Sreckovic
33707ea4c4 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Carsten "Tomcat" Book
fd9ea35c8f Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Carsten "Tomcat" Book
b151bcb189 Backed out changeset c97ad94c5220 (bug 996266) 2014-08-27 11:15:21 +02:00
Jeff Gilbert
5c6de53bee Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 01:31:14 -07:00
Jeff Gilbert
64594af101 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Ryan VanderMeulen
dc257cd65c Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3d7ea0d29f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Kartikaya Gupta
b94f1f1e66 Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Jeff Gilbert
234d167c1b Bug 1053635 - Expose SharedSurfaceEGL::mImage. r=romaxa 2014-08-14 15:07:00 -04:00
Jeff Gilbert
df69c25d22 Bug 1049957 - Fixes from reviews. - r=kamidphish 2014-08-15 17:38:09 -07:00
Jeff Gilbert
e40cda1e82 Bug 1049957 - Use custom std::queue wrapper instead of std::queue<UniquePtr<T>>. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
020dcdc20d Bug 1049957 - Fix compilation errors. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
9398064484 Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
9522b1e02b Bug 1049957 - Use RefPtr for SurfaceStream. - r=kamidphish 2014-08-15 17:38:07 -07:00
Jeff Gilbert
9a9c84b08d Bug 1049957 - Use UniquePtr for GLScreenBuffer. - r=kamidphish 2014-08-15 17:38:07 -07:00
Ehsan Akhgari
0ada9aaedb Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Dan Glastonbury
55390a0451 Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
George Wright
0822003d35 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
3fbb94d55e [PATCH 04/15] Bug 1017113 - Remove GL functions no longer required by Ganesh r=mattwoodrow 2014-07-27 20:52:33 -04:00
Vladimir Vukicevic
75dbfa47a7 b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Jeff Gilbert
5e66cf642c Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
b538629725 Bug 1045955 - Tighten requirements for framebuffer_blit, and use GL_FRAMEBUFFER when unavailable. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
12c1a69895 Bug 1045955 - Allow blitting 'internal' fb0. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
908fbe7326 Bug 1045955 - Make snapshots pick RGBA or RGBX. - r=kamidphish 2014-08-07 19:03:24 -07:00
Jeff Gilbert
5d94a3c45b Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow 2014-08-04 22:10:47 -07:00
Jeff Gilbert
29789c9c47 Bug 1048562 - Add support for NV_fence to GLContext. - r=mattwoodrow 2014-08-04 22:09:20 -07:00
David Zbarsky
8c1ef01d07 Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Ryan VanderMeulen
43862fc568 Backed out changeset aef0101ff775 (bug 1045955) for B2G reftest failures.
CLOSED TREE
2014-07-30 14:43:30 -04:00
Jeff Gilbert
0ac063296b Bug 1045957 - Improve code in GLReadTexImageHelper.cpp. - r=mattwoodrow 2014-07-30 10:35:30 -07:00
Jeff Gilbert
b55607e195 Bug 1045955 - Fix compositing for screen-based WebGL ShSurfs. - r=kamidphish 2014-07-30 10:03:07 -07:00
Jeff Gilbert
2ce8f2c459 Bug 1045955 - Fix style. - r=kamidphish 2014-07-30 10:03:07 -07:00
Wes Kocher
b68dfa645a Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
e5dbc8f610 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
Carsten "Tomcat" Book
a7fe7a7483 Merge mozilla-central to b2g-inbound a=sheriffduty 2014-07-29 11:22:53 +02:00
Michael Wu
2fac4d4cf9 Bug 1042949 - Remove gScreenBounds hack in GLContextProviderEGL.cpp, r=jgilbert 2014-07-22 17:33:03 -04:00
Benoit Jacob
b264c11949 Bug 978966 - Disable framebuffer_multisample on Microsoft Basic Render Driver because it assumes blending with default blendfunc, breaking WebGL - r=kamidphish 2014-07-25 10:35:03 -04:00
Gautam Akiwate
0d98970e0e Bug 1021614 - [Moz2Dification] Remove the constructors that use thebes sizes in GLTextureImage.h. r=nical 2014-07-23 21:13:00 +02:00
Vladimir Vukicevic
6f7d9102ed b=965848; implement EXT_shader_texture_lod for WebGL; r=jgilbert, r=bz 2014-07-24 11:58:43 -04:00
Benoit Girard
c725f3de8b Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Michael Wu
9c56ff3a5c Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert 2014-06-17 17:19:11 -04:00
chiajung hung
3ebca330a0 Bug 814524 - Change YUV=>RGB formula to a more precise version. r=jgilbert 2014-07-14 19:46:00 -04:00
Walter Litwinczyk
1e00e7544d Bug 1024196 - Fix leak of |i| variable in CreateGrGLInterfaceFromGLContext. r=gw280 2014-07-09 13:40:40 -07:00
Jeff Gilbert
71d7bf6e9b Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
1a5db8b68a Backed out changeset 53f0f0e43ea5 2014-07-11 21:59:48 -07:00
Jeff Gilbert
700e932b6f Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 21:58:00 -07:00
Jeff Gilbert
a707c24aa1 Bug 843673 - Re-enable WebGL instanced drawing, and fix the max instance calculation. - r=kamidphish 2014-07-11 21:53:57 -07:00
Jeff Walden
47761ebf3d Bleh, forgot to qref, still fixing bug 1037100. r=bustage 2014-07-11 21:05:59 -07:00
Jeff Walden
39e2b3570b Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Jeff Walden
b14f626d03 Bug 1037100 - Remove all ScopedDeleteArray uses from gfx/gl/. r=jgilbert
--HG--
extra : rebase_source : fff244a14da1605f8c6db552925f5bc4b34fb106
2014-07-10 17:43:01 -07:00
Jeff Gilbert
2bcd725268 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jonathan Watt
5929edfbe4 Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis 2014-07-11 08:06:38 +01:00
chiajung hung
0c1c5e3762 Bug 814524 - Make WebGLContext::TexImage2D avoid readback for video elements, r=jgilbert 2014-07-08 20:52:00 +02:00
Jeff Walden
aab34535ba Bug 953296 - Convert ScopedDeletePtr to UniquePtr in various bits of canvas/graphics/GL code. r=jgilbert
--HG--
extra : rebase_source : cd1e332837ff49199d62805f554bf1123eea334f
2014-01-06 09:49:03 -06:00
Vladimir Vukicevic
6b6d72d91a b=1009965, be explicit about whether we're quering for core GL symbols or extension GL symbols; r=bjacob,jrmuizel 2014-05-13 17:18:42 -07:00
Vladimir Vukicevic
ce9d926577 b=1009960, teach ScopedBindFramebuffer about spilt read/draw framebuffers; r=bjacob 2014-05-13 17:14:53 -07:00
Sotaro Ikeda
da66905f6e Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Sotaro Ikeda
18de478eba Bug 1022205 - disable sync fence on AdrenoTM200 r=jgilbert 2014-06-24 08:59:59 -07:00
Benoit Jacob
8c1b0d7cfc Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Jonathan Watt
1cdf5f551b Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jeff Gilbert
4ffbabe4bc Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
df64a4a5ba Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jonathan Watt
ccdf9306e6 Bug 1025489 - Stop using gfxImageSurface in the GL code. r=Bas 2014-06-17 18:35:50 +01:00
Jonathan Watt
03ee096c80 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +01:00
Michael Wu
6682b8f84f Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Dan Glastonbury
f09bc705aa Bug 1024256 - Blacklist S3TC extension on OSX 10.9 Intel HD 3000 driver because of buggy glCompressedTexSubImage2D with sub-image update; r=jgilbert 2014-06-16 09:30:04 +10:00
Sotaro Ikeda
2cb7465aa3 Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Ryan VanderMeulen
2959413a50 Backed out changeset abdb3afb7208 (bug 1014815) for B2G reftest failures. 2014-06-07 00:02:28 -04:00
Benoit Girard
23efee93e4 Bug 1014815 - Add a delay stage for webgl on b2g to let frame resolve. r=jgilbert
--HG--
extra : rebase_source : ca0d405db3af1e7f8f38456fedbb8b27b9f3b249
2014-06-04 14:25:18 -04:00
Wes Kocher
2486c8c21e Backed out changeset cb1ea8162165 (bug 1000640) 2014-06-04 18:27:31 -07:00
Wes Kocher
3729ad76bc Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Jeff Gilbert
47ba34ee84 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
541bb49d11 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jonathan Watt
74deef2107 Bug 1019727 - Remove TextureImageCGL::GetSurfaceForUpdate(). r=bjacob 2014-06-04 08:08:39 +01:00
Jeff Gilbert
554c1772a5 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-06-02 14:40:15 -07:00
Phil Ringnalda
a8252339ca Merge m-c to m-i 2014-05-31 20:38:25 -07:00
Jeff Muizelaar
af3adbf234 Bug 1013647. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : 7d64a1337cbe951069648422d4c42600fdab28a1
2014-05-31 00:39:16 -04:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal
0e6e43201a Bug 1016086 - Part 3: Make sure ReadTexImageHelper doesn't change the attribute state during composition (r=Bas) 2014-05-29 18:28:40 -04:00
Ryan VanderMeulen
a84b80db96 Merge m-c to inbound on a CLOSED TREE. 2014-05-29 14:46:47 -04:00
Ryan VanderMeulen
059f189910 Backed out changeset 441137505200 (bug 980178) for causing various TBPL crashes. 2014-05-29 14:33:28 -04:00
Wes Kocher
c81d90b9e0 Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Andreas Gal
d662931cd0 Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-28 16:18:43 -04:00