Commit Graph

188 Commits

Author SHA1 Message Date
David Anderson
79fb3b538c WebGL2: implement TEXTURE_IMMUTABLE_FORMAT for getTexParameter (bug 1080299, r=jgilbert).
--HG--
extra : rebase_source : 79f493cb48e106c99685ae92d65d6dd228139489
2014-10-14 16:33:59 -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
Jonathan Kew
6fea005a92 Bug 1082083 - Apply division to the y-coordinate only, not to the point as a whole. r=jdaggett 2014-10-14 20:56:08 +01:00
Benoit Jacob
296f0f2d0e Bug 1082277 - WebGL2: Catch GL errors such as OUT_OF_MEMORY in texStorage entry points - r=jgilbert 2014-10-14 08:55:08 -04:00
Benoit Jacob
a18f2cbb05 Bug 1082248 - Skip redundant deferred texture image initialization when doing full-image updates - r=jgilbert 2014-10-14 08:54:52 -04:00
Steve Singer
94720867c8 Bug 1081694 - Include SkiaGLGlue.h on non-skia platforms. r=jgilbert 2014-10-12 09:58:00 +02:00
Benoit Jacob
0127974f52 Bug 1081125 - WebGL2 3D textures - Part 4: implement texSubImage3D - r=jgilbert 2014-10-13 19:42:29 -04:00
Benoit Jacob
8c1d50a737 Bug 1081125 - WebGL2 3D textures - Part 3: implement texStorage3D - r=jgilbert 2014-10-13 19:42:24 -04: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
Benoit Jacob
91d773f494 Bug 1081125 - WebGL2 3D textures - Part 1: add WebGLTexDimensions enum instead of using plain ints to distinguish between 2D and 3D calls - r=jgilbert 2014-10-13 19:42:15 -04:00
Benoit Jacob
8bd31a6f65 Bug 1081125 - WebGL2 3D textures - Part 0: stop using plain ints for jsArrayTypes - r=jgilbert 2014-10-13 19:42:11 -04:00
Walter Litwinczyk
4d2e0520e3 Bug 1015561 - WebGL change getParameter(STENCIL_[BACK]_REF) to return correct masked values and update debug cached value test. r=jgilbert 2014-09-26 15:06:38 -07:00
Jeff Gilbert
599734a3c4 Bug 1079848 - Large allocs should be infallible and handled. - r=kamidphish 2014-10-10 16:25:07 -07:00
Benoit Jacob
9293e8da7b Bug 1081286 - WebGL2: account for the fact that SRGB formats break the 1:1 mapping between sized formats and (unsized format, type) pairs - r=jgilbert 2014-10-11 19:07:33 -04:00
jdashg
1d871dfa7e Bug 1080266 - Simplify WebGLContext::LinkProgram. - r=kamidphish 2014-10-03 14:47:00 -07:00
jdashg
8d30cdc7be Bug 1080266 - Move UpdateInfo into WebGLProgram.cpp. - r=kamidphish 2014-10-03 14:36:57 -07:00
jdashg
bd708441da Bug 1080922 - Stop logging from fixed bug 763355. - r=kamidphish 2014-10-09 18:57:23 -07:00
jdashg
8f90150b49 Bug 1080922 - Add mach mochitest-plain targets for webgl mochitests. - r=kamidphish 2014-10-09 16:29:52 -07:00
jdashg
29efadeb7f Bug 1080922 - Regenerate webgl conformance mochitests. 2014-10-09 16:02:52 -07:00
jdashg
230927b72c Bug 1080922 - Add subtest logging to mochi-single.html. - r=kamidphish 2014-10-09 16:01:47 -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
ef52752f00 Bug 1079608 - Move blend_minmax out from under Draft. - r=kamidphish 2014-10-07 15:16:54 -07:00
Benoit Jacob
58b03977ff Bug 1080137 - WebGL2: misc fixes to make new tex formats and sized internalformats actually work - r=jgilbert 2014-10-09 16:07:07 -04:00
Steve Fink
b640335cbc Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Jonathan Kew
cd20b667c6 Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Carsten "Tomcat" Book
2db885f447 merge mozilla-inbound to mozilla-central a=merge 2014-10-08 15:45:22 +02:00
Carsten "Tomcat" Book
12f1280ce3 Backed out changeset 88bb2a142e10 (bug 902799) on smaugs requests for regressions/crashes 2014-10-08 15:41:35 +02: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
Ehsan Akhgari
393a0db497 Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku 2014-09-24 09:16:53 -04:00
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Jonathan Kew
9e6b1ce2ef Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Ed Morley
d23852e136 Backed out changeset a3250bad7f3c (bug 902799) for build failures on Windows 2014-10-06 15:55:56 +01:00
Jonathan Kew
a0d9529795 Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 15:14:54 +01: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
Benoit Jacob
3a2e260638 Bug 1072680 - Untangle the mixup of formats vs internalformats in the WebGL implementation - r=jgilbert 2014-10-04 22:24:24 -04:00
Dan Glastonbury
4ffb153247 Bug 1075305 - WebGL2 - convert BaseTexFormat() to use strong GL types.; r=bjacob
--HG--
extra : rebase_source : dc805b06ca0758aea3ec0a3727816011aac83186
extra : source : 8a155fbe61b62b4be3f4e82bf6e9c39446d910c3
2014-09-30 14:03:29 +10:00
Dan Glastonbury
b6117c9d45 Bug 1075305 - Sort strong GL type TexFormat.; r=:bjacob
--HG--
extra : rebase_source : b2429b3a5ca0257541d0de35863c7279eed5061f
extra : source : dcbe7e7b4728325e68a133bfc4a9e61f2e7d6b3c
2014-10-02 17:23:37 +10:00
Dan Glastonbury
c7adc4e4fe Bug 1075305 - WebGL2 - remove WebGL prefix from WebGLTexture::ImageInfo.; r=bjacob
--HG--
extra : rebase_source : f724d3f293f83f8e905175e1be6e9f6987e58454
extra : source : dc6fbe00f4d764b7f02818667addf12f038b72f3
2014-09-30 13:50:00 +10:00
Dan Glastonbury
97e4f7f9a6 Bug 1705305 - Rename WebGLTexture::ImageInfo::WebGLFormat to WebGLTexture::ImageInfo::WebGLInternalFormat.; r=bjacob
--HG--
extra : rebase_source : 72cb9f5d79b6c349697f107ff1689a421cefbe66
extra : source : ccc10059a97fe9a9fd684cbdb553c75c6403808c
2014-07-15 09:55:33 +10:00
Anuj Agarwal
b7608857c2 Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj 2014-10-01 11:26:00 +02:00
Jeff Gilbert
9e095a11ad Bug 1048108 - Workaround ANGLE not having no-alpha surfaces. - r=kamidphish 2014-10-01 17:05:34 -07:00
Jonathan Kew
4a06c41b0a Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett 2014-09-30 07:38:35 +01:00
Jonathan Kew
c5e1a54d59 Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett 2014-09-30 07:38:26 +01:00
Jonathan Watt
243d1f8a0e Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas 2014-09-29 18:32:36 +01:00
Jonathan Watt
86873ad352 Bug 1071774 - Restore the current transform in a couple of places that fail to do so. r=seth 2014-09-29 18:26:31 +01:00
Jonathan Watt
4d2d3b0296 Bug 1073363, part 3 - Convert some Mozilla code to use Moz2D's new GeneralPattern class. r=Bas 2014-09-29 14:12:06 +01:00
Walter Litwinczyk
6875e2a589 Bug 1073216 - WebGL add strong GLenum support for VAO/Buffer bindings, and texture min/mag/wrap types. r=jgilbert 2014-09-26 13:11:51 -07:00