Commit Graph

35070 Commits

Author SHA1 Message Date
Jonathan Kew
411f10a849 Bug 1586218 - Use a better default fallback font for Mongolian on macOS. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D49780

--HG--
extra : moz-landing-system : lando
2019-10-21 20:34:43 +00:00
Emilio Cobos Álvarez
54404e676b Bug 1590060 - Update unicode-xid in peek-poke-derive. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D49893

--HG--
extra : moz-landing-system : lando
2019-10-21 13:04:54 +00:00
Lee Salzman
a27f775397 Bug 1585931 - don't use subpixel positioning for Fontconfig fonts if full hinting is requested. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D49901

--HG--
extra : moz-landing-system : lando
2019-10-21 15:32:31 +00:00
Sylvestre Ledru
7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Kris Taeleman
4170fd9b5c Bug 1547737 - Make RecvRequestScreenPixels work with WR. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D49492

--HG--
extra : moz-landing-system : lando
2019-10-18 13:40:40 +00:00
Nicolas Silva
fe6102fc27 Bug 1583841 - Adjust expected gpu cache blocks constants. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D49622

--HG--
extra : moz-landing-system : lando
2019-10-17 15:39:37 +00:00
Emilio Cobos Álvarez
698db0028a Bug 1589327 - Remove some other various fennec-dependent code. r=snorp,botond
Some of this may be able to be cleaned up further.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:49 +00:00
Botond Ballo
a980b29c49 Bug 1589204 - Fix a bug in Matrix4x4Flagged::operator*. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D49486

--HG--
extra : moz-landing-system : lando
2019-10-16 21:01:16 +00:00
Jeff Muizelaar
8696184851 Bug 1589661. Switch WebRender AppVeyor CI to rust 1.36. r=kvark
This fixes a recent build error.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:28:15 +00:00
Nicolas Silva
cee2912fd6 Bug 1589319 - Add some picture caching documentation. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49566

--HG--
extra : moz-landing-system : lando
2019-10-18 08:46:45 +00:00
Nicolas Silva
cd34415e10 Bug 1583841 - Don't set an expected range for the FPS counter. r=gw
When we are not scrolling or animating it can be normal for there to be a long pause between frames, in which case highlighting the FPS counter in the profiler is distracting.

Depends on D49619

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:11:17 +00:00
Nicolas Silva
2baf1ffc83 Bug 1583841 - Highlight values in red in the full and compact profilers when values are outside their expected range. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49619

--HG--
extra : moz-landing-system : lando
2019-10-18 01:10:19 +00:00
Nicolas Silva
50edeec550 Bug 1583841 - Include some ResourceProfileCounters in the smart profiler. r=gw
Depends on D49617

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:09:17 +00:00
Nicolas Silva
2e5413d663 Bug 1583841 - Add an expected range in ResourceProfileCounter. r=gw
Depends on D49438

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:08:17 +00:00
Nicolas Silva
bfc2b52283 Bug 1589119 - Add profile counters for rendered and total number of picture cache tiles. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49438

--HG--
extra : moz-landing-system : lando
2019-10-18 01:03:07 +00:00
skierpage
d101684601 Bug 1587650 - Update README.md with more informative intro r=gw
Addresses issues with the README in [mozilla bug 1587650](https://bugzilla.mozilla.org/show_bug.cgi?id=1587650).
[import_pr] From https://github.com/servo/webrender/pull/3772

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:04:50 +00:00
Daosheng Mu
183d99c002 Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol
Forwarding keyboard focus/blur events to VR browser that runs at another process. We will need to set these events in VR shmem, then VR host can receive these states from other process.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:24:56 +00:00
thomasmo
fe82b4a4db Bug 1587521 - Enable FullScreen in FxR for Desktop r=mconley,Gijs
Bug 1587521 - Enable FullScreen in FxR for Desktop

This change enables Fullscreen functionality in the UI for Firefox Reality for Desktop. On Fullscreen, the window (rather than the desktop) is taken over, and it is up to the host to render the contents as fullscreen.

To mitigate the impact on Desktop's implementation, browser-fullScreenAndPointerLock.js is forked and removes the dependencies on browser.js. These two files will be rationalized at a later time.

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

--HG--
rename : browser/base/content/browser-fullScreenAndPointerLock.js => browser/fxr/content/fxr-fullScreen.js
extra : moz-landing-system : lando
2019-10-18 00:15:08 +00:00
Martin Stransky
71250805aa Bug 1583731 - [Wayland] Use WebRender WaylandDMABufSurface backend when dmabuf is enabled, r=sotaro
Depends on D49264

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

--HG--
extra : moz-landing-system : lando
2019-10-17 11:27:40 +00:00
Martin Stransky
eca6f5db8f Bug 1583731 - [Wayland] Implement RenderWaylandDMABUFTextureHostOGL based on WaylandDMABUFSurface, r=sotaro
Depends on D49263

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

--HG--
extra : moz-landing-system : lando
2019-10-17 11:28:56 +00:00
Imanol Fernandez
7c0ea68b6d Bug 1587366 - Do not call VRManager::Shutdown immediately when the app is paused. r=daoshengmu,kip
Do not call VRManager::Shutdown immediately when the app is paused.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 23:12:05 +00:00
Nicolas Silva
c9239b0fe8 Bug 1588467 - Remove unused methods. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49130

--HG--
extra : moz-landing-system : lando
2019-10-17 13:05:31 +00:00
Nicolas Silva
6a93f75199 Bug 1588467 - Use AverageIntProfileCounter instead of IntProfileCounter in some places. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49129

--HG--
extra : moz-landing-system : lando
2019-10-17 13:05:17 +00:00
Nicolas Silva
898c4ff8bd Bug 1588467 - Implement AverageTimeProfileCounter on top of AverageIntProfileCounter. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49128

--HG--
extra : moz-landing-system : lando
2019-10-17 13:05:05 +00:00
Nicolas Silva
cecca9135c Bug 1588467 - Implement AverageIntProfileCounter. r=gw
AverageIntProfileCounter records the average and maximum of sampled interger values over time slices of half a second. Using it instead of IntProfileCounter in some places will make it easier to notice single-frame spikes.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 13:04:47 +00:00
Nicolas Silva
3df2348614 Bug 1583841 - Define some expected ranges for webrender's smart profiler. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D48970

--HG--
extra : moz-landing-system : lando
2019-10-17 13:04:30 +00:00
Nicolas Silva
f1db815413 Bug 1583841 - Add a smart profiler HUD. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48969

--HG--
extra : moz-landing-system : lando
2019-10-17 13:04:17 +00:00
Srujana Peddinti
e41bc4753a Bug 1570009 - Part 3 : Added GPU Process testing to the framework. r=bobowen
Adds support for creating and using a PSandboxTesting actor in the GPU process.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 15:26:47 +00:00
Daosheng Mu
364240c628 Bug 1589257 - Update Vive Cosmos controller binding file. r=kip
Cosmos changes their controller binding of grip/x/y buttons, so we need to give an update.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 00:24:42 +00:00
sotaro
25f26b36da Bug 1588987 - Do not trigger WR rendering during paused state r=nical
Differential Revision: https://phabricator.services.mozilla.com/D49379

--HG--
extra : moz-landing-system : lando
2019-10-16 09:10:30 +00:00
Dzmitry Malyshau
f072f15267 Bug 1586396 - Add WebGPUThreading mock r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D48229

--HG--
extra : moz-landing-system : lando
2019-10-15 21:57:37 +00:00
Martin Stransky
5a403b0cdd Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 19:25:28 +00:00
Kris Taeleman
8205a49853 Bug 1585801 - Fixing crash when folder is not writable and refactored logic. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D48999

--HG--
extra : moz-landing-system : lando
2019-10-15 17:03:22 +00:00
Dorel Luca
518c1a81eb Backed out 2 changesets (bug 1587008) for build bustage on src/widget/gtk/GtkCompositorWidget.cpp. CLOSED TREE
Backed out changeset 9e610c4628e1 (bug 1587008)
Backed out changeset afc6499c8f1f (bug 1587008)

--HG--
extra : rebase_source : 3c3cc17ada4079f279809cae1ece2e226fde5acf
extra : histedit_source : c7f61dbede0eda8ea3b0a1dfa5c67f8650f4ca81
2019-10-15 19:10:32 +03:00
Martin Stransky
bfddf50156 Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 13:12:13 +00:00
Emilio Cobos Álvarez
1aaa268725 Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D49267

--HG--
extra : moz-landing-system : lando
2019-10-15 12:40:14 +00:00
Coroiu Cristina
291d475197 Backed out changeset 1a951477dca5 (bug 1588743) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js on a CLOSED TREE 2019-10-15 15:35:50 +03:00
Emilio Cobos Álvarez
8325c4b9a3 Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D49267

--HG--
extra : moz-landing-system : lando
2019-10-15 11:39:30 +00:00
Emilio Cobos Álvarez
1de29ffe19 Bug 1586600 - Make nsPresContext's overflow propagation match the spec. r=hiro
From https://drafts.csswg.org/css-overflow/#overflow-propagation:

> UAs must apply the overflow-* values set on the root element to the viewport.
> However, when the root element is an [HTML] html element (including XML syntax
> for HTML) whose overflow value is visible (in both axes), and that element has
> a body element as a child, user agents must instead apply the overflow-*
> values of the first such child element to the viewport. The element from which
> the value is propagated must then have a used overflow value of visible.

This was out of sync with Document::IsScrollingElement, which implements the
right thing.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 10:33:14 +00:00
Markus Stange
d76e9ba35f Bug 1586627 - Work around a bug in AppleIntelHD3000GraphicsGLDriver in CompositorOGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D49050

--HG--
extra : moz-landing-system : lando
2019-10-15 02:14:50 +00:00
Cosmin Sabou
3c03c8f466 Backed out changeset 2947c5ae2f8b (bug 1586600) for mochitest failures on test_group_wheelevents.html. 2019-10-15 03:52:46 +03:00
Emilio Cobos Álvarez
a934a45ffd Bug 1586600 - Make nsPresContext's overflow propagation match the spec. r=hiro
From https://drafts.csswg.org/css-overflow/#overflow-propagation:

> UAs must apply the overflow-* values set on the root element to the viewport.
> However, when the root element is an [HTML] html element (including XML syntax
> for HTML) whose overflow value is visible (in both axes), and that element has
> a body element as a child, user agents must instead apply the overflow-*
> values of the first such child element to the viewport. The element from which
> the value is propagated must then have a used overflow value of visible.

This was out of sync with Document::IsScrollingElement, which implements the
right thing.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 22:29:17 +00:00
sotaro
61f09c1667 Bug 1588019 - Add option of enabling highlighting redraw regions of DCompositionVisual r=nical
Differential Revision: https://phabricator.services.mozilla.com/D48937

--HG--
extra : moz-landing-system : lando
2019-10-14 12:55:01 +00:00
Glenn Watson
1cca72e311 Bug 1587676 - Allocate picture caching tile surfaces later during the frame. r=nical,kvark
Instead of allocating a tile surface from the texture cache during
the tile post_update method, this is now deferred until the
take_context method of picture.

This will allow a simple CPU occlusion culling pass to run after
all the tile cache dependency updates (when the visible tiles and
rects are know), but before the surfaces are allocated. In this way,
we will be able to skip allocating, rasterizing and compositing
any tiles that are eliminated by the occlusion culling test.

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

--HG--
extra : moz-landing-system : lando
2019-10-13 20:24:40 +00:00
Oana Pop Rus
8a7bc2ad4e Backed out changeset 77357e0aa88e (bug 1584859) for wpt and mochitest failures. on a CLOSED TREE 2019-10-13 14:06:44 +03:00
Emilio Cobos Álvarez
8657ceea27 Bug 1584859 - Make smooth scrolling conditional on reduced motion settings. r=dbaron
We could put this change itself behind a pref too, if we considered that worth
it. But probably not so.

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

--HG--
extra : moz-landing-system : lando
2019-10-13 09:16:26 +00:00
Emilio Cobos Álvarez
536c1bc0bb Bug 1581467 - Fix checks for display: inline{,-block} which don't account for inline list items. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D48346

--HG--
extra : moz-landing-system : lando
2019-10-12 21:05:16 +00:00
Jeff Muizelaar
b36a941d02 Bug 1588224. Blob: Remove unused members and some debugging code.
This also reduces the size of BlobItemData which will give us
some free performance on SVGs that have a lot of items by reducing
our working set size.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:59:59 +00:00
Jeff Muizelaar
8a440a3269 Bug 1587198. Wrench: Supported saving images with strides != width*bytes_per_pixel. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D48602

--HG--
extra : moz-landing-system : lando
2019-10-09 18:58:08 +00:00
Imanol Fernandez
2d92d3cf9a Bug 1587366 - Fix VRManagerParent::GetVRActiveStatus race condition: Notify VRActiveStatus after a the VREventObserver is created. r=rbarker,daoshengmu
Notify VRActiveStatus after a the VREventObserver is created to prevent the VRManagerParent::GetVRActiveStatus race condition.
Call VRManager::Shutdown() when the app goes to background instead of calling it in the foreground event due to the inactivity timer.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 15:58:39 +00:00