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

3214 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert b25e9ba943 Bug 1681147 - Don't IPC_FAIL for context creation failure. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98835
2020-12-07 19:00:12 +00:00
Jeff Gilbert 77070731a2 Bug 1680595 - Point users towards "webgl.disable-fail-if-major-performance-caveat" if failIfMajorPerformanceCaveat: true causes failure. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98824
2020-12-07 05:35:57 +00:00
Simon Giesecke 1c53236b70 Bug 1679272 - Include ScopeExit.h exactly where used. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D98888
2020-12-07 14:25:59 +00:00
Sylvestre Ledru bbb5f8a339 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D98301
2020-12-07 10:17:57 +00:00
Karl Tomlinson 88c7f3ad66 Bug 1119956 derive from DiscardableRunnable instead of CancelableRunnable when Cancel() is not supported r=asuth,sg
Differential Revision: https://phabricator.services.mozilla.com/D98118
2020-12-03 09:04:44 +00:00
Jeff Gilbert 47dcac63b7 Bug 1638568 - E.g. uniform1i(null, ...) should check avail len not total len. r=lsalzman
Also:
* Propagate null-location UniformDatas to host
* Move transpose validation to host-side

Differential Revision: https://phabricator.services.mozilla.com/D98243
2020-11-30 22:00:23 +00:00
Jeff Gilbert aedaf29bc6 Bug 1679693 - Update WebGL 2 to allow drawArraysInstanced with no non-instanced active attribs. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98112
2020-11-30 18:19:40 +00:00
Jeff Gilbert 637fafc5a7 Bug 1662516 - Enable m-gli on Linux. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95096
2020-11-30 18:13:19 +00:00
Bogdan Tara 168c45a7ac Backed out changeset 951e6717abf4 (bug 1662516) for M-gli failures CLOSED TREE 2020-11-30 09:19:00 +02:00
Jeff Gilbert a10a4ccb9e Bug 1662516 - Enable m-gli on Linux. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95096
2020-11-30 05:44:33 +00:00
Narcis Beleuzu 26311e778c Backed out changeset 7137d009d979 (bug 1679693) for webgl2 failure on test_2_conformance2__rendering__instanced-arrays.html. CLOSED TREE 2020-11-29 21:17:11 +02:00
Jeff Gilbert ea9afb914b Bug 1679693 - Update WebGL 2 to allow drawArraysInstanced with no non-instanced active attribs. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98112
2020-11-29 17:51:10 +00:00
Jeff Gilbert caff5f6125 Bug 1679052 - Mark now-passing test.
Differential Revision: https://phabricator.services.mozilla.com/D97897
2020-11-23 21:48:44 +00:00
Jeff Gilbert 7c18ab1921 Bug 1679052 - Constrain src and dst rects for eldritch blitFramebuffer rects. r=lsalzman
E.g. Blitting 1,1,-1,-1 to 0,2,2,0.
Some drivers have trouble with this.

Primarily tested by:
* conformance2/rendering/blitframebuffer-filter-outofbounds.html
* conformance2/rendering/blitframebuffer-outside-readbuffer.html

Differential Revision: https://phabricator.services.mozilla.com/D97890
2020-11-23 19:54:41 +00:00
Simon Giesecke dd80614fa0 Bug 1678062 - Remove unnecessary includes. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97467

Depends on D96561
2020-11-23 16:12:02 +00:00
Simon Giesecke 73d4d57082 Bug 1676357 - Avoid including Layers.h in header files. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96538

Depends on D96537
2020-11-23 16:09:05 +00:00
Simon Giesecke 071c7c035f Bug 1676356 - Avoid including PresShell.h from header files. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D96534

Depends on D95184
2020-11-23 16:08:23 +00:00
Simon Giesecke 6fac745ea4 Bug 1673931 - Remove dependency of BindingUtils.h on Document.h.
Differential Revision: https://phabricator.services.mozilla.com/D95048

Depends on D95047
2020-11-23 16:08:03 +00:00
Simon Giesecke 5bfbb2a572 Bug 1673931 - Avoid including Document.h from header files. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95046

Depends on D95045
2020-11-23 16:07:43 +00:00
Simon Giesecke 9093e5e1bf Bug 1673424 - Fix includes around JS/StructuredClone.h.
Differential Revision: https://phabricator.services.mozilla.com/D94762

Depends on D93568
2020-11-23 16:06:52 +00:00
Simon Giesecke c902104cdb Bug 1660470 - Split ShmemMessageUtils.h from Shmem.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93543

Depends on D93321
2020-11-23 16:05:02 +00:00
Simon Giesecke c077183836 Bug 1660470 - Avoid including IPCMessageUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93235

Depends on D93234
2020-11-23 16:03:47 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Simon Giesecke 8953086494 Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D97075
2020-11-23 15:49:14 +00:00
Jon Bauman 6af16546a9 Bug 1675987 - No derogatory language: Remove references to "crazy" in dom module. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97654
2020-11-20 23:37:01 +00:00
Jeff Gilbert 2b7c148c6e Bug 1671382 - reset() RaiiShmem if its allocator is invalid. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96297
2020-11-20 00:17:38 +00:00
coderboncuk c8b12f5aa2 Bug 1676299 - Removed the xMajor parameter from BaseMatrix::ScaleFactors() r=botond
Differential Revision: https://phabricator.services.mozilla.com/D97449
2020-11-18 18:53:01 +00:00
Sylvestre Ledru bebb9f9181 Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp
It is bringing some minor changes

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D90795
2020-11-18 09:05:59 +00:00
Sylvestre Ledru 0129dd3f83 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D96608
2020-11-16 22:09:25 +00:00
Emilio Cobos Álvarez b13291edfd Bug 1677376 - Set prefs more reliably in test_canvas_focusring.html
MANUAL PUSH: Orange in a CLOSED TREE
2020-11-16 19:41:30 +01:00
Emilio Cobos Álvarez 563e0f4efc Bug 1677376 - Introduce a pref to determine whether to always show focus rings after key focus. r=edgar
See the comments in the pref description for the reasoning, and
https://bugzilla.mozilla.org/show_bug.cgi?id=1445482#c15 and following
for some confusion this patch intends to avoid.

Differential Revision: https://phabricator.services.mozilla.com/D97151
2020-11-16 16:31:09 +00:00
Jeff Gilbert eb6f770a5b Bug 1674592 - Shrink uploads based on byte size estimates. r=lsalzman
For example uploads from WASM heaps would previously copy most of the
heap into shmem.

Differential Revision: https://phabricator.services.mozilla.com/D96287
2020-11-13 23:24:13 +00:00
Jonathan Kew 16eb1dba68 Bug 1674340 - Separate out language from gfxFontStyle and pass it separately to shaping processes that need it. r=lsalzman
This allows us to avoid instantiating separate gfxFont objects when content is tagged
with different 'lang' attributes, yet ends up using the same fonts (e.g. Wikipedia may
use a default font such as Arial for language names/links that are tagged with several
dozen different languages).

Differential Revision: https://phabricator.services.mozilla.com/D96978
2020-11-13 13:15:39 +00:00
Jean-Yves Avenard 09988b03ac Bug 1672363 - Disable test on Windows7 32 bits. r=gbrown
The test really only fails on mingw built, but we don't have a way to check for that config. So we instead disable what is the nearest configuration: win7-32

Differential Revision: https://phabricator.services.mozilla.com/D96673
2020-11-12 04:55:54 +00:00
Csoregi Natalia 2630926fe3 Backed out changeset 217b92a7892b (bug 1674592) for assertion failures on ClientWebGLContext.cpp. CLOSED TREE 2020-11-12 05:18:53 +02:00
Jeff Gilbert f7cb7a9dfc Bug 1674592 - Shrink uploads based on byte size estimates. r=lsalzman
For example uploads from WASM heaps would previously copy most of the
heap into shmem.

Differential Revision: https://phabricator.services.mozilla.com/D96287
2020-11-12 01:58:25 +00:00
Narcis Beleuzu 602b991246 Backed out changeset 6701e0a37598 (bug 1674592) for multiple webgl failures. CLOSED TREE 2020-11-10 05:52:02 +02:00
Jeff Gilbert 439d12dc7e Bug 1676242 - Enforce BPTC/RGTC level 0 => w/h multiple of 4. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D96457
2020-11-09 22:04:21 +00:00
Jeff Gilbert a2765314d2 Bug 1674592 - Shrink uploads based on byte size estimates. r=lsalzman
For example uploads from WASM heaps would previously copy most of the
heap into shmem.

Differential Revision: https://phabricator.services.mozilla.com/D96287
2020-11-09 20:09:22 +00:00
Noemi Erli 9c91fa69af Backed out changeset 4a679b76e51b (bug 1674592) for causing failures in test_conformance__extensions__ext-texture-compression-rgtc.html CLOSED TREE 2020-11-09 13:16:26 +02:00
Jeff Gilbert 8adcd4f2b6 Bug 1674592 - Shrink uploads based on byte size estimates. r=lsalzman
For example uploads from WASM heaps would previously copy most of the
heap into shmem.

Differential Revision: https://phabricator.services.mozilla.com/D96287
2020-11-09 07:28:34 +00:00
Sylvestre Ledru fde06f6d21 Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
Also add some missing namespace qualifications

Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')

Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila 964cca3198 Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE 2020-11-04 10:54:36 +02:00
Sylvestre Ledru 5f29324f60 Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
Also add some missing namespace qualifications

Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')

Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Kartikaya Gupta b86f005446 Bug 1673071 - Disable failing tests. r=jrmuizel,marionette-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D95429
2020-11-03 23:05:08 +00:00
Razvan Maries 156298851f Backed out 4 changesets (bug 1673071) for perma failures on grid-minimum-contribution-baseline-shim-vertical-lr.html. CLOSED TREE
Backed out changeset a8ad01797ee0 (bug 1673071)
Backed out changeset f2ed8ed80bf2 (bug 1673071)
Backed out changeset 34d6c0fbfeef (bug 1673071)
Backed out changeset d6857ecf3c81 (bug 1673071)
2020-11-04 00:56:16 +02:00
Kartikaya Gupta 7bfa94e01a Bug 1673071 - Disable failing tests. r=jrmuizel,marionette-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D95429
2020-11-03 14:59:47 +00:00
Andreas Pehrson 4ea51443a7 Bug 1631476 - Don't let CanvasRenderingContext2D::EnsureTarget lead to frame capture. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D93066
2020-10-19 20:26:55 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00