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

35080 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo f116543753 Bug 1590582 - Have AsyncPanZoomController::ConvertToGecko return a Maybe rather than using a bool + outparam. r=tnikkel
Depends on D50362

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

--HG--
extra : moz-landing-system : lando
2019-10-23 22:39:48 +00:00
Botond Ballo a503cd9266 Bug 1590582 - Un-apply the fixed margins offset in ConvertToGecko as well. r=tnikkel
This ensures the coordinates of tap events are adjusted as well.

Depends on D50361

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

--HG--
extra : moz-landing-system : lando
2019-10-23 22:24:18 +00:00
Botond Ballo 82f4b680ab Bug 1590582 - Subtract the fixed margins offset when adjusting event coordinates during hit testing, rather than adding it. r=tnikkel
The offset is applied (added) during rendering; it needs to be un-applied
(subtracted) during hit testing.

Depends on D50360

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

--HG--
extra : moz-landing-system : lando
2019-10-23 22:11:35 +00:00
Botond Ballo 9214561570 Bug 1590582 - Don't leave HitTestResult::mFixedPosSides uninitialized. r=tnikkel
Likewise for APZCTreeManager::mFixedPosSidesForInputBlock.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 21:35:08 +00:00
Glenn Watson a457606700 Bug 1589512 - Part 2 - Add example DirectComposite webrender integration. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D49869

--HG--
extra : moz-landing-system : lando
2019-10-23 20:35:55 +00:00
Glenn Watson dd724015d2 Bug 1589512 - Part 1 - Add OS compositor interface to webrender. r=kvark,mstange
Differential Revision: https://phabricator.services.mozilla.com/D49868

--HG--
extra : moz-landing-system : lando
2019-10-23 20:15:58 +00:00
Jonathan Kew 70553d3b77 Bug 1588407 - If a requested font-family name may be a styled legacy family, force immediate loading of additional family names so that the correct font can be found. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D49181

--HG--
extra : moz-landing-system : lando
2019-10-23 10:40:16 +00:00
Alex Touchet 501ce471f9 Bug 1590553 - Dedupe synstructure r=jrmuizel
[import_pr] From https://github.com/servo/webrender/pull/3779

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

--HG--
extra : moz-landing-system : lando
2019-10-22 23:29:01 +00:00
Sebastian Streich f4b2f14328 Bug 1585664 - Add GetAsciiSpecForLogging and update callers r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47909

--HG--
extra : moz-landing-system : lando
2019-10-22 16:03:27 +00:00
Daosheng Mu 6d8653b0b9 Bug 1564127 - Check if GPU/VR process has connected with the parent process. r=kip
This issue happens when VR/GPU haven't connected with the parent process via IPC protocol, and we are trying to access its IPC Child when it is still null. It is possible to be happened when GPU/VR process is killed/shutdown, and we are trying to launch a new VR process. We need to check these status before completing our VR process's launch.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 16:45:35 +00:00
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