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

31441 Коммитов

Автор SHA1 Сообщение Дата
WR Updater Bot 7577fdbedb Bug 1504991 - Update webrender to commit 46ee0ffd00da268faf04e3263ad41733f58a6573 (WR PR #3279). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11142

--HG--
extra : moz-landing-system : lando
2018-11-07 03:21:23 +00:00
Hiroyuki Ikezoe 50f9ee4492 Bug 1504884 - Wrap AnimationInfo::mAnimationGeneration into Maybe<> and returns Nothing() if there is no animation. r=birtles
So that we don't generate anymore unnecessary change hints in
RestyleManager::AddLayerChangesForAnimation for the layer has no corresponding
animations.

Depends on D11105

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

--HG--
extra : moz-landing-system : lando
2018-11-07 03:13:04 +00:00
Hiroyuki Ikezoe 051215da7b Bug 1504884 - Drop AnimationInfo::mLayerManager. r=birtles
It's not used at all.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 03:09:05 +00:00
Daniel Varga 3d9ab59490 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 423e41eec91a44f6e3862da7972a40e4806d79e8
2018-11-07 00:03:28 +02: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
Matt Woodrow 9a919d79fe Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:48 +00:00
Matt Woodrow eb76e7c060 Bug 1456555 - Deal with clipped containers being smaller than their contents during blob building. r=Gankro
MozReview-Commit-ID: I0tc6l84NRa

Depends on D10041

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:41 +00:00
Matt Woodrow 71be702f62 Bug 1456555 - Fix SourceSurface offset handling in DTSkia::PushLayer. r=lsalzman
This got added in bug 1429508 and then removed in bug 1451845. Tiled blobs adds tests for this, so it shouldn't break again.

MozReview-Commit-ID: 3azL7SoWlr2

Depends on D10038

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:36 +00:00
Matt Woodrow ae8c862a29 Bug 1456555 - Support Map on multiple threads. r=rhunt
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.

MozReview-Commit-ID: GVR0rIx8wtD

Depends on D10036

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:02 +00:00
Matt Woodrow d902a179f1 Bug 1456555 - Fix bugs in DrawTargetOffset. r=mstange
MozReview-Commit-ID: I4XFoTp1szZ

Depends on D10033

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:29 +00:00
WR Updater Bot 7d7be1afe1 Bug 1504994 - Update webrender to commit 790b76f1547453615262c3037e1fb04bda22fbc8 (WR PR #3276). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11032

--HG--
extra : moz-landing-system : lando
2018-11-06 13:24:57 +00:00
WR Updater Bot e22b00d944 Bug 1504992 - Update webrender to commit 491476874195158449d209195c9fc429422f5d0c (WR PR #3273). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11022

--HG--
extra : moz-landing-system : lando
2018-11-06 12:06:02 +00:00
WR Updater Bot 626edf9eff Bug 1504894 - Update webrender to commit 6537cd0f366f09af018df717778a3b79c0d8836d (WR PR #3274). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11021

--HG--
extra : moz-landing-system : lando
2018-11-06 12:02:07 +00:00
Gurzau Raul 1da9ef02c4 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Brindusan Cristian 1be798764e Backed out 5 changesets (bug 1456555) for reftests failuress on /reftests/svg/text/pattern-content.svg.
Backed out changeset 0f2854553c21 (bug 1456555)
Backed out changeset 5e3b20a19162 (bug 1456555)
Backed out changeset 6cc965ecc095 (bug 1456555)
Backed out changeset 595abbb5bf3e (bug 1456555)
Backed out changeset c4df6309a5be (bug 1456555)
2018-11-06 07:39:19 +02:00
Matt Woodrow dfc9d42d93 Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

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

--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:53 +00:00
Matt Woodrow 528e0383d9 Bug 1456555 - Deal with clipped containers being smaller than their contents during blob building. r=Gankro
MozReview-Commit-ID: I0tc6l84NRa

Depends on D10041

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

--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:25 +00:00
Matt Woodrow 388a369641 Bug 1456555 - Fix SourceSurface offset handling in DTSkia::PushLayer. r=lsalzman
This got added in bug 1429508 and then removed in bug 1451845. Tiled blobs adds tests for this, so it shouldn't break again.

MozReview-Commit-ID: 3azL7SoWlr2

Depends on D10038

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

--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:18 +00:00
Matt Woodrow 684c71b2a2 Bug 1456555 - Support Map on multiple threads. r=rhunt
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.

MozReview-Commit-ID: GVR0rIx8wtD

Depends on D10036

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

--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:16 +00:00
Matt Woodrow 106238c238 Bug 1456555 - Fix bugs in DrawTargetOffset. r=mstange
MozReview-Commit-ID: I4XFoTp1szZ

Depends on D10033

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

--HG--
extra : moz-landing-system : lando
2018-11-06 03:10:56 +00:00
Brindusan Cristian 301c937cee Backed out 5 changesets (bug 1456555) for reftest failures on /reftests/svg/paint-order-03.svg.
Backed out changeset ca90391329b7 (bug 1456555)
Backed out changeset 1f269ed43301 (bug 1456555)
Backed out changeset afb19dd18556 (bug 1456555)
Backed out changeset d46e2737134f (bug 1456555)
Backed out changeset 4261b7dc70f7 (bug 1456555)
2018-11-06 04:52:58 +02:00
Matt Woodrow 4e002bf638 Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:44:58 +00:00
Matt Woodrow 457a7adce9 Bug 1456555 - Deal with clipped containers being smaller than their contents during blob building. r=Gankro
MozReview-Commit-ID: I0tc6l84NRa

Depends on D10041

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:43:28 +00:00
Matt Woodrow 47dd602d1a Bug 1456555 - Fix SourceSurface offset handling in DTSkia::PushLayer. r=lsalzman
This got added in bug 1429508 and then removed in bug 1451845. Tiled blobs adds tests for this, so it shouldn't break again.

MozReview-Commit-ID: 3azL7SoWlr2

Depends on D10038

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:42:09 +00:00
Matt Woodrow 75fcdba74b Bug 1456555 - Support Map on multiple threads. r=rhunt
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.

MozReview-Commit-ID: GVR0rIx8wtD

Depends on D10036

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:41:03 +00:00
Matt Woodrow df71bb3105 Bug 1456555 - Fix bugs in DrawTargetOffset. r=mstange
MozReview-Commit-ID: I4XFoTp1szZ

Depends on D10033

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

--HG--
extra : moz-landing-system : lando
2018-11-06 00:39:59 +00:00
WR Updater Bot 22bf715e5e Bug 1504672 - Update webrender to commit 236adf7b7737789359265cb26701625e2333729c (WR PR #3239). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10988

--HG--
extra : moz-landing-system : lando
2018-11-06 01:12:15 +00:00
Botond Ballo a23912a91d Bug 1502614 - Continue autoscroll animation after any main-thread scroll update (absolute or relative). r=rhunt
This matches the main thread behaviour prior to implementing APZ autoscrolling.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:38:43 +00:00
WR Updater Bot 43159df180 Bug 1504836 - Update webrender to commit fc7ac7b18c62fbb83173d6422eef3a2f70a1f941 (WR PR #3271). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10969

--HG--
extra : moz-landing-system : lando
2018-11-05 22:25:05 +00:00
Narcis Beleuzu 9b3f73e696 Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
Jonathan Kingston 4248b4c554 Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10882

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:47 +00:00
WR Updater Bot a42012aeb7 Bug 1504507 - Update webrender to commit b04e28d59a339fe0b155ff4e5edfe2f2edac71f9 (WR PR #3264). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10887

--HG--
extra : moz-landing-system : lando
2018-11-05 13:13:55 +00:00
Margareta Eliza Balazs 7c848ac763 Merge inbound to mozilla-central. a=merge 2018-11-05 11:48:33 +02:00
Lee Salzman 102969de53 Bug 1503749 - fix SkColor4f to SkColor conversion on big-endian. r=awilfox 2018-11-04 20:37:17 -05: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
WR Updater Bot 48cfce6f6a Bug 1504124 - Re-generate FFI header. r=kats
Depends on D10829

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

--HG--
extra : moz-landing-system : lando
2018-11-04 07:41:36 +00:00
WR Updater Bot 922fb6149b Bug 1504124 - Update webrender to commit f8213800c600c8058556e962dd4f28dbc88a5931 (WR PR 3265). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10829

--HG--
extra : moz-landing-system : lando
2018-11-04 07:41:18 +00:00
Cosmin Sabou 3b735243ab Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : rebase_source : 8505e939743adff1ac28bbacc959496d6e254a44
2018-11-02 23:51:14 +02: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
Botond Ballo 3c7a43472f Bug 1502638 - If the velocity tracker can't compute a velocity, zero out the axis velocity. r=kats
The previous value of the axis velocity could be stale, e.g. in the opposite
direction.

Depends on D10449

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

--HG--
extra : moz-landing-system : lando
2018-11-02 17:55:09 +00:00
Botond Ballo 96b9a55197 Bug 1502638 - Guard against two samples with the same timestamp in AndroidVelocityTracker. r=kats
Depends on D10448

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

--HG--
extra : moz-landing-system : lando
2018-11-02 18:53:16 +00:00
Botond Ballo 0a86d43794 Bug 1502638 - Make use of the position passed in to AndroidVelocityTracker::StartTracking(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10448

--HG--
extra : moz-landing-system : lando
2018-11-02 17:54:47 +00:00
Ciure Andrei 83010e5db0 Merge inbound to mozilla-central. a=merge 2018-11-02 18:44:43 +02:00
Andrew Osmond 016a11ff73 Bug 1428558 - Part 7. Suppress display list regeneration for animated image updates. r=nical
This patch allows us to intercept invalidation requests for display
items, and avoid regenerating the display list for animated images which
are using SharedSurfacesAnimation.

Differential Revision: https://phabricator.services.mozilla.com/D7504
2018-11-02 09:09:52 -04:00
Andrew Osmond aa6a92d381 Bug 1428558 - Part 6. Integrate SharedSurfacesAnimation with ImageContainer. r=nical
This patch embeds a SharedSurfacesAnimation object inside an
ImageContainer. This allows any consumers of the container to get the
single shared ImageKey for an animation, despite whatever surfaces may
be held inside the container at a given time.

Differential Revision: https://phabricator.services.mozilla.com/D7503
2018-11-02 09:09:52 -04:00
Andrew Osmond 6a77ac0bd5 Bug 1428558 - Part 5. Add SharedSurfacesAnimation to manage single ImageKey for animated images. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D7502
2018-11-02 09:09:52 -04:00
Andrew Osmond ed51ad4899 Bug 1428558 - Part 4. Move ImageKeyData/SharedUserData definition to SharedSurfacesChild header. r=nical
This is a non-functional change. It allows objects that build on top of
these helper classes to be exposed outside of SharedSurfacesChild in
future patches in this series.

Differential Revision: https://phabricator.services.mozilla.com/D7501
2018-11-02 09:09:52 -04:00
Andrew Osmond 39a21e7b4b Bug 1428558 - Part 3. Release our reference to an external image ID as soon as possible. r=nical
Animated images will work by changing the external image ID that an
ImageKey points to. We cannot allow the old external image to be
released and potentially unmapped until we have produced a new frame
with the new external image ID. We currently wait until the epoch has
advanced, but in the future when we don't rebuild the scene to animate
an image, the epoch will remain the same. This could cause us to hold
onto no longer used surfaces for much longer than expected. As such, in
this patch we switch to waiting for a FrameRendered notification from
WebRender, which works even if the scene rebuild was avoided.

Differential Revision: https://phabricator.services.mozilla.com/D7500
2018-11-02 09:09:52 -04:00
Andrew Osmond 74a32dcaab Bug 1428558 - Part 2. Improve plumbing to sending resource updates to WebRender. r=nical
Animated images will require scheduling a composite of the frame in
addition to updating the ImageKey/external image ID bindings. It would
be good if this could be done as part of the same IPDL message.
Additionally a page may have many animated images that we update the
frame for at the same time, so these updates should be batched together.
In the event that we needed to regenerate the display list, or produce
an empty transaction, ideally we would just throw these resource updates
in with the rest of the changes. This patch allows us to do all of that
without unnecessarily burdening the caller with tracking extra state.

Differential Revision: https://phabricator.services.mozilla.com/D7499
2018-11-02 09:09:52 -04:00
Andrew Osmond 83a52f66de Bug 1428558 - Part 1. Streamline mappings between an ImageKey and an ExternalImageId for shared surfaces. r=nical
Async animated images need a single ImageKey which can point to any
frame represented by its own external image ID. Additionally a frame
could be referenced again directly (e.g. something shows/uses the first
frame of the animated image).

Before this patch, the ownership between an ImageKey and an external
image ID for a shared surface was not clearly expressed. This resulted
in a special command to release the reference to the external image
separately from deleting the image key.

This patch makes the strong reference to an external image ID and an
ImageKey directly related. Not only does this facilitate multiple
ImageKeys owning the same surface, it also simplifies the ownership
semantics.

Differential Revision: https://phabricator.services.mozilla.com/D7520
2018-11-02 09:09:52 -04:00