Nicholas Nethercote
76f416f162
Bug 1562331 - Make webgl.* static prefs follow the naming convention. r=KrisWright
...
Also converts webgl.pref-16bpp from a VarCache pref to a normal pref, because
it doesn't need to be a VarCache pref.
Differential Revision: https://phabricator.services.mozilla.com/D36397
--HG--
extra : rebase_source : 5aa1d251b751c41ec525fef7d0467ffebe401d9a
2019-06-29 07:56:43 +10:00
Jeff Gilbert
ad069c5ce0
Bug 1541396 - Add GLBuffer prebind workaround. r=lsalzman
...
BindBufferBase/Range will fail (on some drivers) if the buffer name has never been bound.
(GenBuffers makes a name, but BindBuffer initializes that name as a real buffer object)
Include test fix:
https://github.com/KhronosGroup/WebGL/pull/2907
Differential Revision: https://phabricator.services.mozilla.com/D36417
--HG--
extra : moz-landing-system : lando
2019-06-30 01:29:44 +00:00
Jeff Gilbert
9561417879
Bug 1541396 - Refactor (non-)transform-feedback binding/use checks. r=lsalzman
...
* Remove WebGLBuffer::SetSlot
* Make most bindBuffer calls lazy.
* Replace nsTArray with std::vector in WebGLVertexArray.
Differential Revision: https://phabricator.services.mozilla.com/D36274
--HG--
extra : moz-landing-system : lando
2019-06-30 01:29:42 +00:00
Boris Zbarsky
75224691ef
Bug 1350254 part 2. Switch ImageData to [Serializable]. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D35716
--HG--
extra : moz-landing-system : lando
2019-06-25 06:44:38 +00:00
Kartikaya Gupta
b2db863d1b
Bug 1559273 - Remove annotation for crashtest that is now passing. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D36229
--HG--
extra : moz-landing-system : lando
2019-06-27 18:41:47 +00:00
Coroiu Cristina
f91bd38732
Merge inbound to mozilla-central a=merge
2019-06-27 12:36:00 +03:00
Nicholas Nethercote
ca8e78069d
Bug 1561491
- Make gfx.* static prefs follow the naming convention. r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D35975
--HG--
extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
2019-06-26 10:38:09 +10:00
Jeff Gilbert
91dd7e5ead
Bug 1545473 - Use FakeVertexAttrib0 for no-attrib programs on macOS. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D36122
--HG--
extra : moz-landing-system : lando
2019-06-27 01:52:47 +00:00
Jeff Gilbert
7c6109af7b
Bug 1560422 - WEBGL_explicit_present extension. r=lsalzman,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D35495
--HG--
extra : moz-landing-system : lando
2019-06-25 19:48:24 +00:00
Jeff Gilbert
dc1ea66bd8
Bug 1561073 - powerPreference 'default' => 'low-power' if Canvas element has no parent. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D35704
--HG--
extra : moz-landing-system : lando
2019-06-25 01:09:25 +00:00
Coroiu Cristina
babfaa2c50
Backed out changeset bd8a279979b3 (bug 1561073) for crashtests failures at obj-firefox/dist/include\mozilla/RefPtr.h
2019-06-25 03:21:51 +03:00
Jeff Gilbert
5c6f58f03d
Bug 1561073 - powerPreference 'default' => 'low-power' if Canvas element has no parent. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D35704
--HG--
extra : moz-landing-system : lando
2019-06-24 22:09:31 +00:00
Jeff Gilbert
07c032ccbd
Bug 1319426 - Don't keep ANGLE shader compilers around. r=lsalzman
...
This will also make it easier if we want to reuse compilers/validators.
Differential Revision: https://phabricator.services.mozilla.com/D35398
--HG--
extra : moz-landing-system : lando
2019-06-21 16:52:50 +00:00
Bob Owen
2cb0d2cc85
Bug 1559437: Don't explicitly return DataSourceSurface from CanvasRenderingContext2D::GetSurfaceSnapshot. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D35152
--HG--
extra : moz-landing-system : lando
2019-06-19 12:37:40 +00:00
Bob Owen
8b9cfd092a
Bug 1558009: Always return false from CanvasRenderingContext2D::EnsureTarget when mTarget == sErrorTarget. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D34922
--HG--
extra : moz-landing-system : lando
2019-06-18 22:10:47 +00:00
Jeff Gilbert
7ac9159761
Bug 1442825 - Remove ScopedGLWrapper base class. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D35138
--HG--
extra : moz-landing-system : lando
2019-06-17 06:40:27 +00:00
Jeff Gilbert
fd76db7d77
Bug 1559556 - Handle sRGB encode/decode BlitFramebuffer calls on GL<440. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D35121
--HG--
extra : moz-landing-system : lando
2019-06-15 05:18:05 +00:00
Jeff Gilbert
bbb1e5a221
Bug 1533522 - Truncate Buffer/Texture on GL_OOM. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D34982
--HG--
extra : moz-landing-system : lando
2019-06-14 03:26:18 +00:00
Jeff Gilbert
f16e991a1d
Bug 1559285 - Add webgl.default-antialias. r=mccr8,lsalzman
...
Default to false on Android, matching existing behavior.
Differential Revision: https://phabricator.services.mozilla.com/D34985
--HG--
extra : moz-landing-system : lando
2019-06-14 19:29:15 +00:00
Mark Banner
201255ab84
Bug 1558485 - Turn on ESLint for all of dom/ disabling most of the failing rules. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34761
--HG--
extra : moz-landing-system : lando
2019-06-13 20:21:46 +00:00
Andrea Marchesini
bb718d74fc
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Andrea Marchesini
dbaf607895
Bug 1490044 - Remove DOMPrefs MACRO for WebIDL support. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33509
--HG--
extra : moz-landing-system : lando
2019-06-13 09:01:41 +00:00
Edwin Gao
37b6282d41
Bug 1555454 - migrate mochitest-webgl1-ext to macosx1014 r=gbrown
...
Changes:
- updated expected outcomes for previously failing tests that now pass on macosx1014
Differential Revision: https://phabricator.services.mozilla.com/D34447
--HG--
extra : moz-landing-system : lando
2019-06-12 20:15:54 +00:00
Iain Ireland
4bb0dc7bd0
Bug 1548908: Remove "well-known numbers" from JSRuntime r=tcampbell
...
Back when we first freed the lizard in 1998, it made sense to have copies of NaN/+Inf/-Inf living on the runtime, because Values didn't store doubles inline. That hasn't been true for a long time. This patch gets rid of those.
Differential Revision: https://phabricator.services.mozilla.com/D29868
--HG--
extra : moz-landing-system : lando
2019-06-03 15:59:25 +00:00
Mark Banner
ea1728721a
Bug 1558527 - Fix various issues related to shadowing of variables in dom/ code. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D34588
--HG--
extra : moz-landing-system : lando
2019-06-12 08:29:58 +00:00
Bogdan Tara
c107216d31
Backed out changeset d3d46e5ef066 (bug 1555454) for test_2_conformance2__reading__format-r11f-g11f-b10f.html failures CLOSED TREE
2019-06-12 02:37:51 +03:00
Edwin Gao
1a2723f825
Bug 1555454 - migrate mochitest-webgl1-ext to macosx1014 r=gbrown
...
Changes:
- updated expected outcomes for previously failing tests that now pass on macosx1014
Differential Revision: https://phabricator.services.mozilla.com/D34447
--HG--
extra : moz-landing-system : lando
2019-06-11 16:40:03 +00:00
Edwin Gao
787d8cb500
Bug 1555454 - migrate crashtests over to macosx1014 r=gbrown
...
Changes:
- added skip-If statements for some crashtest items that fail on macosx1014
- removed `crashtest` from `macosx64` test sets, with the consequence that `macosx64-qr-tests` test set is removed, with cascading effects to the test-platforms definitions that used only `macosx64-qr-tests`
Differential Revision: https://phabricator.services.mozilla.com/D34448
--HG--
extra : moz-landing-system : lando
2019-06-11 17:30:32 +00:00
Ehsan Akhgari
4598c92440
Bug 1557409 - Part 2: Use WorkerPrivate objects to determine whether we should use fingerprinting resistance on worker threads; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34208
--HG--
extra : moz-landing-system : lando
2019-06-10 19:32:05 +00:00
Jeff Gilbert
581338764d
Bug 1557577 - Remove GLContext::fDrawRangeElements. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D34104
--HG--
extra : moz-landing-system : lando
2019-06-07 10:20:19 +00:00
Jeff Gilbert
6f562836cc
Bug 1557561 - EXT_float_blend is core in ES3.2. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D34095
--HG--
extra : moz-landing-system : lando
2019-06-07 10:20:41 +00:00
Daniel Varga
108b3fc423
Merge mozilla-inbound to mozilla-central. a=merge
2019-06-07 19:19:50 +03:00
Andrea Marchesini
045158e1f4
Bug 1556145 - Remove a spammy warning in CanvasUtils.cpp, r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D33752
--HG--
extra : moz-landing-system : lando
2019-06-07 10:35:42 +00:00
Edwin Gao
9e629bcf8d
Bug 1555454 - remove fail-if condition specific to mac for test_webgl_fingerprinting_resistance.html and migrate to running on macosx1014 r=jmaher
...
Changes:
- remove `fail-if` condition
- migrate `mochitest-webgl-core` to running on macosx1014
Differential Revision: https://phabricator.services.mozilla.com/D33822
--HG--
extra : moz-landing-system : lando
2019-06-06 02:56:52 +00:00
Cosmin Sabou
502804c065
Backed out changeset 1984b503b901 (bug 1555454) for webgl failures on test_webgl_fingerprinting_resistance.html.
2019-06-06 01:07:02 +03:00
Edwin Gao
ca4e07d851
Bug 1555454 - remove fail-if condition specific to mac for test_webgl_fingerprinting_resistance.html and migrate to running on macosx1014 r=jmaher
...
Changes:
- remove `fail-if` condition
- migrate `mochitest-webgl-core` to running on macosx1014
Differential Revision: https://phabricator.services.mozilla.com/D33822
--HG--
extra : moz-landing-system : lando
2019-06-05 19:32:00 +00:00
Mihai Alexandru Michis
68f8760568
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-06-05 12:56:49 +03:00
Neil Deakin
302fa305ad
Bug 1519948, remove XUL box objects, r=bzbarsky
...
--HG--
extra : rebase_source : 4af617fecf06512aed5882831e64e38d4e7e5e94
2019-06-04 12:45:55 -04:00
Andrea Marchesini
f4c9f068fa
Bug 1554847 - Improve cross-origin checks in canvas API - consider intermediate redirects, r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D32792
--HG--
extra : moz-landing-system : lando
2019-06-04 06:32:37 +00:00
Coroiu Cristina
73edc6621b
Backed out 4 changesets (bug 1554847) for wpt failures at /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html
...
Backed out changeset 17e36d139ac2 (bug 1554847)
Backed out changeset 101bd1c2d688 (bug 1554847)
Backed out changeset 3ff9a221f3e5 (bug 1554847)
Backed out changeset 946e4d9420dd (bug 1554847)
2019-06-04 03:24:42 +03:00
Andrea Marchesini
8df66534cf
Bug 1554847 - Improve cross-origin checks in canvas API - consider intermediate redirects, r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D32792
--HG--
extra : moz-landing-system : lando
2019-06-03 09:54:43 +00:00
Emilio Cobos Álvarez
19258bfbb4
Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame
...
I think this is a good change regardless of other discussion in bug 1552587. If
we decide to move `mColor` to the top-level of the struct that can be done
separately.
Differential Revision: https://phabricator.services.mozilla.com/D32726
--HG--
extra : moz-landing-system : lando
2019-05-31 14:48:22 +00:00
Jeff Gilbert
d8e7b6cedb
Bug 1515052 - Use WeakPtr for extension parent pointer. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D31942
--HG--
extra : moz-landing-system : lando
2019-05-24 12:04:12 +00:00
Boris Zbarsky
d2959ecb98
Bug 1553018 part 2. Make various gfx preferences bindings use in Pref annotations on interfaces follow the StaticPrefs naming convention for getters. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D32943
--HG--
extra : moz-landing-system : lando
2019-05-30 17:21:57 +00:00
Emilio Cobos Álvarez
fce57b44fd
Bug 1552878 - Use cbindgen for filters. r=jwatt
...
Had to implement some OwnedSlice bits that the canvas code used.
Differential Revision: https://phabricator.services.mozilla.com/D31799
2019-05-29 21:22:07 +02:00
Brindusan Cristian
40a5b04ab5
Backed out 3 changesets (bug 1552708, bug 1552878) for build bustages and compiler issues. CLOSED TREE
...
Backed out changeset 9d4f178bfcbd (bug 1552878)
Backed out changeset 80db9f845237 (bug 1552708)
Backed out changeset 1bdbfbb5b342 (bug 1552708)
2019-05-27 17:00:03 +03:00
Emilio Cobos Álvarez
a6bdf94e22
Bug 1552878 - Use cbindgen for filters. r=jwatt
...
Had to implement some OwnedSlice bits that the canvas code used.
Differential Revision: https://phabricator.services.mozilla.com/D31799
--HG--
extra : moz-landing-system : lando
2019-05-27 12:37:37 +00:00
Liang-Heng Chen
aea7247098
Bug 1330467 - part 8. Make canvas permission respect FPI; r=johannh,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D19929
--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:04 +00:00
Jean-Yves Avenard
022c57caf3
Bug 1550422
- P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Jean-Yves Avenard
04a34db033
Bug 1550422
- P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:42 +00:00