Commit Graph

4761 Commits

Author SHA1 Message Date
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
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
9817bf729f Bug 1039992 - Fix a unified build issue. r=kats
--HG--
extra : rebase_source : 4e1e09c9bcb35f70c3ee7ff833646e5f437f5a86
2014-08-18 16:13:12 -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
Benoit Girard
a308375588 Bug 1052751 - Part 1: Cull translated layers on the compositor. r=roc 2014-08-14 11:46:21 -04:00
Sotaro Ikeda
a3d499c3e0 Bug 1042387 - Add file descriptors count check r=jrmuizel 2014-08-18 10:55:23 -07:00
Aryeh Gregor
15ec3ba67b Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Jeff Gilbert
7e8c7b365e Bug 1049957 - Fix compilation errors. - r=kamidphish 2014-08-15 17:38:08 -07:00
Jeff Gilbert
2cf705f5f5 Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish 2014-08-15 17:38:08 -07:00
Ryan VanderMeulen
b364e001aa Backed out changeset 926c83cd24f0 (bug 1052751) for B2G reftest failures. 2014-08-15 17:15:26 -04:00
Jeff Muizelaar
b896779c48 Bug 1054474. Change FPSCounter to not use ToSecondsSigDigits(). r=BenWa
ToSecondsSigDigits is slower and broken on Windows and doesn't
really provide any value in this case.

--HG--
extra : rebase_source : 889657d9bd1e7a2bc4bd2f8b2da16fac63ece822
2014-08-15 15:54:05 -04:00
Benoit Girard
41f5bc3f33 Bug 1052751 - Part 1: Cull translated layers on the compositor. r=roc
--HG--
extra : rebase_source : 6979b4d41c40ceb808a48ff8a1c038bbcfbed5b0
2014-08-15 13:46:23 -04:00
Jeff Muizelaar
bc537cc1e3 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Benoit Girard
a4daec6b93 Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel 2014-08-12 18:46:16 -04: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
Walter Litwinczyk
9cdb43072d Bug 1047755 - Add copy constructor to ScrollableLayerguid in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 10:32:51 -07:00
Walter Litwinczyk
ff80bb9d79 Bug 1047755 - Add copy constructor to ZoomConstraints in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 09:35:17 -07:00
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
eee37dc2bd Bug 1040543 part 8 - Move timing parameters from AnimationPlayer to Animation; r=bz
As the second step in dividing functionality between AnimationPlayer and
Animation, this patch moves the AnimationTiming member from AnimationPlayer to
Animation.

Most of this patch is simply moving code around. However, one significant
functional difference is that Animation::GetLocalTime() uses the mParentTime
member which is set when the Animation is updated by the player it is attached
to.

Other less significant differences are:

* AnimationPlayer::GetLocalTime is renamed to GetCurrentTimeDuration
  In Web Animations, animation players have a (writeable) "current time" and
  animations have a (read-only) "local time".
  We would call the method simply "GetCurrentTime" (instead of
  "GetCurrentTimeDuration") but GetCurrentTime is the name of the method used in
  the content-facing API where it returns a double.

* "IsCurrent" is defined on both AnimationPlayer and Animation with the version
  in AnimationPlayer serving mostly as a convenience shortcut to the version on
  Animation.

* Animation::GetComputedTiming (previously on AnimationPlayer) now makes the
  timing parameter optional since most of the time it is not needed.
2014-08-10 17:06:50 +10: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
Jim Chen
d042927049 Bug 1048952 - Lower compositor permanent hang timeout to 2 seconds; r=snorp 2014-08-08 18:11:52 -04:00
Kartikaya Gupta
9380d25515 Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp 2014-08-08 17:42:25 -04:00
David Parks
e130c16516 Bug 1041695 - Make ShadowLayersForwarder::RemoveTexture run on worker thread, as required by TextureClient::Finalize. r=nical
--HG--
extra : rebase_source : 5498e78ba405c0b2e75063b3d7bda7d1cead4669
2014-07-30 23:44:31 -07:00
Matt Woodrow
6c16eeea37 Bug 1049303 - Avoid an invalid cast to ClientThebesLayer when we're using tiling. r=Bas 2014-08-07 11:55:31 +12:00
Matt Woodrow
84c916ae97 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
a4fa815cab Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Wes Kocher
6c6d0e3d5a Backed out changeset c62468b61fed (bug 1041695) for bustage on a CLOSED TREE 2014-08-07 18:16:25 -07:00
David Parks
6a84d75e6c Bug 1041695 - Run ShadowLayersForwarder::ReleaseTexture on worker thread r=nical 2014-07-30 23:44:31 -07:00
Nicolas Silva
2bea980413 Bug 1043426 - Don't crash when failing to upload apply a maskon a container layer. r=Bas 2014-08-01 15:53:12 +02:00
Wes Kocher
7128337cab Backed out 2 changesets (bug 1048110) for various Android mochitest failures on a CLOSED TREE
Backed out changeset 1cf6f4f27811 (bug 1048110)
Backed out changeset b89f54e21c0b (bug 1048110)
2014-08-06 18:32:52 -07:00
Wes Kocher
2062a10c1e Backed out changeset 772d552cbe95 (bug 1049303) for build bustage in ClientLayerManager on a CLOSED TREE 2014-08-06 17:31:55 -07:00
Matt Woodrow
288f3c0251 Bug 1049303 - Avoid an invalid cast to ClientThebesLayer when we're using tiling. r=Bas 2014-08-07 11:55:31 +12:00
Matt Woodrow
147301ddd4 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
4a5cbd7c21 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Matt Woodrow
fae9993fd9 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
Wes Kocher
235636ff24 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Botond Ballo
034af10f54 Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats 2014-07-29 17:24:12 -04:00
Botond Ballo
4664a97489 Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats 2014-08-06 12:52:04 -04:00