Commit Graph

37991 Commits

Author SHA1 Message Date
Kartikaya Gupta
d046d2b406 Bug 1660933 - Respect wheel migration value. r=botond
This introduces a linear interpolation when computing the wheel animation
durations, based on the migration percentage of the user. Initially the
migration percentage defaults to 100 (fully migrated) for new users and for
existing users who have customized these prefs. The migration percentage
defaults to zero for existing users without customizations, so they will
still get the old default values of min=200,max=400. Over time we can adjust
the migration pref clamping to move that percentage up and migrate those
users to get the new values.

Differential Revision: https://phabricator.services.mozilla.com/D88163
2020-08-26 20:31:20 +00:00
Glenn Watson
3982d98aee Bug 1640617 - Disable partial present when debug overlays are enabled. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D88087
2020-08-26 09:36:50 +00:00
Kartikaya Gupta
39209de5eb Bug 1660808 - Clear the mApzcMap when clearing the APZCTM. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D88047
2020-08-26 19:05:17 +00:00
Kartikaya Gupta
707dedc5bc Bug 1661301 - Move comment to go with the code it refers to. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D88307
2020-08-26 19:01:15 +00:00
Kartikaya Gupta
09ec604f0c Bug 1661301 - Remove bits leftover from bug 1259301. r=botond
Depends on D88305

Differential Revision: https://phabricator.services.mozilla.com/D88306
2020-08-26 19:01:09 +00:00
Kartikaya Gupta
100a0c2461 Bug 1661301 - Remove bits leftover from bug 1248078. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D88305
2020-08-26 19:00:59 +00:00
Jonathan Kew
31e90cf644 Bug 1659258 - Ensure that SetupFamilyCharmap always sets the mCharacterMap pointer, even if empty, so that we don't repeatedly call it for fonts we can't actually use. r=jwatt
Depends on D87175

Differential Revision: https://phabricator.services.mozilla.com/D87176
2020-08-21 14:24:37 +00:00
Jonathan Kew
ae37d8dff3 Bug 1659257 - Set up shared-memory charmap record in FT2FontEntry::ReadCMAP. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87175
2020-08-26 14:33:56 +00:00
Jamie Nicol
0211cf8e50 Bug 1661045 - Update glslopt to fix build on OpenBSD. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D88254
2020-08-26 14:13:11 +00:00
sotaro
0d083ef8b6 Bug 1661197 - Initialize mBufferAge at constructor r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D88246
2020-08-26 10:50:44 +00:00
Jonathan Kew
3c2cb7fd1a Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D87304
2020-08-26 09:31:58 +00:00
Lee Salzman
8d53aef426 Bug 1622966 - composite YUV surfaces directly in SWGL SwCompositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88102
2020-08-26 00:36:24 +00:00
Jonathan Kew
f43df3b0df Bug 1648474 - patch 2 - Localized names other than the system locale (or default English) should not be exposed in the Preferences UI font list. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87661
2020-08-25 16:41:46 +00:00
Jonathan Kew
ae51add868 Bug 1648474 - patch 1 - Include all localized DirectWrite font family names in the font list. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87660
2020-08-25 16:41:18 +00:00
sotaro
b71cdb204a Bug 1658126 - Fix EGL_ANDROID_native_fence_sync check for android r=jgilbert
On recent android, EGL_ANDROID_native_fence_sync support is not reported even when eglDupNativeFenceFDANDROID() exists.

Differential Revision: https://phabricator.services.mozilla.com/D87995
2020-08-25 14:37:23 +00:00
Nicolas Silva
9f234a0d35 Bug 1660187 - Don't assert if the GL version string is empty. r=jgilbert
It can happen with Pernosco, getting in the way of reproducing problems elsewhere in the code base.

Differential Revision: https://phabricator.services.mozilla.com/D87732
2020-08-25 07:41:12 +00:00
Timothy Nikkel
69aaaddd9c Bug 1656711. Support hardware accelerated <feGaussianBlur> SVG filters if the x and y radius are not equal with webrender. r=gw
Pretty straight forward, mostly just plumbing stuff through.

Differential Revision: https://phabricator.services.mozilla.com/D85666
2020-08-25 07:26:21 +00:00
Jeff Gilbert
b82d76162f Bug 1656867 - Treat LAYERS_NONE like _BASIC. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D87814
2020-08-24 20:43:14 +00:00
Matt Woodrow
b5a52cf1f5 Bug 1657312 - Don't round clip rect. r=mstange
Depends on D86088

Differential Revision: https://phabricator.services.mozilla.com/D87023
2020-08-14 06:16:52 +00:00
Botond Ballo
f92b30262c Bug 1635256 - Avoid unnecessary array copies in NotifyLayerTransforms and SetConfirmedTargetAPZC. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D88083
2020-08-25 02:17:06 +00:00
sotaro
2789c3c5d4 Bug 1649354 - Add android Fence handling to Compositor r=jnicol
AHardwareBuffer requests to handle android fences. There are 2 type of fences, release fence and acquire fence. Some ideas were borrowed from b2g's FenceHandle implementation.

The release fence is a fence that is used for waiting until usage/composite of AHardwareBuffer is ended. It needs to be delivered from host side to client side. It is delivered via ImageBridge, since some TextureClientd str recycled without recycle callback.

The acquire fence is a fence that is used for waiting until rendering to its AHardwareBuffer is completed. It is delivered from client side to host side.

Differential Revision: https://phabricator.services.mozilla.com/D87298
2020-08-24 09:34:51 +00:00
sotaro
520e0ba1c7 Bug 1660434 - Add EGL_KHR_wait_sync support r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D87994
2020-08-24 17:50:48 +00:00
sotaro
712543d5bc Bug 1658005 - Unify RenderTextureHost async function calls r=nical,jnicol
The following functions are asynchronously called by a bit different ways. It seems not good. It seems better to unify them.
PrepareForUse()
NofityForUse()
NotifyNotUsed()

Differential Revision: https://phabricator.services.mozilla.com/D87709
2020-08-21 07:32:47 +00:00
Glenn Watson
e0df59861f Bug 1659764 - Fix compositor surface overlap with native compositors. r=mattwoodrow
This patch fixes a regression introduced when support was added
for transforms with native OS compositor surfaces.

We need to store both the true device rect and also the pre-transform
device rect for the external surface descriptor. The true device
rect is used for overlap detection to order compositor surfaces
correctly, while the pre-transform rect is sent to the native OS
compositor, since the transform is applied at that level.

Differential Revision: https://phabricator.services.mozilla.com/D87683
2020-08-24 20:22:21 +00:00
Mihai Alexandru Michis
b162701621 Backed out changeset 0cad1ef724ee (bug 1371386) for causing failures in emoji-fallback-3.html
CLOSED TREE
2020-08-24 21:02:10 +03:00
Jonathan Kew
ba87878325 Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D87304
2020-08-24 14:24:12 +00:00
Martin Stransky
b06a2c00a1 Bug 1620830 [Linux] Don't create DMABUFTextureData when dmabuf surface creation fails, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D87876
2020-08-24 06:38:09 +00:00
Jeff Gilbert
62f6cc5d9c Bug 1659225 - Apply UNPACK_ params only after init. r=lsalzman
+ Add asserts that we are infact in the default state.

Differential Revision: https://phabricator.services.mozilla.com/D87964
2020-08-23 06:09:33 +00:00
Botond Ballo
3a5e8351c5 Bug 1659973 - Bring back FrameMetrics::mVisualViewportOffset (but call it mVisualDestination). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87941
2020-08-22 22:59:47 +00:00
Mike Hommey
38280df928 Bug 1659066 - Update glslopt-rs to 0.1.6. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D87842
2020-08-22 22:48:34 +00:00
Razvan Maries
60aa2d1349 Backed out 3 changesets (bug 1659066) for build bustages. CLOSED TREE
Backed out changeset e8fdf9f3a551 (bug 1659066)
Backed out changeset 0d9c38d87d51 (bug 1659066)
Backed out changeset bdecbe65a90e (bug 1659066)
2020-08-23 01:39:26 +03:00
Mike Hommey
b6f42e711e Bug 1659066 - Update glslopt-rs to 0.1.6. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D87842
2020-08-22 22:02:12 +00:00
Narcis Beleuzu
c259d84931 Backed out 4 changesets (bug 1658856, bug 1592031) for bustages on ScreenshotGrabber.h . CLOSED TREE
Backed out changeset 6d54a1050bbd (bug 1658856)
Backed out changeset 19145f742503 (bug 1592031)
Backed out changeset 5db68a6a5bc2 (bug 1592031)
Backed out changeset 925e3b179b9b (bug 1592031)
2020-08-22 02:06:39 +03:00
Markus Stange
418d5452f5 Bug 1658856 - Fix overdraw and unused tile pixel computation in the profiler markers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86888
2020-08-21 22:47:38 +00:00
Markus Stange
66928a1e5b Bug 1592031 - Use NativeLayerSnapshotter to capture profiler screenshots with WebRender on macOS. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86880
2020-08-21 22:33:41 +00:00
Markus Stange
1191e4de06 Bug 1592031 - Add profiler screenshots functionality to NativeLayerSnapshotter. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59158
2020-08-21 22:44:26 +00:00
Markus Stange
a941eccf36 Bug 1592031 - Rename CompositorScreenshotGrabber to ScreenshotGrabber and give it a more generic interface. r=mattwoodrow
There already exist 3 implementations of this stuff and I don't want to add another one for the WR OS compositor path.
(The three implementations are: CompositorScreenshotGrabber, MLGPUScreenshotGrabber and RendererScreenshotGrabber.)
The interface has been designed in such a way that the MLGPU and WR implementations should be able to use it but I
haven't written the code to convert them.

Differential Revision: https://phabricator.services.mozilla.com/D59157
2020-08-21 22:33:31 +00:00
Botond Ballo
f5e74fe3bc Bug 1660211 - Respect iterator invalidation rules in ComputeClippedCompositionBounds(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87893
2020-08-21 19:57:01 +00:00
Andrew Osmond
e1c4e3d4a3 Bug 1640564 - Delete the blob commands when we delete the blob image template. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D87794
2020-08-21 13:11:29 +00:00
Botond Ballo
1ec395bfba Bug 1543485 - Preserve the relative scroll offset of the two viewports when accepting a main thread scroll update. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87686
2020-08-21 01:25:37 +00:00
Botond Ballo
e008dd3885 Bug 1633322 - Add an input block callback facility to allow senders of input events to receive a delayed notification of whether the event was processed by the root APZC. r=kats
This facility is only implemented for in-process senders of
input events (i.e. not for GPU process setups).

Differential Revision: https://phabricator.services.mozilla.com/D79931
2020-08-20 20:40:51 +00:00
Botond Ballo
6651ba71a3 Bug 1633322 - Turn APZEventResult::mHandledByRootApzc into a Maybe. r=kats,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D79930
2020-08-20 00:10:09 +00:00
Botond Ballo
66380a8ca4 Bug 1633322 - Combine APZEventResult::mTargetIsRoot and mHitRegionWithApzAwareListeners into a single flag. r=kats,geckoview-reviewers,snorp
GeckoView uses these flags for the same purpose: to determine
whether or not to allow certain effects, such as pull to refresh
or dynamic toolbar movement, that should be limited to cases
where an event manipulates the root scrollable.

In a subsequent patch, we will enhance the API between APZ and
GeckoView such that in cases where we don't know for sure whether
an event will manipulate the root scrollable until it is
dispatched to content, we tell GV the answer asynchronously.
This is easier if there is only one flag to report.

Differential Revision: https://phabricator.services.mozilla.com/D79929
2020-08-20 00:10:12 +00:00
Miko Mynttinen
569ea9f3ad Bug 1659585 - Let DisplayItemCache grow dynamically r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87752
2020-08-20 17:06:54 +00:00
Nicolas Silva
82a807015c Bug 1660017 - Remove is_well_formed_and_nonempty. r=gw
We don't need it anymore now that Rect::is_empty catches negative values and NaN.

Differential Revision: https://phabricator.services.mozilla.com/D87601
2020-08-20 02:43:05 +00:00
Botond Ballo
14424bce96 Bug 1659636 - Use the effective scroll offset and zoom in NotifyUpdateScreenMetrics. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87666
2020-08-20 01:16:14 +00:00
Botond Ballo
326d32c3bd Bug 1659636 - Fix CompositorBridgeParent.h include in AsyncCompositionManager.h. r=kats
Being in gfx/layers/composite, AsyncCompositionManager.h does not
get to include CompositorBridgeParent.h (which is in gfx/layers/ipc)
as simply '#include "CompositorBridgeParent.h"'.

Differential Revision: https://phabricator.services.mozilla.com/D87665
2020-08-20 01:15:51 +00:00
Botond Ballo
9fd7a44c13 Bug 1659636 - Fix variable naming. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87664
2020-08-20 01:15:38 +00:00
Bogdan Tara
6d322bffe4 Backed out 5 changesets (bug 1633322, bug 1634504) for touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset 3f866663b0aa (bug 1634504)
Backed out changeset 953d128f4c51 (bug 1633322)
Backed out changeset 84454fa520be (bug 1633322)
Backed out changeset 1aa6be497177 (bug 1633322)
Backed out changeset 9be548b05e86 (bug 1633322)
2020-08-20 03:01:02 +03:00
Botond Ballo
176a6fb1f9 Bug 1633322 - Add an input block callback facility to allow senders of input events to receive a delayed notification of whether the event was processed by the root APZC. r=kats
This facility is only implemented for in-process senders of
input events (i.e. not for GPU process setups).

Differential Revision: https://phabricator.services.mozilla.com/D79931
2020-08-19 21:31:47 +00:00