Commit Graph

176 Commits

Author SHA1 Message Date
Wes Kocher
ccac14d435 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Kartikaya Gupta
9e80e0e3da Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Kartikaya Gupta
6d29c3c630 Bug 1056159 - Extract a helper struct to hold some of the parameters to UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Ehsan Akhgari
3bffba3b99 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
25e89f6eaa Bug 1052063 - Avoid running multiple animation steps if there are multiple layers sharing an APZC. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
66c2355539 Bug 1052063 - Do a single pass over the APZC tree to advance animations before sampling. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
feedf75ded Bug 1052063 - Move the CSS transform into the ancestor transform. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
42300ca5d8 Bug 1052063 - Small changes to clarify the existing ancestor transform build-up. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
d0bdd89470 Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
9449a0378b Bug 1052063 - Ensure the APZC instances track the cumulative hit test areas of all the layers they map to. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
9be6a0a26c Bug 1052063 - Prevent creating multiple APZC instances for the same ScrollableLayerGuid. r=botond 2014-08-19 21:17:08 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Botond Ballo
e191a7432a Bug 1025436 - Return true from AsyncPanZoomController::AdvanceAnimations() if one of the deferred tasks started a new animation. r=kats
--HG--
extra : rebase_source : 82978c55141b9a3ef05dff2273edd5c84dace479
2014-08-20 14:28:05 -04:00
Botond Ballo
ed538fb149 Bug 1042974 - Dispatch flings to the right scrollable element in the presence of scrollgrab. r=kats
--HG--
extra : rebase_source : b2282c8fb958d91160d7b89790baf97ada591804
2014-08-18 16:12:43 -04:00
Botond Ballo
aef24da2ed Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats
--HG--
extra : rebase_source : 3a82faa2e95b889cb19db5cc24e24d74e6498f08
2014-08-06 12:52:04 -04:00
Botond Ballo
f25d822696 Bug 1055361 - Disable overscrolling during panning. r=kats
--HG--
extra : rebase_source : 53bb4d8f1e297059ea1a9a0d6994fcd45eca84d7
2014-08-19 12:55:28 -04:00
Botond Ballo
c987c75938 Bug 1039992 - Move the overscroll handoff chain into AsyncPanZoomController and have one per touch block or pan gesture. r=kats,bjacob,mstange
--HG--
rename : gfx/layers/apz/src/TouchBlockState.h => gfx/layers/apz/src/InputBlockState.h
extra : rebase_source : ee68595aa21b696de1a0fbb8e6c161022a88ba3d
2014-08-18 16:12:11 -04:00
Aryeh Gregor
15ec3ba67b Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Harshit Harchani
8ab53106b7 Bug 927946 - Add all APZC preferences to all.js. r=botond
--HG--
extra : rebase_source : d96f4aea65b40490d4cc7f8ec8704a2a2f7ef4b8
2014-08-13 01:35:22 +05:30
Kartikaya Gupta
89ab2a4eb0 Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
9370d1374f Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
7f106b13e3 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
a0ad18d035 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Brian Birtles
b1759d304e Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Kartikaya Gupta
4575e9d7d9 Bug 1043719 - Cancel pending gesture timeouts when a cancel is received. r=botond 2014-08-05 11:51:32 -04:00
Kartikaya Gupta
4e2984ee55 Bug 1048888 - Initialize member variables to nullptr. r=botond 2014-08-05 11:51:31 -04:00
Ed Morley
14e619428b Backed out changeset e76cbce3289a (bug 1043719) for gtest crashes 2014-08-04 16:32:20 +01:00
Kartikaya Gupta
fc6923b46d Bug 1043719 - Cancel pending gesture timeouts when a cancel is received. r=botond 2014-08-01 23:08:00 -04:00
Masayuki Nakano
8bb45b8c1f Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Kartikaya Gupta
cbb9834769 Bug 1036985 - Change the return value of APZCTM::ReceiveInputEvent to return more useful information. r=botond 2014-08-01 16:24:50 -04:00
Botond Ballo
1d35f25a8b Bug 1023557 - Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa 2014-07-31 16:11:47 -04:00
David Zbarsky
9c8ef1fd12 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
5192ab7514 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Botond Ballo
9b16403fa4 Bug 1046904 - Identify scrollgrab layers in the APZC tree log. r=kats
--HG--
extra : rebase_source : 7cf38fbe7d34b8cc5130d79f868dcef58b044e06
2014-07-31 13:49:46 -04:00
Kartikaya Gupta
1ec62af0b4 Bug 1043689 - Cancel state in the GEL when processing a cancelled touch block. r=botond 2014-07-31 14:21:49 -04:00
Kartikaya Gupta
67a2b1d75e Bug 1046428 - Remove unneeded constant. r=botond 2014-07-31 09:04:35 -04:00
Kartikaya Gupta
eea46e2278 Bug 1046292 - Add a max-wait timeout to TaskThrottler to robustify against it getting stuck. r=botond 2014-07-31 09:04:34 -04:00
Botond Ballo
c0d331675b Bug 1046013 - Fix APZ hit testing when root APZC is overscrolled and has siblings. r=kats
--HG--
extra : rebase_source : a2a0e143c70b3d8c2188ca281d2372d969d8c06b
2014-07-30 15:11:20 -04:00
Kartikaya Gupta
d162ebce31 No bug - Fix for non-unified build when APZC logging is enabled. r=me and DONTBUILD because NPOTB 2014-07-30 11:05:48 -04:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
b217f375b9 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
0913b5df71 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Kartikaya Gupta
d84d3112d6 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Ed Morley
c6f9630b11 Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures 2014-07-25 16:27:21 +01:00
Kartikaya Gupta
716eeb59c8 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Kartikaya Gupta
178c4726e2 Bug 1042734 - Don't mis-handle events that are coming in with the same timestamp. r=botond 2014-07-24 16:58:54 -04:00
Kartikaya Gupta
52f65719cf Bug 1039159 - Clear the velocity queue on touch-cancel. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
d0376c8172 Bug 1039159 - Assert mVelocityQueue can only be touched on the controller thread. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta
046d87fc2d Bug 1039159 - Ensure we don't touch the velocity queue from the compositor thread. Thanks to :jerry for finding this. r=botond 2014-07-23 17:08:54 -04:00