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

30158 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt 981575402e Bug 1461786 - Rename TilePoint and TileSize to refer to tile coord space. r=nical
TileCoord is a (very slightly) better name for this unit in my opinion, and I'd
like to add a TileBuffer unit in the future which might get confused if there
is an unprefixed Tile unit.

--HG--
extra : rebase_source : 968f508f2195c12fd4840e2415130b1b36fd3e29
2018-04-19 16:03:24 -05:00
Ryan Hunt 7f3928a49a Bug 1461782 - Remove unused PingPongRegion. r=bas
--HG--
extra : rebase_source : 82e74ba537a5bdbf2a09b7f665f850acfc3007ce
2018-04-19 15:10:54 -05:00
shindli fdb6353ff2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-16 21:53:27 +03:00
Lee Salzman 636c3b1d00 Bug 1453892 - only use SkJumper's arm64 half-float optimizations with clang. r=rhunt
MozReview-Commit-ID: H4ahP6jVdqC
2018-05-16 12:26:47 -04:00
Martin Stransky 9cb5dba87a Bug 1460603 - GLLibraryEGL: Use wl_display to get EGLDisplay on Wayland r=lsalzman
Patch author is Takuro Ashie <ashie@clear-code.com>

Use wl_display to get EGLDisplay on Wayland because some drivers doesn't support EGL_DEFAULT_DISPLAY.
For example Intel's driver causes crash without this patch.

MozReview-Commit-ID: ILtRJrW6MDs

--HG--
extra : rebase_source : a513bfa3c1fc408743bd5b4aed6e416f4d8cc0d7
2018-05-09 15:26:15 +02:00
Martin Stransky 6ae5806eb6 Bug 1460605 - Use NS_NATIVE_EGL_WINDOW instead of NS_NATIVE_WINDOW on GTK r=lsalzman
Original patch author is Takuro Ashie <ashie@clear-code.com>

NS_NATIVE_EGL_WINDOW is exported by Gtk toolkit code and provides both X11 window
handle for X11 Gtk backend and EGL window handle for Wayland backend.

MozReview-Commit-ID: DEmlaLL7zGY

--HG--
extra : rebase_source : 4e3fb33e68472d61cbc8c555347d4b10343e2628
2018-05-10 16:14:03 +02:00
Margareta Eliza Balazs d4b9e50875 Merge inbound to mozilla-central. a=merge 2018-05-16 13:00:51 +03:00
Matt Woodrow 33d829994f Bug 1460491 - Part 2: Only recompute visibility for items if they are newly added to this layer, or intersect one that changed. r=jnicol
MozReview-Commit-ID: EAgvVQGsSPE

--HG--
extra : rebase_source : 44bc132a95d6d1b7e9cc3c22adcd4166a099237c
2018-05-16 16:02:37 +12:00
Matt Woodrow 0d65266918 Bug 1460491 - Part 1: Split nsDisplayItem::mVisibleRect into two members, one for each stated purpose. Gets rid of the save/restore since we no longer modify the building rect. r=jnicol
MozReview-Commit-ID: 5wcsSoZRN44

--HG--
extra : rebase_source : 1bf7d655b048a972e392514542aee171e20afe82
2018-05-16 15:56:32 +12:00
Hiroyuki Ikezoe ea397e2c09 Bug 1460389 - Use non-animated (static) value if the animation is in not in-effect. r=birtles,kats
MozReview-Commit-ID: 87YgNy0RkKt

--HG--
extra : rebase_source : ac77b639a558197082f4ac52c02a9988bb2a9194
2018-05-15 09:02:38 +09:00
Hiroyuki Ikezoe b63fbaf5f6 Bug 1460389 - Constify arguments for StackingContextHelper ctor. r=kats
MozReview-Commit-ID: 14fu7EYESwu

--HG--
extra : rebase_source : 48dd25d7ad42abde9643d4fec50bff9aa08c41ef
2018-05-15 08:59:33 +09:00
Hiroyuki Ikezoe 586992e21b Bug 1460389 - Remove TransactionBuilder::AppendTransformProperties. r=kats
This function is no longer used since we introduced TransactionWrapper class in
bug 1451469.

MozReview-Commit-ID: FGxi6thbxcP

--HG--
extra : rebase_source : ef5628f8bffb5c1fedf6de80056d4ebba41a9edf
2018-05-15 08:59:29 +09:00
Dorel Luca 0d2ff9e60d Merge mozilla-inbound to mozilla-central. a=merge 2018-05-16 00:54:22 +03:00
Jonathan Kew 2579d09699 Bug 1458301 followup #2, also use explicit namespace for std::isinf. r=preemptive bustage fix on CLOSED TREE 2018-05-15 15:37:45 +01:00
Jonathan Kew 35c8691c6f Bug 1458301 followup, use explicit namespace for std::isfinite to fix build failure on some platforms. r=bustage fix on CLOSED TREE 2018-05-15 15:32:33 +01:00
Jonathan Kew 94bd85ef62 Bug 1460764 - patch 2 - Include variationSettings in the gfxFontStyle hash value. r=jwatt 2018-05-15 14:59:26 +01:00
Jonathan Kew 54a3761450 Bug 1460764 - patch 1 - Avoid undefined behavior in gfxFontStyle::Hash() when sizeAdjust is -1.0f. r=jwatt 2018-05-15 14:59:26 +01:00
Jonathan Kew 526ed0b391 Bug 1457417 - Work around Core Text mishandling of 'opsz' axis when set to the font's default, by adjusting to a fractionally-different setting. r=jwatt 2018-05-15 14:59:26 +01:00
Jonathan Kew a311568f05 Bug 1458301 - Unify font face selection methods to consistently use WeightStyleStretchDistance to evaluate the closeness of an available resource to a requested style. r=jwatt 2018-05-15 14:59:25 +01:00
Kartikaya Gupta 8186c1e30a Bug 1461122 - Ensure we recomposite when getting a main-thread scroll offset update. r=botond
With non-WebRender, the composite is triggered unconditionally when we receive
the transaction from the content side, so we never needed this. The previous
patch adds the composite for the equivalent WebRender codepath, but it's better
to do it explicitly in NotifyLayersUpdated as well. The reason for this is that
with WebRender, this code runs on the updater thread which is not the same as
the compositor thread - so the composition that is scheduled from
WebRenderBridgeParent upon receiving the transaction might happen before the
scroll offset update is actually applied. Triggering a composition from
NotifyLayersUpdated should be a no-op in the cases where a composition is already
scheduled, but in cases where it has not been scheduled, it will schedule one
to ensure the scroll offset update gets composited properly.

MozReview-Commit-ID: Luf76J6QDkr

--HG--
extra : rebase_source : a130f1cf22973910767e96c69962d8b621c0d368
2018-05-15 08:49:36 -04:00
Kartikaya Gupta d07e6d261b Bug 1461122 - Clean up the composition flow for empty transactions. r=sotaro
This is mostly just refactoring to make the code more understandable. However,
there are a couple of functional changes:
- If we have scroll offset updates we now schedule a composite instead of
  sending the DidComposite right away. This is needed because we want to
  actually composite the scroll offset change.
- If there are WebRenderParentCommands provided, we process them and update the
  epoch in a single transaction, instead of splitting it across two transactions
  for no good reason.

MozReview-Commit-ID: 2HCa19EGxUD

--HG--
extra : rebase_source : f7cdc1b46fbca96b2124582f29c791f8944c1fc9
2018-05-15 08:49:34 -04:00
Kartikaya Gupta 26d10c1120 Bug 1461122 - Implement DidComposite(LayersId,...) for CompositorBridgeParent. r=sotaro
MozReview-Commit-ID: 5glDqCdvkQG

--HG--
extra : rebase_source : e7bcf7d338b79002e30a7647c15669f1958409e2
2018-05-15 08:49:29 -04:00
Bogdan Tara fbf34d5681 Backed out 3 changesets (bug 1461122) for build bustages on workspace/build/src/obj-firefox/dist/include/mozilla/layers/CompositorBridgeParent.h CLOSED TREE
Backed out changeset 90445f7b62cd (bug 1461122)
Backed out changeset 9f87280ba566 (bug 1461122)
Backed out changeset 0efbd05857c2 (bug 1461122)
2018-05-15 15:13:08 +03:00
Kartikaya Gupta 4faa5a5649 Bug 1461122 - Ensure we recomposite when getting a main-thread scroll offset update. r=botond
With non-WebRender, the composite is triggered unconditionally when we receive
the transaction from the content side, so we never needed this. The previous
patch adds the composite for the equivalent WebRender codepath, but it's better
to do it explicitly in NotifyLayersUpdated as well. The reason for this is that
with WebRender, this code runs on the updater thread which is not the same as
the compositor thread - so the composition that is scheduled from
WebRenderBridgeParent upon receiving the transaction might happen before the
scroll offset update is actually applied. Triggering a composition from
NotifyLayersUpdated should be a no-op in the cases where a composition is already
scheduled, but in cases where it has not been scheduled, it will schedule one
to ensure the scroll offset update gets composited properly.

MozReview-Commit-ID: Luf76J6QDkr

--HG--
extra : rebase_source : 3e8cc6c9cd6fb79ab1f7ec3d1e38a34a2c7f6011
2018-05-14 13:19:14 -04:00
Kartikaya Gupta 8677ec2d23 Bug 1461122 - Clean up the composition flow for empty transactions. r=sotaro
This is mostly just refactoring to make the code more understandable. However,
there are a couple of functional changes:
- If we have scroll offset updates we now schedule a composite instead of
  sending the DidComposite right away. This is needed because we want to
  actually composite the scroll offset change.
- If there are WebRenderParentCommands provided, we process them and update the
  epoch in a single transaction, instead of splitting it across two transactions
  for no good reason.

MozReview-Commit-ID: 2HCa19EGxUD

--HG--
extra : rebase_source : e5643b83914b47889e4bde6c0f8658fedb3d54fc
2018-05-14 13:19:13 -04:00
Kartikaya Gupta 976a28d5ae Bug 1461122 - Implement DidComposite(LayersId,...) for CompositorBridgeParent. r=sotaro
MozReview-Commit-ID: 5glDqCdvkQG

--HG--
extra : rebase_source : b3d50c9ffaa1b829b8a23fc5e16d15d1509eb080
2018-05-14 13:19:13 -04:00
Jed Davis bfc90a5627 Bug 1401776 - Raise fd limit to 4096 on Unix. r=glandium,mcmanus
This is to accommodate non-networking fd usage (IPC transports, various
databases, .xpi files, etc.), so it's separate from Necko's existing
manipulation of the fd limit, which is tied into Necko's internal limits
on how many sockets it will try to poll at once.

Note that resource limits are inherited by child processes, so this needs
to be done only in the parent.

This patch also removes similar code used on Solaris and Mac OS X.  The
Mac case (bug 1036682) refers to fd use by graphics textures, which
shouldn't be consuming fds anymore (even transiently) as of bug 1161166.

MozReview-Commit-ID: 2uodrkW5sUn

--HG--
extra : rebase_source : 5306f4995000459b89bed048ecafba3c262bbbdf
2018-05-10 17:36:32 -06:00
Narcis Beleuzu 932adad93d Merge inbound to mozilla-central. a=merge 2018-05-15 00:36:35 +03:00
Adrian Wielgosik 4fca802957 Bug 1460940 - Convert NS_NewDOMDocument to use nsIDocument. r=bz
MozReview-Commit-ID: GoJ30YZGRhq

--HG--
extra : rebase_source : 0995705c2c31c1a779c22c8336482d4c7e89e319
2018-05-11 19:46:15 +02:00
Margareta Eliza Balazs 17675612bf Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-14 19:49:50 +03:00
Margareta Eliza Balazs 2b9779c593 Merge inbound to mozilla-central. a=merge 2018-05-14 19:44:11 +03:00
shindli 42cb453a11 Backed out 3 changesets (bug 1453501) for bustage in build/build/src/gfx/gl/GLContextProviderEGL.cpp on a CLOSED TREE
Backed out changeset 8b53a7b34121 (bug 1453501)
Backed out changeset c07588586701 (bug 1453501)
Backed out changeset 6c231423492b (bug 1453501)
2018-05-14 17:05:14 +03:00
James Willcox 58d7215e3c Bug 1453501 - Allow the compositor to be created in a paused state r=kats
MozReview-Commit-ID: B0wc8MYaBJg
2018-05-14 08:15:38 -05:00
James Willcox 5c6878f58e Bug 1453501 - Allow GLContextEGL to be used without a surface r=jgilbert
Right now GLContextProviderEGL requires the widget to have a valid
EGLSurface when creating a non-offscreen GLContext. This patch falls
back to a dummy pbuffer surface or EGL_NO_SURFACE if supported, allowing
the GLContext creation to succeed. This will give us some more flexibility
on Android where the widget surface is not always readily available.

Additinally, we use the fallback surface any time MakeCurrent() is
called without a valid surface. This is needed to allow things like
Compositor shutdown when there is no widget surface available.

MozReview-Commit-ID: 1kbLIGNiOkV
2018-05-14 08:15:37 -05:00
Kartikaya Gupta 56f43bc35b Bug 1437036 - Implement GetLastTransactionId in WebRenderLayerManager. r=hiro
MozReview-Commit-ID: CLymsb5w3pk

--HG--
extra : rebase_source : e2c5ee70c637305d6057953bf5fb135d1ccf3831
2018-05-14 08:53:52 -04:00
sotaro 0098e3b6c3 Bug 1460496 - Remove WebRenderCanvasRendererSync r=nical 2018-05-14 10:25:47 +09:00
Margareta Eliza Balazs 8c891cd16f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-14 19:48:37 +03:00
Kearwood Gilbert a6a73845e8 Bug 1423731 - Update OpenVR to 1.0.18 r=rbarker
MozReview-Commit-ID: HnsMlUukB6z

--HG--
extra : rebase_source : 4c270d99cf6e54dfff653a1475a32b43548d4a77
2018-05-04 16:31:58 -07:00
Kartikaya Gupta 948e9e9519 Bug 1460861 - Update for API change in WR PR 2750. r=Gankro
MozReview-Commit-ID: F0T9oudhunt

--HG--
extra : rebase_source : 1156a8bf23919e5b49465c42ba2227a3408b30c5
2018-05-14 10:25:27 -04:00
Kartikaya Gupta d76b5fa54a Bug 1460861 - Update webrender to commit 9d20df4e76e3b19c569fd89965f70a2c278ff0c8. r=Gankro
MozReview-Commit-ID: C9hlaYMrM7W

--HG--
extra : rebase_source : 83eb50452bfa712dd011a90a1fc1ceeddbce758f
2018-05-14 10:25:05 -04:00
James Willcox 2448df528a Bug 1453501 - Allow the compositor to be created in a paused state r=kats
MozReview-Commit-ID: B0wc8MYaBJg
2018-05-14 11:12:39 -05:00
James Willcox 369ac65ffe Bug 1453501 - Allow GLContextEGL to be used without a surface r=jgilbert
Right now GLContextProviderEGL requires the widget to have a valid
EGLSurface when creating a non-offscreen GLContext. This patch falls
back to a dummy pbuffer surface or EGL_NO_SURFACE if supported, allowing
the GLContext creation to succeed. This will give us some more flexibility
on Android where the widget surface is not always readily available.

Additinally, we use the fallback surface any time MakeCurrent() is
called without a valid surface. This is needed to allow things like
Compositor shutdown when there is no widget surface available.

MozReview-Commit-ID: 1kbLIGNiOkV
2018-05-14 11:12:39 -05:00
Brindusan Cristian e471ad3958 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-12 12:50:40 +03:00
Brindusan Cristian 1df25b391a Merge inbound to mozilla-central. a=merge 2018-05-12 12:47:14 +03:00
Hiroyuki Ikezoe 4ff74a279c Bug 1461023 - Disable the assertion that checks the previous opacity animation value exists when we skip computing opacity animation. r=kats
We are going to re-enable the assertion with a proper fix in bug 1459775.

MozReview-Commit-ID: 2jy6vIImqD

--HG--
extra : rebase_source : ce81b8b2f7dfb47f7db07e820989a65eac38859a
2018-05-12 08:01:46 +09:00
Kartikaya Gupta bc221bf045 Bug 1460988 - Don't hold the layer trees lock while making calls that block on WR threads. r=sotaro
MozReview-Commit-ID: BKNf5wpG1br

--HG--
extra : rebase_source : bd4d382095c5f562f31fb2ba2ad0098fd1944c00
2018-05-11 16:36:22 -04:00
Kartikaya Gupta d067a7cdae Bug 1452390 - Implement paint-skipping support in WebRender. r=botond
The majority of this patch is just plumbing. The interesting parts are
in WebRenderLayerManager and APZUpdater/WebRenderScrollData. Unlike
ClientLayerManager, which updates the FrameMetrics on the client side
and sends the modified version over to the compositor, this WR version
just sends the update info over to the compositor, which then applies
the update to the metrics saved in APZUpdater before triggering the
hit-testing tree rebuild.

MozReview-Commit-ID: 4latUMa8RFw

--HG--
extra : rebase_source : d0aeaf5a9c8107bbcaf8b0da6d68a0f47f455be5
2018-05-11 21:18:22 -04:00
Kartikaya Gupta 1324d322fd Bug 1452390 - Make WebRenderScrollData::HasMetadataFor work properly on the parent side. r=botond
MozReview-Commit-ID: A2ScgCFVZ8J

--HG--
extra : rebase_source : 981b8ca3e5916397db0db523a044d4e984359e79
2018-05-11 21:18:21 -04:00
Alexis Beingessner c9ec03e046 Bug 1451424 - emit a dispatch-to-content hittest region for all svg blobs. r=kats,mstange
MozReview-Commit-ID: 9yCF8dacZ7V

--HG--
extra : rebase_source : 1616231586866cc689d56757f3b93beb3886cda6
2018-05-08 18:32:42 -04:00
Jonathan Kew dba372ac43 Bug 1396450 - Don't apply ToLowerCase to font feature identifiers used in @font-feature-values rules, as the spec says they're case sensitive. r=xidorn 2018-05-14 10:05:25 +01:00
Kartikaya Gupta 65a4d7b8f6 Bug 1459935 - Update for API change in WR PR 2747. r=jrmuizel
MozReview-Commit-ID: CXPExT8Ho7p

--HG--
extra : rebase_source : 9bbb52b70f1e6c750028961125215e62ddb5fb76
2018-05-11 09:15:24 -04:00
Kartikaya Gupta 5681e385b8 Bug 1459935 - Update webrender to commit 4811a6e7c06f9dd1b4056e5f5e66983842983ba0. r=jrmuizel
MozReview-Commit-ID: HUUVwbPauIk

--HG--
extra : rebase_source : 619a602c1c1730c66e517367c3fc11df76bd9479
2018-05-11 09:14:03 -04:00
Kartikaya Gupta 2b4b8a09ab Bug 1457466 - Make the GenerateFrame transaction bypass the scene builder thread. r=nical
This allows frames to be generated by the render backend thread even
while the scene builder thread is busy with a long scene build. The
GenerateFrame transaction also contains APZ and OMTA information, so
this allows the user to scroll and view OMTAnimations during long scene
builds.

MozReview-Commit-ID: KG5YC2KwIaH

--HG--
extra : rebase_source : 3ba559aa22a3a036a3b3a034ea20caacdc8c864a
2018-05-11 09:09:19 -04:00
Kartikaya Gupta d3693ff0d7 Bug 1457466 - Trigger a render/composite after an async scene build has been swapped in. r=nical
MozReview-Commit-ID: DLROm9gg544

--HG--
extra : rebase_source : d7ecffdfcb87b3148e5486b4f6810a6e73a9dcf3
2018-05-11 09:09:16 -04:00
Margareta Eliza Balazs 4f9a2ba08e Merge inbound to mozilla-central. a=merge 2018-05-11 12:36:02 +03:00
YUKI "Piro" Hiroshi dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
Brian Birtles f8c518344a Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
MozReview-Commit-ID: 8jzJiCWt5vs

--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffect.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffect.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffect.webidl
extra : rebase_source : 2bd6490fe9be47cfb760bda81a63c33ba0b0397d
2018-05-07 11:15:16 +09:00
Brian Birtles 3184f30162 Bug 1456394 - Merge KeyframeEffectReadOnly and KeyframeEffect; r=bz,hiro
MozReview-Commit-ID: FvTMGjxfRXk

--HG--
extra : rebase_source : 8f7fd0903c9ca2f545dce2633eb797345a7517f8
2018-05-07 11:08:59 +09:00
Brian Birtles 9622b88217 Bug 1456394 - Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}; r=bz,hiro
MozReview-Commit-ID: 5Q7oQV8vmgS

--HG--
rename : dom/animation/KeyframeEffectReadOnly.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/KeyframeEffectReadOnly.h => dom/animation/KeyframeEffect.h
extra : rebase_source : cdc8448e7d07376691ef9187f7d6f4424800b690
2018-05-07 11:07:06 +09:00
Kartikaya Gupta 27baa6b4f2 Bug 1460495 - When sending a transaction, ensure the new transaction that takes its place has the same async-scene-build flag set. r=sotaro
MozReview-Commit-ID: HYwUwqE2P2O

--HG--
extra : rebase_source : 9540a4dc271d51b5d517fb6498d54d0c55eec6c6
2018-05-10 13:05:22 -04:00
Bob Owen 8a6b8bfbbf Bug 1462049: Fix MemStream allocation to only allocate its capacity. r=jrmuizel 2018-05-16 18:26:24 +01:00
sotaro 196c70b995 Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel 2018-05-17 12:07:20 +09:00
Brendan Dahl 0cc1c8ec9b Bug 221706 - Use unwritable region when printing on Windows. r=jimm
Read more information from the printing device to setup the unwritable region.
Translate the printing context's coordinate system so that the point (0,0)
refers to the top-left of the physical paper instead of the top-left of the
printable region.

MozReview-Commit-ID: 9ei2FgEUDyO

--HG--
extra : rebase_source : c2e2715f47499538035101a285152eca2aba3202
2018-03-28 17:13:10 -07:00
Dorel Luca 2f3e1241e7 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : b3e2947586dd2ed9dbe52aabb06808d4ac8dbfff
2018-05-11 01:02:37 +03:00
Jonathan Kew 47a41be37b Bug 1460543 - Check for null (default) style parameter in gfxDWriteFontEntry::CreateFontFace before dereferencing it. r=jwatt 2018-05-10 14:45:19 +01:00
YUKI "Piro" Hiroshi 3983d5f82f Bug 1457400 - Fix typo "ELG" to "EGL", r=milan
There is misspelled "GLContextProviderELG".
2018-05-10 16:48:07 +09:00
Kartikaya Gupta 6eea99c630 Bug 1432515 - Restrict gfx.webrender.{all,enabled} to nightly, and only allow enabling via .all.qualified on beta and release. r=milan
This ensures that only people with qualified hardware can flip prefs to
enable WebRender on beta and release. Nightly users will still be able
enable WebRender on unqualified hardware.

MozReview-Commit-ID: E5sgzZhuX4p

--HG--
extra : rebase_source : a4e85e71e4d85b5d9f1e17c1413ca9690349f75a
2018-05-09 15:24:38 -04:00
Kearwood "Kip" Gilbert 08e845d5e5 Bug 1373279 - Avoid checking for OpenVR runtime until hitting WebVR content r=rbarker
MozReview-Commit-ID: 9nUZ44uZEjE

--HG--
extra : rebase_source : 3e82c22bbc23da36d0985c8efd2556239f18df0d
2018-05-03 16:27:46 -07:00
Dan Glastonbury ee3d63760a Bug 1457810: Move CalcComplexColor to StyleComplexColor. r=xidorn
Move from nsStyleColor::CalcComplexColor to StyleComplexColor::CalcColor.

MozReview-Commit-ID: FkYovvPZLc8

--HG--
extra : rebase_source : 54f1966e0ef9258f20e954cd6250774008eca04c
2018-05-09 17:03:02 +10:00
Kartikaya Gupta 788be8ad4e Bug 1460289 - Reduce scope of indirect layer tree lock in RecvAdoptChild. r=sotaro
In particular, this change makes it so that we are not holding the lock
when we clone the WebRenderAPI, because that can result in a deadlock.

MozReview-Commit-ID: 33OGZdFMjEA

--HG--
extra : rebase_source : 4a1aeb81e3316a119d6b0aa798d827314543a70b
2018-05-09 15:23:30 -04:00
Xidorn Quan 4ddb42237d Bug 1460116 - Remove ShouldHideScrollbars. r=jimm
MozReview-Commit-ID: 7v6Eylefk4t

--HG--
extra : rebase_source : f37e94e205e7e589c3a47f282c57b725d65914d9
2018-05-09 11:40:58 +10:00
Tom Ritter a2349ea483 Bug 1460357 Do not use optimized AVX for Skia convolve_vertically in MinGW r=lsalzman
MozReview-Commit-ID: 8ROpiDD4xYH

--HG--
extra : rebase_source : 73f0d4abf5523bb2cd9862c76df807f0da5dbc83
2018-04-25 22:57:58 -05:00
Lee Salzman 7e00387060 Bug 1144632 - fix big-endian Skia builds. r=rhunt
MozReview-Commit-ID: JQivGBE45qy
2018-05-24 14:50:31 -04:00
Noemi Erli 95275303ad Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-24 18:52:11 +03:00
Ryan Hunt 8a29e10e3e Bug 1462411 - Move FlushAsyncPaints to ClientLayerManager::EndTransactionInternal. r=mattwoodrow
This commit moves FlushAsyncPaints to EndTransactionInternal, which allows
us to continue async painting during DLB and FLB. We still flush async paints
before rasterizing into layers as we aren't triple buffered.

--HG--
extra : amend_source : 6ee4f511008c60fe1f52f7a260ef7d5b5e3c0c92
2018-05-16 15:42:46 -05:00
Kartikaya Gupta 26304e2c11 Bug 1462611 - Update webrender to commit bb354abbf84602d3d8357c63c4f0b1139ec4deb1. r=jrmuizel
MozReview-Commit-ID: KiJVmU52MMd

--HG--
extra : rebase_source : edda638057baa61935e15c2d940994ab6dad0035
2018-05-22 09:38:19 -04:00
Jan-Ivar Bruaroey ab5ccac300 Bug 1463230 - Fix compile error on abs(float). Use std::abs() instead. r=jfkthame
MozReview-Commit-ID: 16wgbMcFjeT

--HG--
extra : rebase_source : 4c68184255714c5021fb11df409c6b5e047e1a4c
2018-05-21 15:18:09 -04:00
Xidorn Quan 4c114dbee6 Bug 1460456 part 3 - Add scrollbar-{face,track}-color properties. r=heycam
MozReview-Commit-ID: ImNfHHfzRdM

--HG--
extra : rebase_source : 58caf9fff4ad62d4413de688ad115e89a5929ea6
2018-05-10 10:40:17 +10:00
Stephen A Pohl c5cd7f42ff Bug 1460127: Fix null-deref to ensure that GPU processes launch and init properly. r=jimm 2018-05-11 16:35:35 -04:00
Margareta Eliza Balazs b51d5aed5d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-11 12:44:53 +03:00
Jonathan Kew de265e92c7 Bug 1427660 - patch 2 - In gfxFontGroup::ComputeRanges, allow font run to include multiple match-types to avoid unnecessary interruption of font shaping. r=lsalzman 2018-05-11 08:56:25 +01:00
Jonathan Kew 288d62fe84 Bug 1427660 - patch 1 - Make gfxTextRange::MatchType an enum class for stronger type checking (no functional change). r=lsalzman 2018-05-11 08:56:12 +01:00
Kartikaya Gupta 3ac673052b Bug 1466549 - Update webrender to aff9f409f3d6a3518c38c1f7755657f564c1083a. r=Gankro
MozReview-Commit-ID: 2Vauiblv7eW

--HG--
extra : rebase_source : e538ab000dccbd1e532bb80f8f5d09f22d3968e4
2018-06-06 07:34:22 -04:00
Kartikaya Gupta 4516d9a7d0 Bug 1465864 - Enable test_group_hittest for webrender. r=botond
MozReview-Commit-ID: B3EKTEHv4vi

--HG--
extra : rebase_source : 2fb4a28b204f35f33260c3939de0084032dcaa9a
2018-06-01 07:00:18 -04:00
Kartikaya Gupta bcd1e43497 Bug 1465864 - Update mochitest code for changes in bug 1443424. r=botond
In bug 1443424, the CompositorHitTestInfo for a thumb frame was modified
to only contain the thumb flag if it was layerized. The mochitests were
disabled at the time and so didn't make a fuss.

MozReview-Commit-ID: Argqj8KbnqU

--HG--
extra : rebase_source : 5b4b38fdbeb17c8434be202f20fee5b7e19a66b7
2018-06-01 06:59:59 -04:00
Kartikaya Gupta aa33218939 Bug 1465864 - Make hit-testing mochitest failure messages nicer. r=botond
Instead of printing out base-10 numbers like "expected 67" this will
print out a nicer "expected VISIBLE | DISPATCH_TO_CONTENT | SCROLLBAR"
which makes it easier to see which flags are missing from the hit info.

MozReview-Commit-ID: gp9ERBIgYj

--HG--
extra : rebase_source : 6f73ae8598d525227bcbaed2e9de1e24d7915355
2018-06-01 06:58:28 -04:00
Csoregi Natalia 2f779be8d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
Markus Stange 7cdcd735ca Bug 1464909 - Add GRAPHICS category annotations to async-paint-related methods. r=rhunt
MozReview-Commit-ID: HM2Gp85pCJa

--HG--
extra : rebase_source : 13d91a58f66b26cd869b438acfde517228d91491
2018-05-31 14:07:57 -04:00
Markus Stange 423ce68542 Bug 1462784 - Relabel various other stuff as being OTHER. r=njn
Any more specific work that is happening in these methods will have its own
specific category labeling in that specific code. The instances touched in this
patch are more on the outside and don't really know what kind of code is going
to be running inside.

MozReview-Commit-ID: 47NO1DZzkdH

--HG--
extra : rebase_source : 344c380ddaaf42a1fd820a26b762c61ee9e2d524
2018-05-18 17:58:43 -04:00
Csoregi Natalia fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange 3f54b9a3dd Bug 1462784 - Relabel various other stuff as being OTHER. r=njn
Any more specific work that is happening in these methods will have its own
specific category labeling in that specific code. The instances touched in this
patch are more on the outside and don't really know what kind of code is going
to be running inside.

MozReview-Commit-ID: 47NO1DZzkdH

--HG--
extra : rebase_source : f807c14bf6a592e0c651e15b63d1e7d63e4b0159
2018-05-18 17:58:43 -04:00
Nicolas Silva 5424a4d26a Bug 1461342 - Update WebRender bindings after changes in PR #2763. r=kats
MozReview-Commit-ID: 8GAAvPh41eP

--HG--
extra : rebase_source : ebd0012cb5886df33036264f7c6e79c6b4607262
2018-05-18 08:28:33 -04:00
Kartikaya Gupta 16dd5e2b2f Bug 1461342 - Update for API change in WR PR 2762. r=jrmuizel
MozReview-Commit-ID: 3MHCV00262v

--HG--
extra : rebase_source : 2e504a215eb5edd69e30bea3539ac11239d490de
2018-05-18 08:28:26 -04:00
Kartikaya Gupta f7cfb71dcb Bug 1461342 - Update webrender to commit 672f480af48b0ad69c1b2781151278d99816763a. r=jrmuizel
MozReview-Commit-ID: 2mwEtwE2flc

--HG--
extra : rebase_source : d12a363446b07d2c4525bdd9eec42167097ccbe9
2018-05-18 08:28:15 -04:00
Jonathan Kew 9c8f263093 Bug 1458004 - Link font-style values italic / oblique to the appropriate variation-font axes or synthetic styling. r=jwatt 2018-05-09 13:49:24 +01:00
Andrew Osmond d19566e09c Bug 1454149 - Do not advance animated images which are not displayed. r=tnikkel
All animated images on a page are currently registered with the refresh
driver and advance with the tick refresh. These animations may not even
be in view, and if they are large and thus cause redecoding, cause a
marked increase in CPU usage for no benefit to the user.

This patch adds an additional flag, mCompositedFrameRequested, to the
AnimationState used by FrameAnimator. It is set to true each time the
current animated image frame is requested via
FrameAnimator::GetCompositedFrame. It is set to false each time the
frame is advanced in FrameAnimator::AdvanceFrame (via
FrameAnimator::RequestRefresh). If it is true when
FrameAnimator::RequestRefresh is called, then it will advance the
animation according to the normal rules. If it is false, then it will
set the current animation time to the current time instead of advancing.

This should not cause the animation to fall behind anymore or skip
frames more than it does today. This is because if
FrameAnimator::GetCompositedFrame is not called, then the internal state
of the animation is advancing ahead of what the user sees. Once it is
called, the new frame is far ahead of the previously displayed frame.
The only difference now is that we will display the previous frame for
slightly longer until the next refresh tick.

Note that if an animated image is layerized (should not happen today) or
otherwise uses an ImageContainer, this optimization fails. While we know
whether or not we have an image container, we do not know if anything is
actively using it.
2018-05-09 08:04:20 -04:00
Margareta Eliza Balazs eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Ciure Andrei 4b3c343192 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-09 02:03:22 +03:00
Ciure Andrei 61548f81d6 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/meta/webdriver/tests/navigation/get_title.py.ini => testing/web-platform/meta/webdriver/tests/get_title/user_prompts.py.ini
2018-05-09 01:58:44 +03:00
Jonathan Kew e6b971d44f Bug 1458003 - speculative fix: make a local copy of the face list in CheckForLegacyFamilyNames, in case mAvailableFonts is mutated during this function. r=lsalzman 2018-05-08 20:54:02 +01:00
Hiroyuki Ikezoe bb70206bd8 Bug 1459895 - Avoid underflow in TimeStamp in the middle of the calcuration of animation's ready time. r=birtles
MozReview-Commit-ID: EsvEIHGMXUa

--HG--
extra : rebase_source : 9567449a59df1232eb3197384e769740eeafdb15
2018-05-09 10:47:51 +09:00
Hiroyuki Ikezoe dd11d8f6fc Bug 1320608 - Add an assertion that checks AnimationInfo::GetGenerationFromFrame() receives the primary frame or the first continuation frame. r=birtles
MozReview-Commit-ID: FFjXbZT4sDQ

--HG--
extra : rebase_source : e3024f8c3c0a18aeaf2ebfb61f69950392a22813
2018-05-09 05:54:10 +09:00
Ciure Andrei de05fd66c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 02:02:05 +03:00
Hiroyuki Ikezoe 8a0839c09a Bug 1456679 - Don't set non-animated values as AnimatedValue in delay phase. r=kats
We no longer need them since in the previous commit we make sure subsequent
ticks happens for animations in delay phase.

MozReview-Commit-ID: F68wCCsCEiE

--HG--
extra : rebase_source : d6ebe9bfa90a767154cea04255dbf4a5403674fe
2018-05-08 15:59:01 +09:00
Hiroyuki Ikezoe 56631db5d6 Bug 1456679 - Update the previous timestamp with the current timestamp even if there are only delayed phase animations. r=kats
mAnimStorage->AnimatedValueCount() returns zero in the case where all
animations are in delay phase, even in such case, we should update the previous
timestamp.

MozReview-Commit-ID: 5Dds1YjfVh9

--HG--
extra : rebase_source : 759b7b4d9e5aa23542a31593674683fbef2dbc47
2018-05-08 15:58:54 +09:00
Hiroyuki Ikezoe b154a976cd Bug 1456679 - Make SampleAnimations return boolean to tell there is any animations even if the animation in delay phase. r=kats
If the animation is in delay phase, we shouldn't produce any values for the
animation but we have to make sure subsequent ticks happen in order to the time
when the animation starts.  So what we should do here is that

1) Make AnimationHelper::SampleAnimations() return boolean, return true if
   there is any animation.
2) Schedule the next tick if AnimationHelper::SampleAnimations return true

This setup is equivalent to what we do non-WebRender.

So that we don't need to set non-animated value as AnimatedValue for delay
phase to make subsequent ticks happen for the delay phase animations.  The
non-animated value will be dropped in the next patch.

MozReview-Commit-ID: IwltLGgvT7K

--HG--
extra : rebase_source : f2c59cb3bdb3affc5846e65ccbaad7dbc069d0ad
2018-05-08 15:48:27 +09:00
Kartikaya Gupta b19c697041 Bug 1458598 - Override scrollframes with their descendant reference frames. r=mstange
The test case has a fixed item A inside a scrollframe B which is inside
a reference frame C which is inside the root scrollframe D. The
ClipManager code currently uses D's scrollid as the scrolling ancestor
for A, because the gecko display list's ASR is set up that way. However,
we really want to set C as the scrolling ancestor, because otherwise the
item A gets hoisted out of C and the transform from C doesn't get
applied to it. This patch ensures that when we enter C, we install an
override so that anything that would have used D's scrollid ends up
using C's, which results in the correct behaviour.

MozReview-Commit-ID: 31tscfT4xWW

--HG--
extra : rebase_source : 03df2fa5519b2592a2c9f598af0f3f1500773718
2018-05-08 09:16:29 -04:00
Kartikaya Gupta 85e5ccd033 Bug 1458598 - Expose the generated reference frame id for stacking contexts. r=mstange
This is just plumbing, no functional changes yet.

MozReview-Commit-ID: FlmnMVammse

--HG--
extra : rebase_source : edede45a77a829dbd125dc1f18a4c2a4bc8087c1
2018-05-08 09:16:26 -04:00
Coroiu Cristina f39a811db2 Merge mozilla-central to autoland a=merge on a CLOSED TREE
--HG--
rename : third_party/rust/core-foundation/.cargo-checksum.json => third_party/rust/core-foundation-0.5.1/.cargo-checksum.json
rename : third_party/rust/core-foundation/Cargo.toml => third_party/rust/core-foundation-0.5.1/Cargo.toml
rename : third_party/rust/core-foundation/src/array.rs => third_party/rust/core-foundation-0.5.1/src/array.rs
rename : third_party/rust/core-foundation/src/base.rs => third_party/rust/core-foundation-0.5.1/src/base.rs
rename : third_party/rust/core-foundation/src/bundle.rs => third_party/rust/core-foundation-0.5.1/src/bundle.rs
rename : third_party/rust/core-foundation/src/dictionary.rs => third_party/rust/core-foundation-0.5.1/src/dictionary.rs
rename : third_party/rust/core-foundation/src/filedescriptor.rs => third_party/rust/core-foundation-0.5.1/src/filedescriptor.rs
rename : third_party/rust/core-foundation/src/lib.rs => third_party/rust/core-foundation-0.5.1/src/lib.rs
rename : third_party/rust/core-foundation/src/propertylist.rs => third_party/rust/core-foundation-0.5.1/src/propertylist.rs
rename : third_party/rust/core-foundation/src/runloop.rs => third_party/rust/core-foundation-0.5.1/src/runloop.rs
rename : third_party/rust/core-foundation/src/set.rs => third_party/rust/core-foundation-0.5.1/src/set.rs
rename : third_party/rust/core-foundation/tests/use_macro_outside_crate.rs => third_party/rust/core-foundation-0.5.1/tests/use_macro_outside_crate.rs
rename : third_party/rust/core-foundation-sys/.cargo-checksum.json => third_party/rust/core-foundation-sys-0.5.1/.cargo-checksum.json
rename : third_party/rust/core-foundation-sys/Cargo.toml => third_party/rust/core-foundation-sys-0.5.1/Cargo.toml
rename : third_party/rust/core-foundation-sys/src/array.rs => third_party/rust/core-foundation-sys-0.5.1/src/array.rs
rename : third_party/rust/core-foundation-sys/src/base.rs => third_party/rust/core-foundation-sys-0.5.1/src/base.rs
rename : third_party/rust/core-foundation-sys/src/bundle.rs => third_party/rust/core-foundation-sys-0.5.1/src/bundle.rs
rename : third_party/rust/core-foundation-sys/src/data.rs => third_party/rust/core-foundation-sys-0.5.1/src/data.rs
rename : third_party/rust/core-foundation-sys/src/date.rs => third_party/rust/core-foundation-sys-0.5.1/src/date.rs
rename : third_party/rust/core-foundation-sys/src/dictionary.rs => third_party/rust/core-foundation-sys-0.5.1/src/dictionary.rs
rename : third_party/rust/core-foundation-sys/src/error.rs => third_party/rust/core-foundation-sys-0.5.1/src/error.rs
rename : third_party/rust/core-foundation-sys/src/filedescriptor.rs => third_party/rust/core-foundation-sys-0.5.1/src/filedescriptor.rs
rename : third_party/rust/core-foundation-sys/src/lib.rs => third_party/rust/core-foundation-sys-0.5.1/src/lib.rs
rename : third_party/rust/core-foundation-sys/src/messageport.rs => third_party/rust/core-foundation-sys-0.5.1/src/messageport.rs
rename : third_party/rust/core-foundation-sys/src/number.rs => third_party/rust/core-foundation-sys-0.5.1/src/number.rs
rename : third_party/rust/core-foundation-sys/src/propertylist.rs => third_party/rust/core-foundation-sys-0.5.1/src/propertylist.rs
rename : third_party/rust/core-foundation-sys/src/runloop.rs => third_party/rust/core-foundation-sys-0.5.1/src/runloop.rs
rename : third_party/rust/core-foundation-sys/src/set.rs => third_party/rust/core-foundation-sys-0.5.1/src/set.rs
rename : third_party/rust/core-foundation-sys/src/string.rs => third_party/rust/core-foundation-sys-0.5.1/src/string.rs
rename : third_party/rust/core-foundation-sys/src/timezone.rs => third_party/rust/core-foundation-sys-0.5.1/src/timezone.rs
rename : third_party/rust/core-foundation-sys/src/url.rs => third_party/rust/core-foundation-sys-0.5.1/src/url.rs
rename : third_party/rust/core-foundation-sys/src/uuid.rs => third_party/rust/core-foundation-sys-0.5.1/src/uuid.rs
rename : toolkit/mozapps/extensions/internal/UpdateRDFConverter.jsm => toolkit/mozapps/extensions/internal/RDFManifestConverter.jsm
extra : rebase_source : 82ff5278cf9bd559763cc24e3f6d87139466bfe5
2018-05-08 18:54:28 +03:00
Coroiu Cristina 5ff2d76830 Merge inbound to mozilla-central a=merge 2018-05-08 18:47:35 +03:00
Kartikaya Gupta 4cb7167284 Bug 1459714 - Use a single transaction for all things associated with a new display list. r=sotaro
This ensures the commands to delete compositables are received by WR in the same
transaction as the updates to the display list that removes the references to
those compositables. Otherwise, WR can try to do a scene build on the intermediate
state which results in missing pipeline errors.

MozReview-Commit-ID: ByOHCFWSSjt

--HG--
extra : rebase_source : bcc0f129cbd75e3e9e3543236591b22687d39090
2018-05-08 08:49:44 -04:00
Kartikaya Gupta c684d376e0 Bug 1459714 - Make WebRenderBridgeParent::ProcessWebRenderParentCommands callers provide the transaction. r=sotaro
MozReview-Commit-ID: FIrA11wgjLI

--HG--
extra : rebase_source : ef6db14c097948ac2949148693167f29dfd72f14
2018-05-08 08:49:44 -04:00
arthur.iakab b613e3c213 Merge mozilla-central to autoland
--HG--
extra : rebase_source : da41c9831b781517597aebd0878c5ada415fd00b
2018-05-08 15:49:18 +03:00
Kartikaya Gupta 160ba9f717 Bug 1459686 - Include async image updates in the displaylist transaction. r=sotaro
MozReview-Commit-ID: BUxzRBSWVaU

--HG--
extra : rebase_source : 6a5f80b63578a72248e2755bad01e0686b535b48
2018-05-08 08:47:02 -04:00
Kartikaya Gupta 0ae899bacc Bug 1459686 - Refactor to have the ApplyAsyncImages callsite provide the transaction. r=sotaro
MozReview-Commit-ID: GVKRcb4r73a

--HG--
extra : rebase_source : 0aaa5418f6522bc443da6ef20e411644e85cc3fb
2018-05-08 08:47:02 -04:00
ffxbld b46b3d9577 Bug 1459686 - Remove WebRenderCommandBuilder::mParentCommands which is always empty. r=sotaro
MozReview-Commit-ID: FiRw0UlQKwr

--HG--
extra : rebase_source : 118e3ceca9a8afdc290817e262387218f3717590
2018-05-08 08:47:02 -04:00
arthur.iakab f2042a4c1f Merge inbound to mozilla-central a=merge 2018-05-08 15:42:06 +03:00
sotaro fbaa7511c1 Bug 1459525 - Remove wr_shutdown_log_for_gpu_process() r=jrmuizel 2018-05-08 11:37:39 +09:00
arthur.iakab 2f2f2ffdbf Merge mozilla-central to inbound 2018-05-08 15:44:33 +03:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Martin Robinson 2d70c66a68 Bug 1458870 - Changes necessary to deal with new WebRender nine-patch API from PR 2724. r=jrmuizel
MozReview-Commit-ID: 9217FeM4VJH

--HG--
extra : rebase_source : 72f5ab352a8d70149a2306eed9c7afc87405636e
2018-05-08 10:36:23 -04:00
Kartikaya Gupta c7cceabe9a Bug 1458870 - Update webrender to commit 9a3bc6b965554c04c0bba326cdee45240c3b4ba7. r=jrmuizel
MozReview-Commit-ID: J3QepnGtmOs

--HG--
extra : rebase_source : 761203f2ec165d2ca1f88c9ef00630e200e7eadc
2018-05-08 09:33:03 -04:00
Kartikaya Gupta 1eb717ccf5 Bug 1377187 - Rewrite the clipping code to use the new clipchain API. r=mstange
The clip chain API in webrender allows us to build the clip state in WR
so that it matches the gecko display list more closely. This patch throws
away ScrollingLayersHelper.* and introduces ClipManager.* which pushes
the clip state to WR using the new method. A quick summary of the new
method is below.

Each display item in gecko has a DisplayItemClipChain which is a chain
of individual clips. The individual clips are defined in WR, and the
clip ids for those clips are put into a WR clip chain using the new
define_clip_chain API. Furthermore, each clip chain can also have a
parent chain, which is used to link a DisplayItemClipChain to the parent
display item's DisplayItemClipChain. This allows the WR clip state to
closely match the structure of the gecko display list clip state,
resulting in more correct behaviour.

There are a few other major changes that are lumped into this patch and
that were tricky to separate into their own patches:
- The collapsing of WrScrollId and WrStickyId into WrClipId. On the WR
  side all the clip ids are treated the same anyway. Trying to preserve
  the arbitrary distinction on the gecko side was resulting in
  increasingly convoluted code, with different kinds of Variant<..>
  types in the method signatures. It was much simpler and resulted in a
  bunch of code deletion to just collapse the types.
- Moving the "override" mechanism from WebRenderAPI to ClipManager. The
  override mechanism (explained in ClipManager.h) was simplified by
  moving it into ClipManager, because it removed the need for tracking
  additional clip stack state in WebRenderAPI.

MozReview-Commit-ID: GGbdFyJGprK

--HG--
extra : rebase_source : baa56ff179e917b0ab5a5c186a3a415761f8050a
2018-05-08 09:08:39 -04:00
Kartikaya Gupta 1f11e1e04e Bug 1377187 - Simplify code to define clips and scroll layers. r=mstange
This is a refactoring that moves the "parent clip id" determination from
bindings.rs into WebRenderAPI.cpp. This should be functionally
identical.

MozReview-Commit-ID: 36rQmsH5E7J

--HG--
extra : rebase_source : f376e71f7681ec3f67e0ab4f2e3035da4edf2a5b
2018-05-08 09:07:30 -04:00
Coroiu Cristina ec7ba6b7e9 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-08 18:57:41 +03:00
Ryan Hunt 17a7546f6b Bug 1420865 - Don't check for CONTENT_MAY_CHANGE_TRANSFORM across layer trees. r=mstange
MayResample() is used on the content and compositor to determine whether the whole
visible region should be or should have been validated. This calculation is done
partially by traversing ancestor layers and looking for a flag. This can return
different values then in the content side versus the shadow side, which in this
case leads to artifacts.

This commit tries to solve the problem by ignoring layers that content is unaware
of. This works, but has the downside that resampling artifacts could show up if
the parent process is truly doing animations that require resampling.

MozReview-Commit-ID: 4TW6nzxS6E

--HG--
extra : rebase_source : 0bc82d09686245599b12c42af812b454875291f6
extra : amend_source : 6b423326a2952125468af13f0041e3daff40362f
2018-05-07 16:07:06 -05:00
Stephen A Pohl 8d4b0ba4b7 Bug 1366808: Start passing parentBuildID to GPU process to detect buildID mismatches. r=jimm 2018-05-08 10:31:52 -04:00
Stephen A Pohl 860c14b396 Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-05-08 10:31:44 -04:00
Milan Sreckovic b1115c2c28 Bug 1432067 - Ignore zero sized tables. r=jrmuizel 2018-05-07 16:33:33 -04:00
Kartikaya Gupta 6b88d7cd8f Bug 1443436 - Don't use a raw pointer owned by the compositor thread on the controller thread. r=rbarker 2018-05-07 08:05:43 -04:00
Alexis Beingessner 239a528013 Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange
When a transform thinks it's animated we should abandon screen rasterization
and instead favour local rasterization. This produces a more visually
pleasant rendering, as pixel-snapping "wobbles" the text between
frames.

The float scale of GlyphRasterSpace::Local is currently unused, but this
PR tries its best to set it to a reasonable value, based on discussion
with glennw about the intended semantics. We agreed it should specify
the scale *relative* to the parent stacking context, which means it's
just whatever scaling the stacking context's transform applies. It's
possible we'll need to clamp this value or make it properly 2-dimensional
later on.

Some book-keeping is added to StackingContextHelper to ensure that
GlyphRasterSpace::Screen is never requested by a descendent
of a stacking context using GlyphRasterSpace::Local.

nsDisplayMask is changed to use a StackingContextHelper to ensure
rasterSpace is properly propagated.

In addition, this is the first commit making use of cbindgen's new support
for bridging Rust enums natively into C++! This bumps our minimum cbindgen
to 6.0.0 (just released).

MozReview-Commit-ID: 9AlsB6nUheB

--HG--
extra : rebase_source : 247e5b197e998682cb4bb74f6f9319a9a4dd3264
2018-05-03 20:38:37 -04:00
Xidorn Quan f62e2a947a Bug 1406552 - Only update max ascent / descent with em ones when ascent and descent are zero. r=jfkthame
The original code was added in bug 385263 for fixing bug 279032 that a
single font provides zero for max ascent / descent in its HHEA table
which caused Firefox to crash.

Unconditionally picking the maximum of max ascent / descent and their
em correspondents doesn't seem to be essential for working around that
case, so this patch changes it to just use the em ascent / descent when
both max ascent and descent are zero.

This fixes a webcompat problem related to Roboto font on Linux (and
presumably also Android given it uses FreeType backend as well).

MozReview-Commit-ID: EpKrfiOwnZt

--HG--
extra : rebase_source : 0619abf992fb1e1a1f3068ab172880913ebff1f1
2018-05-03 19:43:46 +10:00
Brindusan Cristian 2d54f42738 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-05 00:43:22 +03:00
Brindusan Cristian 89a097be09 Merge inbound to mozilla-central. a=merge 2018-05-05 00:35:50 +03:00
Botond Ballo 73a70d80bd Bug 1458783 - Back out the first patch in bug 1458063 (propagate wheel event modifiers in APZInputBridge::ReceiveInputEvent). r=kats
The patch in question is not strictly necessary to fix bug 1458063, and was
causing intermittent failures.

MozReview-Commit-ID: 1llW2BkmcXn

--HG--
extra : rebase_source : 858c3848f00f8a4feafb6815ea578d380533cbd8
2018-05-04 12:21:49 -04:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Kartikaya Gupta 8a88ea74e4 Bug 1459102 - Back out WR PR 2709 to fix webrender-enabled behaviour on macOS. r=kvark a=Aryx 2018-05-04 09:37:48 -04:00
Lee Salzman e223d1147b Bug 1457154 - use fallback for color glyphs with transparency in WR. r=gankro
MozReview-Commit-ID: 3Z00aJs26DV
2018-05-03 22:53:55 -04:00
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Jonathan Kew 5182b6ad11 Bug 1459158 - Don't apply variation values from CSS font-weight/font-stretch properties if the font's variation axes appear to use a non-CSS-like scale. r=jwatt 2018-05-04 17:36:01 +01:00
Jonathan Kew 034384a62d Bug 1459163 - When variation fonts are disabled, gfxFontEntry::GetVariationsForStyle should just return without attempting to map CSS properties to variation axes. r=jwatt 2018-05-04 17:35:38 +01:00
Ciure Andrei 9be98c9d63 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-04 00:56:01 +03:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Bas Schouten bc69449ac5 Bug 1457967: Don't needlessly include smmintrin.h on platforms where we're only using SSE2. r=jrmuizel 2018-05-03 15:20:01 +00:00
Ryan Hunt c2b8279a9f Bug 1458462 - Create paint workers if it's possible we could switch to tiling in the future. r=nical
On windows it's possible for us to fallback from D2D to Skia rendering at any time due to a device reset.
If this happens with `enable-tiles-if-skia-pomtp` enabled we could begin to use tiling. This can cause a
crash if we never created the worker threads because at initialization time we weren't using tiling.

Another way to fix this would be to dynamically create the worker threads in UpdateRenderMode if we
have switched to skia. That's a larger change and more might be required, so I'd rather just fix the
crash for now.

This commit also fixes a pref that should be `Once` instead of `Live`.

MozReview-Commit-ID: JQidXPjI7ER

--HG--
extra : amend_source : ba9a3746faea3a7355251b7e97e3f7c5dc1ba06b
2018-05-02 09:21:13 -05:00
David Major 96e95f3237 Bug 1458364: Skip test_font_whitelist.html on Windows ASan. DONTBUILD
--HG--
extra : rebase_source : ef4fced0ea1a94e6956e65f07ff0377df9471f0b
2018-05-04 14:48:59 -04:00
Jonathan Watt b6f1371d94 Bug 1458218 - Rename gfxGDIFont::mNeedsBold to mNeedsSyntheticBold. r=jfkthame 2018-04-26 12:46:18 +01:00
Jonathan Kew 7dbe882858 Bug 1457254 - Don't pass true for aIsDataFont when creating an UnscaledFontMac from AddNativeFontHandle, this is for installed fonts. r=lsalzman 2018-05-03 22:00:53 +01:00
Milan Sreckovic 4712274b69 Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Jonathan Kew c8b02be077 Bug 1449605 - part 2 - Rename gfxFontEntry::IsBold() to SupportsBold() and make it smarter about variable fonts, to avoid inappropriate use of synthetic-bold effect. r=jwatt 2018-05-04 10:19:55 +01:00
sotaro b482332d39 Bug 1457387 - Remove WrExternalLogHandler r=jrmuizel 2018-05-04 14:31:32 +09:00
Botond Ballo 9033e3e120 Bug 1458063 - Introduce a new wheel action for pinch-zooming. r=kats
MozReview-Commit-ID: 7DWNvQc2pBE

--HG--
extra : rebase_source : 02d3efe180fb1cd6d49ca9b8a49e4051e6e05cac
2018-05-02 16:51:27 -04:00
Botond Ballo 5db812fe01 Bug 1458063 - Give a name to the special (-1,-1) value of a pinch gesture event's focus point. r=kats
MozReview-Commit-ID: AtitjK2eCGa

--HG--
extra : rebase_source : c2090b54e21f885876808a68347421f277ca66c3
2018-05-02 16:36:17 -04:00
Botond Ballo ad612541e7 Bug 1458063 - Propagate the APZWheelAction to APZCTreeManager. r=kats
MozReview-Commit-ID: Kpr7NGLV7J5

--HG--
extra : rebase_source : 6e42ce08841c44b7c637ddbd878b5372d5d1225b
2018-05-02 12:57:23 -04:00
Botond Ballo 2add094650 Bug 1458063 - Refactor WillHandleWheelEvent() to also indicate the type of action APZ should take. r=kats
MozReview-Commit-ID: LfinNZYqiwt

--HG--
extra : rebase_source : 2ea04360700530e1fbbbaaf94b484b6df2f79fe4
2018-04-30 22:11:10 -04:00
Botond Ballo 951630043e Bug 1458063 - Propagate event modifiers for wheel events in APZInputBridge::ReceiveInputEvent. r=kats
MozReview-Commit-ID: 8X3xfEk9uWQ

--HG--
extra : rebase_source : a2cc6fd9d6259071545ddbd48b738429bfa1c71f
2018-04-30 17:48:22 -04:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Kartikaya Gupta 39520d0264 Bug 1458259 - Remove assertion that is no longer valid. r=botond
MozReview-Commit-ID: BMBZJ9q93vA

--HG--
extra : rebase_source : c42a376dc0d589476751e17c68db135e5657d250
2018-05-02 12:47:54 -04:00
Cosmin Sabou a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Jonathan Kew 007b53464f Bug 1458158 - Correct the weight-difference factor in CalcStyleMatch to favor closer weights, not further ones. r=jwatt 2018-05-01 15:56:04 +01:00
Ryan Hunt 5516d12e7b Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
MozReview-Commit-ID: 1JewsArgmZz

--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Kartikaya Gupta c6b419d0eb Bug 1457891 - Update webrender to commit 8da531dc2cd77a4dadbfe632b04e76454f51ac9f. r=jrmuizel
MozReview-Commit-ID: HTqjYp9gFwA

--HG--
extra : rebase_source : 184b9afc8834819c7bace70ea51d81642d2e17ff
2018-05-03 09:00:55 -04:00
Masatoshi Kimura c7c5848511 Bug 1442275 - Stop using PR_LoadLibrary in gfx/. r=jgilbert
MozReview-Commit-ID: LNZtr4NVFYj

--HG--
extra : rebase_source : 2f064f5662b02a3c2e76774908f4a15e7580720d
extra : source : ad866775710347c330907a315d88784e56dec00e
2018-02-25 01:33:57 +09:00
Hiroyuki Ikezoe c98b461048 Bug 1458798 - Clear the previous timestamp when we skip calling SampleAnimations in CompositeToTarget(). r=kats
The purpose of the previous timestamp is to reduce the time difference between
the timestamps on the main-thread and the compositor.  Once we skipped a frame
to compose animations on the compositor, the timestamp is far behind from the
timestamp on the main-thread, so we should clear it.

MozReview-Commit-ID: EGiQfwejfsy

--HG--
extra : rebase_source : 7c382116b93b27feb6e70e394ebad543ec8bfda5
2018-05-03 15:57:19 +09:00
Andreea Pavel 83decb5324 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-05-01 13:18:00 +03:00
Andreea Pavel 7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
Jonathan Kew e92b9e44cf Bug 1449605 - part 1 - Rearrange thebes font code so that the decision whether to apply synthetic-bold is deferred until actually instantiating a font, not made during the font-matching process. r=jwatt
This rearranges how synthetic-bold use is determined in the font selection
& rendering code. Previously, we would decide during the font-selection
algorithm whether we need to apply synthetic-bold to the chosen face, and
then pass that decision through the fontgroup (storing it in the FamilyFace
entries of the mFonts array there) down to the actual rendering code that
instantiates fonts from the faces (font entries) we've selected.

That became a problem for variation fonts because in the case of a user
font, we may not have downloaded the resource yet, so we just have a "user
font container" entry, which carries the descriptors from the @font-face
rule and will fetch the actual resource when needed. But in the case of a
@font-face rule without a weight descriptor, we don't actually know at
font-selection time whether the face will support "true" bold (via a
variation axis) or not, so we can't reliably make the right decision about
applying synthetic bold.

So we now defer that decision until we actually instantiate a platform font
object to shape/measure/draw text. At that point, we have the requested
style and we also have the real font resource, so we can easily determine
whether fake-bold is required.

(This patch should not result in any visible behavior change; that will
come in a second patch now that the architecture supports it.)
2018-05-01 10:30:50 +01:00
Kartikaya Gupta 9d0713c20d Bug 1457448 - Ensure we flush the async scene builder thread before snapshotting. r=nical
MozReview-Commit-ID: 3XTFWiEmk0p

--HG--
extra : rebase_source : 0547263009cfb48bb7f010662d57734ed57f63c7
2018-04-27 10:46:21 -04:00
Hiroyuki Ikezoe 9aeceedbea Bug 1456372 - Call AdvanceAnimations on the root WebRenderBridgeParent for RecvGetAnimationOpacity() and RecvGetAnimationTransform(). r=kats
MozReview-Commit-ID: LmNScQ01eFJ

--HG--
extra : rebase_source : c02844a8f5a9f5e65cbca3b883280285b66a733c
2018-05-01 06:13:39 +09:00
Botond Ballo d39ab35df6 Bug 1457743 - Fix check for entering momentum-scrolling codepath after both fingers are released in a two-finger pan. r=kats
MozReview-Commit-ID: 587mYzBf2aB

--HG--
extra : rebase_source : 075c6f4c1461b6cd9bd5197c51523d7374b91e62
2018-04-28 19:29:51 -04:00
Kartikaya Gupta 549ac4326c Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan
MozReview-Commit-ID: 2i25nGMsvxE

--HG--
extra : rebase_source : 9bdd28048504bcde5150b252777f46ab523ca1ff
2018-04-27 12:51:40 -04:00
Kartikaya Gupta 4e2f121981 Bug 1457241 - Update webrender to commit 4b65822a2f7e1fed246a492f9fe193ede2f37d74. r=jrmuizel
MozReview-Commit-ID: EIE8tuyH8Ai

--HG--
extra : rebase_source : 8886acf54a54822ee1de326a6ad082edd069dea1
2018-04-30 10:12:52 -04:00
Kartikaya Gupta e8e91e9031 Bug 1457238 - Collapse all the RemovePipelineIdForCompositable transactions into a single one. r=nical
MozReview-Commit-ID: Ekouq9VOrR6

--HG--
extra : rebase_source : 556a6d5bf9846196c10c1efa434b7dbf6f9d061b
2018-04-30 09:35:41 -04:00
Kartikaya Gupta 88324fa347 Bug 1453360 - Store the compositor animation ids to delete until the epoch is rendered. r=nical
With async scene building, we might get the message to delete certain
compositor animation ids while we are still building and rendering
scenes that have those compositor animations. This patch associates
those ids with the epoch at which they are safe to delete, and only does
the deletion once we have rendered that epoch.

MozReview-Commit-ID: Jetfcdtwt1q

--HG--
extra : rebase_source : f06b8ee62e460432e8faed670e928f60cb6bc915
2018-04-27 10:32:31 -04:00
Kartikaya Gupta 3bb1df5d75 Bug 1453360 - Rename NotifyDidCompositeToPipeline to NotifyPipelineRendered. r=nical
This also rearranges the method implementation slightly to make the next
patch easier to read. This patch should have zero functional changes,
it's just refactoring.

MozReview-Commit-ID: 53StJ0TH3IT

--HG--
extra : rebase_source : 2f3aeb54271da75a7e051afc24b8a4c96f8496f2
2018-04-27 10:32:30 -04:00
Andrew Osmond 66d22468b8 Bug 1425484 - Part 5. Correct prototype of TakeExternalSurfaces. r=aosmond 2018-04-29 18:48:39 -04:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Hiroyuki Ikezoe 41be7768d1 Bug 1457249 - Use actually calculated value for the assertion that checks animation value is unchanged when we decided to skip calculation for the animation on debug build. r=kats
Before this change, the value which was set by SetShadowBaseTransform()
has been used for the assertion, but it is possible that the value is changed
by APZ.  And it's hard to tell whether the value has been changed by APZ or not
and it's hard to *reverse-calculate* the differences in the past APZ at the
moment we want to do the assert.

So after this patch, on debug build we don't actually skip the calculation for
unchanged animations and use the newly calculated value for the assertion.

MozReview-Commit-ID: 8fCcvvbUMHe

--HG--
extra : rebase_source : 0ff5e7100ad33a690bb0edd02af2b00c749afbbe
2018-04-28 18:09:27 +09:00
Hiroyuki Ikezoe 83df03fa3f Bug 1457249 - Factor out the function that converts transform into device space. r=kats
MozReview-Commit-ID: L7CDcSdIj4D

--HG--
extra : rebase_source : 9b976891ea92ca4ee50968139a3662eba3eeef3b
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe bd924ec565 Bug 1457249 - Factor out the function that converts servo's animation value to matrix. r=kats
MozReview-Commit-ID: HpdFYykOkOS

--HG--
extra : rebase_source : 3fb386bb41b9bcf122bd5c8410fe73dcc3dd5d97
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe 328d34d3c7 Bug 1457249 - Assert that there is an animation value set by animations when we skip calculation for newly animation value. r=kats
MozReview-Commit-ID: F85nAmKIGCA

--HG--
extra : rebase_source : 0f2065e58f02ef1462a15f0cd680ffa7b2a185b1
2018-04-28 18:08:15 +09:00
Jonathan Kew 5e9926e820 Bug 1457505 - Fix the check for variation-font support in gfxWindowsPlatform: cannot depend on checking mUsingDirectWrite, as the fontlist is not yet set up. r=lsalzman 2018-04-28 09:17:47 +01:00
Csoregi Natalia aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Bas Schouten 2c2327c372 Bug 1427063: Have D2D interpret colors in premultiplied space. As it says is its default. r=rhunt
MozReview-Commit-ID: 5OWjHW1CqjN
2018-04-23 19:27:48 +02:00
Andrew Osmond f5b895f6bf Bug 1425484 - Part 4. Followup to fix shared surface lifetime issue with blob images. r=aosmond 2018-04-27 09:05:40 -04:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Lee Salzman f27dc02d63 Bug 1457284 - add Skia m66 cherry-picks. r=rhunt
MozReview-Commit-ID: 4naJirEFhiV
2018-04-26 22:45:34 -04:00
Andrew Osmond 63d93fdc78 Bug 1425484 - Part 3. Integrate shared surfaces with the blob image recordings. r=jrmuizel 2018-04-26 19:00:16 -04:00
Andrew Osmond 049ab9d97c Bug 1425484 - Part 2. Allow using SharedSurfacesParent off the compositor thread. r=jrmuizel 2018-04-26 19:00:14 -04:00
Andrew Osmond 4307ebe4bc Bug 1425484 - Part 1. Allow using SharedSurfacesChild::Share with the external image ID directly. r=jrmuizel 2018-04-26 19:00:12 -04:00
Bas Schouten 52e0352904 Bug 1457030: Remove elements from the mNodesToDestroy array back to front, preventing expensive memmoves on large amounts of reuse. r=kats
MozReview-Commit-ID: DZ1H9KIuDUp
2018-04-26 18:50:23 +02:00
Botond Ballo 04287e6502 Bug 1448439 - Use an accurate pixels per pinch value in AndroidFlingPhysics. r=kats
MozReview-Commit-ID: I0yZKTvlHWV

--HG--
extra : rebase_source : 89f751e48e376812c49fc2d7665a43049d9de121
2018-04-26 16:42:05 -04:00
Jonathan Kew d384879f12 Bug 1457103 - patch 3 - Make gfxFontEntry::GetVariationAxes and GetVariationInstances pure virtual, and provide missing subclass implementations. r=jwatt 2018-04-26 17:08:18 +01:00
Jonathan Kew 61950f81db Bug 1457103 - patch 2 - Refactor logic from gfxFontconfigFontEntry implementations of GetVariationAxes and GetVariationInstances to gfxFT2Utils, where it can be shared by the gfxFT2Fonts backend. r=jwatt 2018-04-26 17:08:18 +01:00
Jonathan Kew 6ad9a5ee43 Bug 1457103 - patch 1 - Make gfxFontEntry::HasVariations a pure-virtual method, and fill in missing subclass implementations, particularly in FT2FontEntry. r=jwatt 2018-04-26 17:08:18 +01:00
Lee Salzman 2942892fa9 Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me 2018-04-26 11:58:49 -04:00
Andreea Pavel b1e3552b06 Backed out changeset 81601f1ab879 (bug 1448703) for build bustages at builds/worker/workspace/build/src/gfx/webrender_bindings/Moz2DImageRenderer.cpp:108 on a CLOSED TREE 2018-04-26 18:52:48 +03:00
Lee Salzman ff6c421be0 Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me 2018-04-26 11:38:09 -04:00
Botond Ballo 67bc5921a7 Bug 1448439 - Expose some of the tunable parameters in AndroidFlingPhysics as prefs. r=kats
MozReview-Commit-ID: J4QRmMdGE0l

--HG--
extra : rebase_source : 9acdec2fff2f95057cf2fc4da9fc8e86de4912f0
2018-04-20 18:55:08 -04:00
Botond Ballo a7f61a775c Bug 1448439 - Add a pref to get APZ to use the Chrome fling physics on Android. r=kats
MozReview-Commit-ID: HDLDlwjov82

--HG--
extra : rebase_source : c454a6769ccd0ca9951c41ef2ea9990c24208373
2018-04-20 18:44:18 -04:00