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

29817 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 3511e348ed Bug 1457412 - Update OTS to upstream tip (c903692702), to pick up recent fixes. r=jrmuizel 2018-04-30 15:45:38 +01: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
Botond Ballo 1836235d39 Bug 1448439 - Add an AndroidFlingPhysics class containing an implementation of Chrome's fling physics on Android. r=kats
MozReview-Commit-ID: 509Cl04rozm

--HG--
extra : rebase_source : 11a3ebd03430e0981be156638762987c7c07a458
2018-04-20 18:42:08 -04:00
Botond Ballo 2796cb0198 Bug 1448439 - Extract a FlingPhysics abstraction from GenericFlingAnimation. r=kats
The FlingPhysics controls the shape of the fling curve, including how fast
and far it goes, while leaving other logic (related to flywheel, handoff,
overscroll, etc.) centralized in GenericFlingAnimation.

FlingPhysics is a template parameter of GenericFlingAnimation because we
already have a dynamic dispatch on the type of the animation, we don't
need another one for the physics.

I called the specific class implementing the current physics
DesktopFlingPhysics because since the deprecation of B2G and Android
switching to StackScrollerFlingAnimation, it's only used in desktop touch
scenarios.

MozReview-Commit-ID: LhJ9rpPrnXC

--HG--
extra : rebase_source : e53f1d7bbe3e0a588f5d5ba530c59e03cdc50d69
extra : source : 8fda27f6bbf30cc14966c80780c9e09533e7b7e5
2018-04-20 16:00:11 -04:00
Botond Ballo fd0a2c91d4 Bug 1448439 - Move Axis::FlingApplyFrictionOrCancel() to GenericFlingAnimation. r=kats
The calculation in that function is specific to a particular physics model,
so it's inappropriate to house it in Axis.

Also do some light refactoring to this function, to make modifying the
velocity the caller's responsibility (this becomes relevant in the next
patch, where we factor out the physics logic into a class that can't
modify the APZC).

MozReview-Commit-ID: 5ALQd3LBx3O

--HG--
extra : rebase_source : 2290b72d3026878b34c86f437b0fac093d9fceac
2018-04-20 14:02:38 -04:00
Botond Ballo 16e2ccbc2a Bug 1448439 - Rename AndroidFlingAnimation to StackScrollerFlingAnimation. r=kats
MozReview-Commit-ID: IdvOWYvE9Tr

--HG--
extra : rebase_source : b7361efece81ffc7b9185c2f6d827ca8c75e3eba
2018-04-17 19:56:48 -04:00
Botond Ballo 7db51a6a16 Bug 1448439 - Allow the concrete type of fling animations to be determined dynamically. r=kats
MozReview-Commit-ID: EBscYyxdlwr

--HG--
extra : rebase_source : 19de9aa3c6d1482ace56ce6a4314fe2538a760a7
2018-04-17 19:53:26 -04:00
Botond Ballo 0e5e89ecea Bug 1448439 - Fix unified build bustage. r=kats
MozReview-Commit-ID: 3HAcjOB1tjn

--HG--
extra : rebase_source : ef68f50b01af2ba5a00f76fd2f5e3fd01bfead6a
2018-04-20 20:03:52 -04:00
Kartikaya Gupta b9e8e2302f Bug 1457246 - Don't hold the sIndirectLayerTreesLock while making synchronous calls to the RenderBackend thread. r=sotaro
MozReview-Commit-ID: KzXZxCb2nA6

--HG--
extra : rebase_source : 64bbd524c5c9b0208cfbfa3899ff75a80903a3c6
2018-04-26 15:29:21 -04:00
Emilio Cobos Álvarez 0faef276ec Bug 1455885: Make the SVG context paint not use a node property, but a member in SVGDocument. r=jwatt
MozReview-Commit-ID: H6SRTsDL5Rh
2018-04-26 17:07:39 +02:00
Jonathan Kew 5485dd0a02 Bug 1456547 - When weight/stretch/style descriptor is omitted from a @font-face rule, the corresponding variation axis should not be clamped to the 'normal' value. r=jwatt 2018-04-26 15:32:36 +01:00
Noemi Erli 0ec806df24 Backed out changeset f8ad5962fc89 (bug 1435094) bustage in /builds/worker/workspace/build/src/layout/painting/nsDisplayList.cpp on a CLOSED TREE 2018-04-27 04:14:39 +03:00
Alexis Beingessner 4bb2580c85 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 : 978e51dbedeb1542e0829752b7f828ffeb2872e9
2018-04-25 10:47:34 -04:00
Botond Ballo b75235fc6d Bug 1455860 - Limit the diagnostic assert for mismatches between main thread and compositor hit testing to Nightly builds only. r=kats
MozReview-Commit-ID: 87DKkb7KmiC

--HG--
extra : rebase_source : ec54fcc55fc4952fc69552377dbc0571a9b61363
2018-04-26 12:47:34 -04:00
shindli c72db9830d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 00:44:51 +03:00
Kartikaya Gupta 0f5d6c9649 Bug 1456114 - Update for API change in WR PR 2691. r=jrmuizel
MozReview-Commit-ID: Eb1wFVY39uu

--HG--
extra : rebase_source : c2c14ebaeecad5b45d17a212e7c436c3b2f4ccaf
2018-04-26 14:15:40 -04:00
Kartikaya Gupta b881108e5b Bug 1456114 - Update for WR PR 2679. r=jrmuizel
MozReview-Commit-ID: GrFwU62DcWU

--HG--
extra : rebase_source : bacebaedb5870063f30053def14fe5ab49954925
2018-04-26 14:15:19 -04:00
Kartikaya Gupta 8248fea792 Bug 1456114 - Update webrender to commit 751236199b39bb8dac78522713133ca18c603fb3. r=jrmuizel
MozReview-Commit-ID: 5Zz7LwyLExN

--HG--
extra : rebase_source : 4aa78eb7c49570a8c404f0ded36795eb787179a6
2018-04-26 14:14:24 -04:00
Kartikaya Gupta f7c175a667 Bug 1456978 - Ensure that all generate_frame transactions end up clearing the pending frame count. r=sotaro
This prevents us from getting stuck in the frame throttling code where
TooManyPendingFrames always returns true.

MozReview-Commit-ID: 92tybPOaOTP

--HG--
extra : rebase_source : 8934f89a191759e85578db3dfde9e017a03a82eb
2018-04-27 07:41:03 -04:00
Kartikaya Gupta 302aed6dcf Bug 1456978 - Remove redundant construction of WindowId. r=sotaro
MozReview-Commit-ID: 2XiVcQJotRv

--HG--
extra : rebase_source : ecfffd3b36bbd69f7f252240275cbc632340ab41
2018-04-27 07:41:03 -04:00
Kartikaya Gupta 4b12c6a2da Bug 1456978 - Rename function to a more appropriate name. r=sotaro
MozReview-Commit-ID: 2mVFcPsK6oe

--HG--
extra : rebase_source : 3fef0fbd0c0b42214d638b204c8753de1eca8d67
2018-04-27 07:41:03 -04:00
Andreea Pavel a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Dorel Luca 5846115845 Backed out 2 changesets (bug 1456679) for Reftests failure. CLOSED TREE
Backed out changeset c40209504a45 (bug 1456679)
Backed out changeset 351ae90cc6a0 (bug 1456679)
2018-04-26 05:07:47 +03:00
Hiroyuki Ikezoe c6556c83a8 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 : 0f7d1b3ef45b9dd210473d3c374d193e3ee94e83
2018-04-26 08:29:29 +09:00
Hiroyuki Ikezoe 861eb6a9fb 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 : 9854b182134adf3060260849741142841721d65b
2018-04-26 08:28:44 +09:00
David Major cba47d4ae4 Bug 1456952: Reapply bug 624198 fix that got lost in an upstream update. r=jrmuizel
--HG--
extra : rebase_source : d31bbf6d71bc1d0e26d9ff85ebbfde713e2efc98
2018-04-25 17:38:18 -04:00