Commit Graph

34055 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
b66ea3d7c7 Bug 1516298 - Disable test_group_touchevents.html for frequent failures on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37252

--HG--
extra : moz-landing-system : lando
2019-07-08 13:44:44 +00:00
Sylvestre Ledru
fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Andreea Pavel
a0eedef06a Backed out changeset f1b593ede263 (bug 1563993) for wrench bustages on a CLOSED TREE 2019-07-08 05:11:23 +03:00
Dzmitry Malyshau
ffc66bad70 Bug 1563993 - WR chase into clips r=jrmuizel
it's very helpful to see the list of clips and the way they affect a chased primitive
Example:
```
    building clip chain instance with local rect TypedRect(1561.0×1968.0 at (-300.0,-300.0))
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(1)
        flags (empty), resulted in Partial
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(2)
        flags (empty), resulted in Partial
```

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

--HG--
extra : moz-landing-system : lando
2019-07-08 01:48:54 +00:00
Dzmitry Malyshau
6104350440 Bug 1548339 - WR: Remove the color/alpha feature in cs_scale shader r=jrmuizel
this makes the shader simpler at no cost

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

--HG--
extra : moz-landing-system : lando
2019-07-05 21:11:44 +00:00
Sylvestre Ledru
131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
Chris AtLee
a0d3d64841 Bug 1559975: Fix python2/3 compat in gfx/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35337

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:55 +00:00
Kartikaya Gupta
c8cff9effe Bug 1563311 - Remove uses of MOZ_BUILD_WEBRENDER. r=aosmond
This removes support for building Firefox/Gecko without WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 11:05:17 +00:00
Victor Porof
e974a88416 Bug 1561435 - Reposition comments in gfx/, r=kats
# ignore-this-changeset

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

--HG--
extra : source : 5916248cb30fcc3043885cac46672e1ac4233c6e
extra : intermediate-source : 90a97d97e45bdd105317ef4db9540d97dfa15ac1
2019-06-26 16:02:07 +02:00
Victor Porof
85064fe4c3 Bug 1561435 - Format gfx/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 00faaa954cecb534fa97f4e87de61635c8c526bc
2019-07-05 10:46:28 +02:00
Kartikaya Gupta
ec2096ed3f Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-04 21:57:48 +00:00
Kartikaya Gupta
b4060b7612 Bug 1525314 - Skip assertion intermittently failing on Android. r=aosmond
Depends on D36796

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

--HG--
extra : moz-landing-system : lando
2019-07-04 21:35:02 +00:00
Kartikaya Gupta
e997669828 Bug 1525314 - Disable tile markers on Android as they seem to crash a lot. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D36794

--HG--
extra : moz-landing-system : lando
2019-07-04 21:35:06 +00:00
Razvan Maries
960e4c47d4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-05 00:43:53 +03:00
Razvan Maries
daed363fd7 Merge mozilla-inbound to mozilla-central a=merge 2019-07-05 00:40:17 +03:00
Coroiu Cristina
3983fddf6d Backed out 6 changesets (bug 1525314) for reftest failures at reftests/svg/filters/css-filters/saturate-zero.html om a CLOSED TREE
Backed out changeset 0ed2509b7191 (bug 1525314)
Backed out changeset af72d1c4c107 (bug 1525314)
Backed out changeset ab21a3ff4ae4 (bug 1525314)
Backed out changeset 02399933ac4b (bug 1525314)
Backed out changeset 95790a07a93c (bug 1525314)
Backed out changeset 28f52fd3934e (bug 1525314)
2019-07-05 00:29:12 +03:00
Kartikaya Gupta
61ff199d59 Bug 1563264 - More early-exits to reduce nesting and maybe increase clarity. r=jrmuizel
Depends on D36779

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

--HG--
extra : moz-landing-system : lando
2019-07-04 18:54:44 +00:00
Kartikaya Gupta
a93c3f45a0 Bug 1563264 - Extract conditions for each graphics vendor; no functional change. r=jrmuizel
Depends on D36778

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

--HG--
extra : moz-landing-system : lando
2019-07-04 18:48:39 +00:00
Csoregi Natalia
0c754625a9 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-04 12:54:22 +03:00
Oana Pop Rus
2ad74ef9f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-04 06:38:21 +03:00
Narcis Beleuzu
7f1d384198 Backed out changeset 9554ac45236f (bug 1528937) for bc failures on helper_fission_tap.html . CLOSED TREE 2019-07-04 01:10:55 +03:00
Kris Maglione
e5690b95d7 Bug 1541557: Follow-up: Temporarily disable test_font_whitelist in debug/ASan for frequent failures. r=bustage 2019-07-03 13:10:17 -07:00
Kartikaya Gupta
bc8b223993 Bug 1563264 - Add early-exit conditions to reduce nesting; no functional change. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D36778

--HG--
extra : moz-landing-system : lando
2019-07-03 18:32:35 +00:00
Kartikaya Gupta
c08a0b6539 Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Depends on D36797

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:13:33 +00:00
Kartikaya Gupta
90b331cafa Bug 1525314 - Skip assertion intermittently failing on Android. r=aosmond
Depends on D36796

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

--HG--
extra : moz-landing-system : lando
2019-07-04 18:39:08 +00:00
Kartikaya Gupta
4b784c8f1a Bug 1525314 - Disable tile markers on Android as they seem to crash a lot. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D36794

--HG--
extra : moz-landing-system : lando
2019-07-03 21:53:59 +00:00
Lee Salzman
f97c9e191d Bug 1562886 - Avoid noinline on GCC with skcms to work around compiler error. r=me 2019-07-03 15:52:39 -04:00
Dzmitry Malyshau
f3630e279f Bug 1546818 - Change WR text transform to be relative to the surface raster node r=gw
a follow-up to D36603 that switches the base space from the surface node to the raster node.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 14:54:36 +00:00
Jonathan Kew
947857981c Bug 1562733 - Properly transform DetailedGlyph offsets when rendering vertical (rotated) text through webrender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D36795

--HG--
extra : moz-landing-system : lando
2019-07-04 11:58:35 +00:00
Hiroyuki Ikezoe
c9de23aa09 Bug 1562757 - Call ScrollToVisual for the pres shell of the given scrollable frame in ScrollToShowRect. r=botond
We should also check IsRootContentDocumentCrossProcess instead of
IsRootContentDocument there, it will be fixed in bug 1562505.

The test case in this commit is almost copied-n-pasted from
helper_scroll_into_view_bug1516056.html.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 08:48:47 +00:00
Dzmitry Malyshau
a29869406b Bug 1546818 - WR text local transform fix r=gw
Change the glyph transform computation to be relative to the surface node.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 18:59:42 +00:00
Dzmitry Malyshau
8f5b101ef6 Bug 1562989 - Fix WR frameID checks to not trigger on replay r=gw
Differential Revision: https://phabricator.services.mozilla.com/D36650

--HG--
extra : moz-landing-system : lando
2019-07-03 01:35:39 +00:00
Henri Sivonen
338d2f1b30 Bug 1528937 - Test that taps are transformed correctly for out-of-process iframes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D36743

--HG--
extra : moz-landing-system : lando
2019-07-03 18:05:39 +00:00
Jeff Gilbert
c01f565a55 Bug 1560736 - MakeCurrent after GeckoSurfaceTexture::DestroyUnused. r=snorp
Seems like GeckoSurfaceTexture::DestroyUnused can change the current
context.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 14:15:17 +00:00
thomasmo
5f5804e41b Bug 1562777 - Refactor ShMem code from VR classes into separate class r=kip
This change brings the related ShMem code from VRManager and VRService into a
new class, VRShMem. This is to support future work where this ShMem will be used
for other efforts. Having this code in the same class will enable it to be more
easily shared in these efforts.
Until the new class replaces the code in VRManager and VRService, it can be
exercised and validated with two instances of vrtesthost, with the -testmgr and
-testsvc parameters.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 15:50:28 +00:00
Chris Liu
3b18b22680 Bug 1563042 - Expose recording start time in composition recorder output r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D36671

--HG--
extra : moz-landing-system : lando
2019-07-03 20:08:12 +00:00
Jeff Muizelaar
ca49b31c2a Bug 1561235. Check the type of the PathBuilder instead of the DrawTarget. r=mstange
The draw target might give us a different type.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 20:13:44 +00:00
Daosheng Mu
8ed8b572cb Bug 1559843 - Replace VR code endling to LF. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D36673

--HG--
extra : moz-landing-system : lando
2019-07-02 23:40:27 +00:00
Nicholas Nethercote
510b8223fb Bug 1562810 - Rename some static pref functions. r=KrisWright
Now that all static pref getters use snake_case, these renamings make sense:
- Getfoo_bar_bazPrefName() -> GetPrefName_foo_bar_baz()
- Getfoo_bar_bazPrefDefault() -> GetPrefDefault_foo_bar_baz()

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

--HG--
extra : moz-landing-system : lando
2019-07-02 22:32:09 +00:00
Glenn Watson
6b55adc20e Bug 1562788 - Add support for benchmarking llvmpipe and swiftshader in wrench. r=nical
* Add a script for running wrench under various software rasterizers.
* Add support to wrench for non-blocking event loop.
* Add support to wrench for selecting GL/ES rendering API.
* Update x11 bindings for wrench, to fix a release only crash.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 21:52:16 +00:00
Andreea Pavel
468f91f972 Backed out changeset 9c6775d713e8 (bug 1562788) for webrender lint tidy bustage on a CLOSED TREE 2019-07-03 00:43:26 +03:00
Glenn Watson
861fa49918 Bug 1562788 - Add support for benchmarking llvmpipe and swiftshader in wrench. r=nical
* Add a script for running wrench under various software rasterizers.
* Add support to wrench for non-blocking event loop.
* Add support to wrench for selecting GL/ES rendering API.
* Update x11 bindings for wrench, to fix a release only crash.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 17:15:18 +00:00
Dzmitry Malyshau
3ad5ab9386 Bug 1562892 - WR capture native fonts as raw r=lsalzman
we save the native fonts by their full path now. On macOS, there is no
such thing as a full filesystem path for a CGFont (or at least we don't track it),
so loading a capture falls back to the old logic of using the dummy font.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 15:50:28 +00:00
Jeff Gilbert
406b3a60f1 Bug 1562812 - For powerPreference:Default, only keep dGPU active for consistently active contexts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D36565

--HG--
extra : moz-landing-system : lando
2019-07-02 16:45:22 +00:00
Kartikaya Gupta
25911f6baa Bug 1560149 - Add some documentation for document splitting. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D36210

--HG--
extra : moz-landing-system : lando
2019-07-02 00:53:07 +00:00
Kris Maglione
3e44c16cf9 Bug 1541557: Part 5 - Update callers of ChromeScript.sendSyncMessage to use sendQuery instead. r=nika
Since JSWindowActors don't have direct access to synchronous messaging,
ChromeScript callers are going to need to migrate to asynchronous messaging
and queries instead.

Since there's no comparable API to sendQuery for frame message managers, this
patch adds a stub that uses synchronous messaging, but makes the API appear
asynchronous, and migrates callers to use it instead of direct synchronous
messaging. This will be replaced with a true synchronous API in the actor
migration.

Fortunately, most of the time, this actually leads to simpler code. The
`sendQuery` API doesn't have the odd return value semantics of
`sendSyncMessage`, and can usually just be used as a drop-in replacement. Many
of the `sendSyncMessage` callers don't actually use the result, and can just
be changed to `sendAsyncMessage`. And many of the existing async messaging
users can be changed to just use `sendQuery` rather than sending messages and
adding response listeners.

However, the APZ code is an exception. It relies on intricate properties of
the event loop, and doesn't have an easy way to slot in promise handlers, so I
migrated it to using sync messaging via process message managers instead.

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

--HG--
extra : rebase_source : d5707e87f293a831a5cf2e0b0a7e977090267f78
extra : source : 75ebd6fce136ab3bd0e591c2b8b2d06d3b5bf923
2019-06-12 12:40:51 -07:00
Kris Maglione
f70e67ad2d Bug 1541557: Part 4 - Stop relying on synchronous preference getters/setters. r=nika
The SpecialPowers set*Pref/get*Pref APIs currently use synchronous messaging
to set and get preference values from the parent process. Aside from directly
affecting callers of those APIs, it also affects callers of `pushPrefEnv`,
which is meant to be asynchronous, but is in practice usually synchronous due
to the synchronous messaging it uses.

This patch updates the getPref APIs to use the in-process preference service
(which most callers are expecting anyway), and also updates the callers of
the setPref and pushPrefEnv APIs to await the result if they're relying on it
taking effect immediately.

Unfortunately, there are some corner cases in tests that appear to only work
because of the quirks of the current sync messaging approach. The synchronous
setPref APIs, for instance, trigger preference changes in the parent
instantly, but don't update the values in the child until we've returned to
the event loop and had a chance to process the notifications from the parent.
The differnce in timing leads some tests to fail in strange ways, which this
patch works around by just adding timeouts.

There should be follow-ups for test owners to fix the flakiness.

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

--HG--
extra : rebase_source : 941298157e7c82f420cf50ce057154ce9b85301c
extra : source : 189dc8a359815e059a4a217f788d183260bb2bfe
2019-06-13 09:34:39 -07:00
Kartikaya Gupta
2e99e47063 Bug 1560149 - Followup to fix some typos. r=me 2019-07-03 13:56:36 -04:00
Lee Salzman
93c478a9ca Bug 1555838 - More polyutil fixes. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D33688

--HG--
extra : moz-landing-system : lando
2019-06-05 16:57:20 +00:00
Jeff Muizelaar
3fada47065 Bug 1561305. Eliminate unused viewport_tiles field. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D35807

--HG--
extra : moz-landing-system : lando
2019-07-01 07:28:41 +00:00