Commit Graph

7587 Commits

Author SHA1 Message Date
Michael Froman
2e78f7f1a1 Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:07:28 +00:00
Bogdan Tara
fc8134a16a Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)

--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman
563ff5b11d Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:47 +00:00
Martin Stransky
582b645d9b Bug 1504904 - Don't use GDK_IS_WAYLAND_DISPLAY() as it's missing on Gtk+ X11 only builds, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11610

--HG--
extra : moz-landing-system : lando
2018-11-12 15:25:38 +00:00
Matt Woodrow
478074e691 Bug 1506492 - Report WebRender swap-chain memory usage. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11594

--HG--
extra : moz-landing-system : lando
2018-11-13 03:15:51 +00:00
Jonathan Kew
b250a10034 Bug 1505966 - Bail out of using DWrite fonts if we failed to get the system collection. r=lsalzman 2018-11-09 09:11:14 +00:00
Lee Salzman
82a73c0629 Bug 1455848 - ensure WR DWrite font descriptors can be found in the system font collection. r=jfkthame 2018-11-06 14:43:24 -05:00
Bobby Holley
22681053a5 Bug 1504115 - Track the total number of GPU bytes allocated by WebRender. r=gw
This is useful for sanity-checking memory reports, and we'll also use it
for our texture eviction heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D10672
2018-11-06 09:48:48 -08:00
sotaro
3b545f56f3 Bug 1500017 - Use triple buffer with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL SwapChain r=mattwoodrow 2018-11-05 18:58:37 +09:00
Matt Woodrow
394f747fb0 Bug 1503730 - Add visual indicator for when WebRender frames record a CONTENT_FRAME_TIME of >200. r=sotaro
MozReview-Commit-ID: KdRf3WClD6M

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

--HG--
extra : moz-landing-system : lando
2018-11-04 20:35:36 +00:00
Jonathan Kew
e598ddf5f8 Bug 1503928 - Optimize FontFamilyList::Contains to avoid allocation and string-copying. r=lsalzman 2018-11-02 21:49:55 +00:00
Ryan Hunt
2226bcc8a3 Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond
This commit attempts to lower the pain of modifying FrameMetrics.h.

It looks like most includes really only want ViewID or
ScrollableLayerGuid, so this commit factors them out into a separate
header. In the process FrameMetrics::ViewID is changed to
ScrollableLayerGuid::ViewID, which personally seems like a better
place for it now that we have RepaintRequest. Unfortunately that
requires a lot of places to be updated.

After this commit there are still a couple of major places that
FrameMetrics is included.
 * nsDisplayList.h
 * nsIScrollableFrame.h
 * Layers.h

Those are going to be more tricky or impossible to fix so they're
not in this commit.

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

--HG--
rename : gfx/layers/FrameMetrics.h => gfx/layers/ScrollableLayerGuid.h
rename : gfx/layers/FrameMetrics.h => gfx/layers/ZoomConstraints.h
extra : rebase_source : 29ac79f91460a181bf7437af5c371207e22858e2
extra : source : c2e70e531075493fc6e374dcec862827f0bc6e77
2018-11-01 15:15:46 -05:00
Miko Mynttinen
5a4357d7c9 Bug 1503046 - Part 2: Introduce HitTestInfo and nsDisplayHitTestInfoItem, and make container items and nsDisplayCompositorHitTestInfo use them r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D10131

--HG--
extra : moz-landing-system : lando
2018-11-02 02:19:03 +00:00
Andi-Bogdan Postelnicu
efed08129a Bug 1498489 - Remove virtual from the declaration of an already virtual function. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10340

--HG--
extra : moz-landing-system : lando
2018-10-31 11:39:45 +00:00
Andrew Osmond
4c9b7d3ad8 Bug 1294490 - Part 3. Implement WebP decoder. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D8116
2018-10-31 15:01:08 -04:00
Lee Salzman
e99e2fefa4 Bug 1502152 - Skia m71 PDF fixes. r=rhunt 2018-10-30 22:17:34 -04:00
Jonathan Kew
35689e0d1a Bug 1493743 - Make BuildFontList robust against an invalid FontFamilyName record with no name atom. r=lsalzman 2018-10-30 12:55:35 +00:00
Kartikaya Gupta
d113a15f1b Bug 1501046 - Back out cset 798b3777f30f as we have a better fix now. r=me 2018-10-30 08:19:41 -04:00
Ryan Hunt
1601a8bb80 Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond
This commit adds a scroll origin, nsGkAtoms::relative, which can be used to
mark main thread scrolling that can be combined with a concurrent APZ scroll.

The behavior of this is controlled by a pref, apz.relative-update. This pref
is initially activated and is intended as an aid to narrowing down causes
of regressions for users in bug reports.

Relative scroll updates work by tracking the last sent or accepted APZ
scroll offset. This is sent along with every FrameMetrics. Additionally,
a flag is added to FrameMetrics, mIsRelative, indicating whether the
scroll offset can be combined with a potential APZ scroll. When this
flag is set, AsyncPanZoomController will apply the delta between the sent
base scroll offset, and sent new scroll offset.

This flag is controlled by the last scroll origin on nsGfxScrollFrame. The
new origin, `relative`, is marked as being able to clobber APZ updates,
but can only be set if all scrolls since the last repaint request or
layers transaction have been relative.

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

--HG--
extra : rebase_source : 51351a84c9cda228a0975e22eda3fd3bd8d261c4
extra : histedit_source : 4b564c19b16fe2bd26adc671b62b7cb6106e8163
2018-10-09 23:24:28 -05:00
Gurzau Raul
08de11aa7a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-25 01:04:19 +03:00
Kartikaya Gupta
df09857871 Bug 1501046 - Skip reporting checkerboarding to telemetry if the sanity test is running. r=botond
This is not really the best fix (a better one would be to ensure that the
displayport is set on the root element of the gfx sanity window), but should
do as a stopgap solution.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 17:08:36 +00:00
Andrew Osmond
44a3847f77 Bug 1490942 - Ignore UPS batteries for WebRender qualified purposes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8255
2018-10-23 13:08:40 -04:00
Kartikaya Gupta
0c05448b41 Bug 1453367 - Allow enabling WebRender on non-Fennec Android. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D9414

--HG--
extra : moz-landing-system : lando
2018-10-23 10:08:34 +00:00
Andrew Osmond
0f2cb305c1 Bug 1465619 - Part 11. Add support for recycling animated image frames. r=tnikkel
This is what we have been working towards in all of the previous parts
in the series. This subclasses AnimationFrameDiscardingQueue to save the
discarded frames for recycling by the decoder, if the frame is marked as
supporting recycling.

Differential Revision: https://phabricator.services.mozilla.com/D7516
2018-10-22 13:40:35 -04:00
Jonathan Kew
6f427d1a33 Bug 1493743 - Make AddFamilyToFontList return safely if passed a null font-family. r=lsalzman 2018-10-24 21:52:33 +01:00
Mats Palmgren
10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Margareta Eliza Balazs
c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Markus Stange
aac44afa75 Bug 1496823 - Remove EventThreadRunner and the pref that enabled it. r=kats,spohl
This was an experiment before we had e10s. It's no longer needed.

Depends on D7922

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:44:28 +00:00
Kartikaya Gupta
dc68784e43 Bug 1479757 - Switch to containerless scrolling for GeckoView+WR. r=botond
This changes the containerful scrolling pref to be an override pref
such that it is:
- always false on desktop (i.e. always use containerless there)
- always true in Fennec (i.e. never use containerless there)
- true in GeckoView if WebRender is disabled (i.e. only use
  containerless with WebRender).

The first two cases are the same as before; the last case is new.
Because we don't create layers with WR, the containerless vs
containerful distinction doesn't make much sense there, and we need to
implement a bunch of zooming glue in either case. So it makes sense to
go with the "way of the future" and keep it containerless.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 17:41:21 +00:00
Kartikaya Gupta
be788afc29 Bug 1498711 - Allow WR to ride the trains to beta 64. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8735

--HG--
extra : moz-landing-system : lando
2018-10-15 15:24:12 +00:00
Bobby Holley
87fa9f0013 Bug 1496838 - Add memory reporters for shared depth targets. r=kvark 2018-10-17 10:25:43 -07:00
Jeff Gilbert
da38782e5c No bug - Fix compiler warnings on Windows. 2018-10-12 21:44:11 -07:00
Jeff Gilbert
ad715ffdbd No bug - Replace tabs with spaces, strip EOL whitespace. 2018-10-12 21:44:09 -07:00
Csoregi Natalia
de7b5dcc69 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 13:18:41 +03:00
Jean-Yves Avenard
ca7b17362f Bug 1498162 - Ensure some variables are initialzied before using them r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8384

--HG--
extra : moz-landing-system : lando
2018-10-11 20:34:04 +00:00
Narcis Beleuzu
e09f2e2622 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 06:53:11 +03:00
Kearwood "Kip" Gilbert
5412f1d0a6 Bug 1473399 - Enable VR Service thread by default,r=daoshengmu
--HG--
extra : amend_source : 5753392913601198fa8391c654a7eb52e64c2eb7
2018-10-11 11:17:52 -07:00
Narcis Beleuzu
c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Lee Salzman
dd26a2555b Bug 1495661 - reuse the default UnscaledFontDWrite for variation fonts. r=jfkthame 2018-10-11 11:19:25 -04:00
Jean-Yves Avenard
c38d8622a3 Bug 1497294 - P8. Disable P010 surface type with nvidia adapters. r=mattwoodrow
It just doesn't work.
We add the preference media.wmf.force.allow-p010-format to force enable it.

Depends on D8136

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

--HG--
extra : moz-landing-system : lando
2018-10-11 07:32:35 +00:00
Jean-Yves Avenard
237243edf2 Bug 1497294 - P4. Use EnumSet with D3D11DeviceStatus and checks for P010 and P016 support. r=mattwoodrow
This allows to more easily construct it and add new values as needed.

The other bool members could be made to be part of the set, but this would require more significant code change.

Depends on D8082

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

--HG--
extra : moz-landing-system : lando
2018-10-10 22:14:51 +00:00
Kartikaya Gupta
a344ccde59 Bug 1497916 - Ensure the WR qualified pref is only enabled on nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8248

--HG--
extra : moz-landing-system : lando
2018-10-10 17:04:45 +00:00
Brian Hackett
ecdbabf1a6 Bug 1494994 - Disable WebRender when recording/replaying, r=nical.
--HG--
extra : rebase_source : 51b92b3f9b9349dc4953d3277cb1f251d222c369
2018-10-09 14:31:49 -10:00
Emilio Cobos Álvarez
c6c06c7f48 Bug 1496486 - Remove nsCSSValue usage from font code. r=heycam
Really sorry for the size of the patch.

Differential Revision: https://phabricator.services.mozilla.com/D7753
2018-10-09 19:07:41 +02:00
Narcis Beleuzu
e7a8994c37 Backed out 5 changesets (bug 1496486) for valgrind bustages. CLOSED TREE
Backed out changeset d2f1e35ee4b7 (bug 1496486)
Backed out changeset 7f843f4ee162 (bug 1496486)
Backed out changeset 2f629a60f12c (bug 1496486)
Backed out changeset 4dd15fa31474 (bug 1496486)
Backed out changeset e8d8e2f3f00b (bug 1496486)
2018-10-09 19:44:51 +03:00
Emilio Cobos Álvarez
804148c319 Bug 1496486 - Remove nsCSSValue usage from font code. r=heycam
Really sorry for the size of the patch.

Differential Revision: https://phabricator.services.mozilla.com/D7753
2018-10-09 17:33:24 +02:00
Brindusan Cristian
3b4ca07db8 Backed out 5 changesets (bug 1496486) for build bustages on gfxUserFontSet.h. CLOSED TREE
Backed out changeset 6b740afea403 (bug 1496486)
Backed out changeset 5cf44e254ac3 (bug 1496486)
Backed out changeset 8e465202c355 (bug 1496486)
Backed out changeset 86382b2249f6 (bug 1496486)
Backed out changeset ab92ed3e0a23 (bug 1496486)
2018-10-09 16:58:38 +03:00
Emilio Cobos Álvarez
d6c743191f Bug 1496486 - Remove nsCSSValue usage from font code. r=heycam
Really sorry for the size of the patch.

Differential Revision: https://phabricator.services.mozilla.com/D7753
2018-10-09 15:33:03 +02:00
Jonathan Kew
835870b152 Bug 1493743 - speculative patch - Set type to None rather than Named in default FontFamilyName constructor, as no name is provided. r=lsalzman 2018-10-04 10:57:40 +02:00
Kearwood "Kip" Gilbert
382df23968 Bug 1466700 - Refactor gfxVROculus.cpp to use gfxVRExternal interface, r=daoshengmu
Tags: #secure-revision

Bug #: 1466700

Differential Revision: https://phabricator.services.mozilla.com/D8177
2018-07-13 17:16:35 -07:00