Граф коммитов

2443 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul ff2bc5ca0b Backed out changeset 4b5b1ff23dd7 (bug 1372157) for failing at webgl-conf/generated/test_2_conformance2__vertex_arrays__vertex-array-object.html on a CLOSED TREE 2018-10-24 22:46:34 +03:00
Jeff Gilbert 1514c1a9f2 Bug 1399501 - MakeCurrent again in InitAndValidateGL. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9290
2018-10-24 11:36:02 -07:00
Jeff Gilbert e6ec78d63c Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-24 11:35:58 -07:00
Jeff Gilbert 4f57ad7f07 Bug 1372157 - Fix IsFoo results in WebGL. r=kvark
Passes deqp/functional/gles3/lifetime.html.

Differential Revision: https://phabricator.services.mozilla.com/D8956
2018-10-24 11:30:58 -07:00
Andrea Marchesini 581091e733 Bug 1500733 - Remove tests, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini b8f3de6ba0 Bug 1500733 - Remove ImageBitmap.findOptimalFormat, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini be09783aca Bug 1500733 - Remove ImageBitmap.mappedDataLength, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini 39a76c5462 Bug 1500733 - Remove ImageBitmap.mapDataInto, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini e4a7eded18 Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini 4b02de9de7 Bug 1497925 - CreateImageBitmap must ignore the Blob.type value, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini 595a1dde91 Bug 1500786 - createImageBitmap should throw InvalidStateError with already closed imageBitmap as input, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini ff2c1dfc45 Bug 1500780 - CreateImageBitmap should handle OOM as InvalidState error, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini e7af025911 Bug 1500736 - CreateImageBitmap should throw InvalidStateError when the allocation fails, r=aosmond 2018-10-23 23:35:43 +02:00
Cosmin Sabou 72ce9165c6 Backed out 3 changesets (bug 1399501) for aseertions failures on GLContextProviderEGL.
Backed out changeset 7c110571ab1a (bug 1399501)
Backed out changeset b7e7638dbfd1 (bug 1399501)
Backed out changeset b4c2cdd8d03b (bug 1399501)
2018-10-23 23:38:21 +03:00
Jeff Gilbert e8b7e3b6fd Bug 1399501 - MakeCurrent again in InitAndValidateGL. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D9290
2018-10-23 13:07:53 -07:00
Jeff Gilbert 41a2268594 Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

Differential Revision: https://phabricator.services.mozilla.com/D9288
2018-10-23 13:07:51 -07:00
Andrea Marchesini 17f8a25e39 Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond 2018-10-23 08:17:28 +02:00
Jeff Gilbert fbfee407a0 Bug 1499580 - Check enum in CompressedTexSubImage. r=kvark
Also skip some redundent `compression` checks.

Differential Revision: https://phabricator.services.mozilla.com/D8938

--HG--
extra : moz-landing-system : lando
2018-10-17 19:13:14 +00:00
Jeff Gilbert 4098f41704 Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
Net-removes 700LOC, too!

Differential Revision: https://phabricator.services.mozilla.com/D8325

--HG--
extra : moz-landing-system : lando
2018-10-17 04:18:15 +00:00
Jean-Yves Avenard 103efd79bc Bug 1497294 - P7. Add P016 and P010 surface format support. r=jgilbert
This is only used with DXVA decoder. P016 and P010 are just like NV12 but with 16 bits data..

Depends on D8246

Differential Revision: https://phabricator.services.mozilla.com/D8136

--HG--
extra : moz-landing-system : lando
2018-10-10 22:21:53 +00:00
Jean-Yves Avenard 786dffc1c6 Bug 1497294 - P1. Remove duplicated method. r=nical
Additionally, add info for the following type:
    R8G8B8
    B8G8R8
    R8G8
    HSV
    Lab
    DEPTH

Differential Revision: https://phabricator.services.mozilla.com/D8065

--HG--
extra : moz-landing-system : lando
2018-10-09 13:07:58 +00:00
Jeff Gilbert cf84a14cbe Bug 1494809 - Also remove now-useless #ifdef FOO\n#error.
Warnings should handle this for us.
2018-10-10 18:13:18 -07:00
Jeff Gilbert 2724c063c3 Bug 1494809 - Mark test failures. 2018-10-10 18:13:16 -07:00
Jeff Gilbert dd4766f2a3 Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.


--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-10 18:13:14 -07:00
Jeff Gilbert e4fcfa0ef8 Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark 2018-10-10 18:13:13 -07:00
Jeff Gilbert f7941731a5 Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-10 18:13:11 -07:00
Coroiu Cristina 9a1a60c7fb Backed out 7 changesets (bug 1494809) for build bustage at build/src/dom/canvas/WebGLTextureUpload.cpp on a CLOSED TREE
Backed out changeset 89e092c992ae (bug 1494809)
Backed out changeset 076aed819da6 (bug 1494809)
Backed out changeset 101b4c98aad8 (bug 1494809)
Backed out changeset a2612f006753 (bug 1494809)
Backed out changeset be2ec3c05d10 (bug 1494809)
Backed out changeset 6106836daf58 (bug 1494809)
Backed out changeset e98c2a51aa8f (bug 1494809)

--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html
2018-10-10 08:15:09 +03:00
Jeff Gilbert 971fa9730f Bug 1494809 - Also remove now-useless #ifdef FOO\n#error.
Warnings should handle this for us.
2018-10-09 21:39:21 -07:00
Jeff Gilbert 8f0af9b333 Bug 1494809 - Mark test failures. 2018-10-09 21:39:19 -07:00
Jeff Gilbert 1e459429ff Bug 1494809 - Remove WebGL ATC support. - r=kvark,qdot
The WG rejected this extension.


--HG--
rename : dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_es3.html => dom/canvas/test/webgl-mochitest/ensure-exts/test_WEBGL_compressed_texture_etc.html
2018-10-09 21:39:17 -07:00
Jeff Gilbert f4f78de480 Bug 1494809 - Don't include WebGLFormats.h in WebGLContext.h. - r=kvark 2018-10-09 21:39:16 -07:00
Jeff Gilbert 3cbaf8002c Bug 1494809 - Support WebGL exts for BPTC and RGTC. - r=kvark,qdot 2018-10-09 21:39:14 -07:00
Jeff Gilbert eed72a31cc Bug 1497439 - Revendor ANGLE with cherry-pick for large vert attrib divisors.
Re-enable the test.

MozReview-Commit-ID: Jh2ekEXkit3
2018-10-09 18:27:09 -07:00
Jeff Gilbert 32f1a0d3e4 Bug 1497440 - Mark and regenerate webgl-conf mochitests. 2018-10-09 02:41:54 -07:00
Jeff Gilbert fd1ba97374 Bug 1497440 - Revendor webgl-conf from upstream/master. 2018-10-09 02:41:53 -07:00
Jeff Gilbert 17d752bf1d Bug 1497440 - Allow specifying a merge_base origin for record_cherry_picks.
Update webgl-conf/import.py accordingly.
2018-10-09 02:41:51 -07:00
Noemi Erli 31184dddce Merge inbound to mozilla-central. a=merge 2018-10-09 00:52:28 +03:00
Jamie Nicol 68b88d754b Bug 1495857 - Ensure correct vertex attrib array index is output in error message r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D7868

--HG--
extra : moz-landing-system : lando
2018-10-05 19:03:46 +00:00
Ryan Hunt 454819897e Bug 1475139 part 10 - Add method to create ImageBitmap from SourceSurface. r=jrmuizel
This commit adds a method to create an ImageBitmap from a SourceSurface, for use
by the new drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D6789

--HG--
extra : rebase_source : bf0f804194f5a36f5dc805333eaf85b55be50012
2018-09-24 21:47:14 -05:00
Tomislav Jovanovic 7cb46fea7c Bug 1484980 - Add selective canvas tainting for content scripts r=bzbarsky
Reviewers: bzbarsky

Bug #: 1484980

Differential Revision: https://phabricator.services.mozilla.com/D6999
2018-09-26 20:29:36 +02:00
Imanol Fernandez 22cdf4b044 Bug 1492554 - Make not composited WebGL canvas work with WebVR r=kip,jgilbert
WebGL canvases not composited (e.g. not added to the DOM) don't work in WebVR. WebGLContext::InitializeCanvasRenderer is only called when 2D compositor renders a WebGL canvas for the first time. I tried to mimic what InitializeCanvasRenderer does internally as a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D6921

--HG--
extra : moz-landing-system : lando
2018-09-28 19:25:21 +00:00
Jonathan Watt 61bcaa65a9 Bug 1494820. Stop leaking SVGObserverUtils implementation details into CanvasRenderingContext2D. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D7148

--HG--
extra : rebase_source : 95ff24bd2a5656fc4d6708a515f9a869370bd338
2018-09-03 11:24:27 +01:00
Daosheng Mu 23b34066f6 Bug 1491221 - Mark EXT_shader_texture_lod feature unsupported for OpenGL ES3 and above. r=jgilbert
MozReview-Commit-ID: G51cg7pqvBb

Differential Revision: https://phabricator.services.mozilla.com/D6863

--HG--
extra : moz-landing-system : lando
2018-09-26 04:48:17 +00:00
Chris Peterson 611a064090 Bug 1336712 - dom/canvas: Remove test checks for Android ICS (API Level 10). r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6582

--HG--
extra : source : 536600d55374ec3940ea1b5d4da1c1dbebea55e5
extra : histedit_source : a2288cc63bfe8de672682315105860dc61540d58
2018-09-13 23:30:39 -07:00
Chris Peterson 867866d2d3 Bug 1336712 - dom: Drop test checks for OS X 10.5 and Windows XP. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6578

--HG--
extra : source : 682a1bfda27c8e82aea0d86f256d5dee3ff5c2a0
extra : histedit_source : 2e60b58780900e879177542c5e32a27c805e8f67
2018-09-13 23:30:12 -07:00
Nathan Froyd 0bd6a5e5e4 Bug 1492894 - part 4 - eliminate already_AddRefed variables in dom/; r=mccr8
We need to disallow these to fix our static analysis, which should have
already been disallowing them.
2018-09-21 16:45:49 -04:00
Jeff Gilbert 64f13cba7f Bug 1489279 - Re-mark test failures. 2018-09-19 15:38:59 -07:00
Chris Peterson 174ab56914 Bug 1472894 - Part 2: Regenerate webgl-conf/generated-mochitest.ini. r=jgilbert
Bug 1472894 modified mochitest-errata.ini but didn't regenerate generated-mochitest.ini to actually un-skip the test_2_conformance2__rendering__blitframebuffer-size-overflow.html test.

Differential Revision: https://phabricator.services.mozilla.com/D6119

--HG--
extra : moz-landing-system : lando
2018-09-19 19:11:49 +00:00
Thomas Nguyen 02f4dbbbf9 Bug 1330487 - Part 3: Propagate referrer policy from doc/sheet to URLExtraData r=heycam
Referrer policy argurment is passed from sheet/doc to URLExtraData, default
value is RP_Unset. We use default value in some cases, particularly when there's
no certain spec talks about that (svg for example)

MozReview-Commit-ID: 5VAX1ZUXD3i

Differential Revision: https://phabricator.services.mozilla.com/D1922

--HG--
extra : moz-landing-system : lando
2018-09-17 05:36:45 +00:00
Jonathan Watt 245517eba7 Bug 1488700 p8. Rename CanvasFilterChainObserver to SVGFilterObserverListForCanvas. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D5620

--HG--
extra : rebase_source : be77b64ac95430c723af3016dabcd2b0258f3eeb
2018-08-13 12:06:39 +02:00