Commit Graph

1032 Commits

Author SHA1 Message Date
Benoit Jacob
08fbad97d7 Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug 2014-10-16 22:03:34 -04:00
Chris Jones
cc1383c2fc Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Jim Chen
60eb885c7d Bug 1077662 - Label GL calls in profiler; r=snorp 2014-10-14 23:20:16 -04:00
Jeff Gilbert
82bb894465 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
David Anderson
47b288ee47 WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456, r=jgilbert).
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
Dan Glastonbury
a12a00353a 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
1d66ded08a 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
4407c7735f Bug 1066280 - Fix non-unified bustage. CLOSED TREE 2014-10-10 13:57:19 -07:00
jdashg
ca85c23987 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
fbd3252fc0 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
9b7291ca7a Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
97fbd15434 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
bd7ba17b6a 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
70b2daa211 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
ff193dd037 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
4317d9fdda Bug 1080296 - Clear out glGetError after checking it. - r=kamidphish 2014-10-07 15:17:42 -07:00
Matt Woodrow
c793628b35 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
460206c009 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
a5902d45bc 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)
08d194e807 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Jeff Gilbert
6108ef9a33 Bug 1048108 - Don't require alpha on ANGLE. - r=kamidphish 2014-10-01 17:05:34 -07:00
Jeff Gilbert
162c30369f Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-10-01 17:05:33 -07:00
Dan Glastonbury
01632be80d 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
e58d7377ba 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
4d1c032271 Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-09-25 16:00:43 -07:00
Dan Glastonbury
9bea11e617 Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert 2014-09-23 15:49:19 +10:00
Jeff Gilbert
0c01b089c8 Bug 1048108 - Exclude RGBA configs when alpha:false. - r=kamidphish 2014-09-24 16:42:27 -07:00
Carsten "Tomcat" Book
9158c7274b 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
610a85135f 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
7d49107084 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
4990473894 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
50b7078ecf 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
86c66d6f5a 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
bf3a35dfd6 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
ceeef21bbf 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
23847423b2 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
f49eba2345 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
e3cdc514c4 Bug 1048668 - WebGL2 - Implement CopyBufferSubData.; r=jgilbert
--HG--
extra : source : b4c58b9519fc35c634d2a912f3900605ccc081a3
2014-05-27 20:13:09 +10:00
Dan Glastonbury
8cdd97be95 Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob
--HG--
extra : source : ba4e3272249d44f13d3923342be5916a5dc8519e
2014-09-18 10:17:00 +10:00
Walter Litwinczyk
842809f16f Bug 933530 - Remove mDataIsCurrent from SharedSurfaceGL. r=jgilbert 2014-09-12 11:37:58 -07:00
Jeff Gilbert
301271b198 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Morris Tseng
6c28267420 Bug 1067283 - Flip NS_WARNING_IF check at GLReadTexImageHelper::ReadTexImge. r=nical 2014-09-15 03:05:00 +02:00
James Willcox
688cd17359 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Walter Litwinczyk
f55b9ef43b 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
aa9fc7efc9 Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert 2014-09-09 18:40:51 -07:00
Milan Sreckovic
f6a4e19787 Bug 1033098: Wallpaper over the intermittent crash. r=nsilva 2014-09-03 15:11:55 -04:00
Ryan VanderMeulen
0774680441 Backed out changeset d5cd910dda69 (bug 1033098) for OSX assertions. 2014-09-03 14:18:24 -04:00
Milan Sreckovic
d627e909c1 Bug 1033098 - Wallpaper over the intermittent crash. r=nsilva 2014-09-02 10:19:52 -04:00
Jeff Gilbert
1623588490 Bug 1060085 - Add thread-local Fence/Poll/Wait to Basic ShSurf. - r=kamidphish 2014-09-02 15:16:02 -07:00