Leonid V. Fedorenchik
0f3923a572
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Yan Gouts
f75d626d81
Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats
2014-12-23 10:35:58 -05:00
Brian Birtles
23dfa5deff
Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical
2014-12-22 09:35:41 +09:00
Prabhjyot Singh Sodhi
cd58e9ca1d
Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats
2014-12-18 19:33:18 -05:00
Prabhjyot Singh Sodhi
560e8eee1c
Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats
2014-12-17 17:14:05 -05:00
Kartikaya Gupta
0998727bdc
Bug 1100140 - When a scrollable layer is marked as fixed-position, don't treat it as fixed relative to itself. r=botond
2014-11-19 13:41:48 -05:00
Botond Ballo
8e10bf2d87
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
5ff0017ed7
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Carsten "Tomcat" Book
4a50bc99ae
Backed out changeset 71fe4233208a (bug 1076163)
2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
52d5b03991
Backed out changeset a96930f1e26b (bug 1055741)
2014-11-13 11:47:31 +01:00
Botond Ballo
031c8b1c39
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
4bdb5115eb
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Kartikaya Gupta
273c06a82d
Bug 1091296 - When applying the APZ transform on a layer, make sure not to clobber any existing OMTA transform. r=mattwoodrow
2014-11-11 10:54:02 -05:00
Kartikaya Gupta
f73c12544e
Bug 1091296 - Remove the redundant code for clearing async transforms per frame of composition. r=mattwoodrow
...
We already reset the shadow transform to the layer transform in
SetShadowProperties() before compositing every frame, so this is redundant.
2014-11-11 10:53:57 -05:00
Kartikaya Gupta
0e53c43b1a
Bug 1091296 - Refactor the pre- and post-scale cancellation code into a helper method. r=mattwoodrow
2014-11-11 10:53:44 -05:00
Ehsan Akhgari
22d38b6803
Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa
2014-10-27 08:57:36 -04:00
Kartikaya Gupta
f6083d562d
Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond
2014-10-16 09:23:52 -04:00
Jonathan Watt
44455cc40b
Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas
2014-10-16 10:51:12 +01:00
Jonathan Watt
549b278c72
Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas
2014-10-16 10:51:12 +01:00
Kartikaya Gupta
85de5eb65b
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Jonathan Watt
fa5188c412
Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas
2014-10-08 04:43:00 +01:00
Kartikaya Gupta
5a23c53a99
Bug 1043859 - Fix the code to remove the async transform from scrollbar layers that are descendants of their content. r=botond
2014-10-01 17:49:31 -04:00
Kartikaya Gupta
2088f2e72b
Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond
2014-10-01 17:49:31 -04:00
Kartikaya Gupta
67294e3798
Bug 1074944 - Update APZ code to use Matrix4x4::Inverse() where possible. r=nical
2014-10-01 13:13:05 -04:00
Kartikaya Gupta
1a8266e9c2
Bug 1056423 - Follow-up to fix build bustage on a CLOSED TREE. r=me
2014-09-18 13:46:47 -04:00
Kartikaya Gupta
9d277667a6
Bug 1056423 - Adjust scrollbar clip rect also when accounting for async transform. r=botond
2014-09-18 13:19:20 -04:00
Jeff Muizelaar
4f3610dd6b
Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
...
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.
Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
2014-09-10 15:59:00 -04:00
Markus Stange
e45b4b97a1
Bug 1061327 - When the scrolled layer is not an ancestor of the scrollbar layer, search the whole layer tree. r=botond
2014-09-10 12:19:53 +02:00
Markus Stange
4571aff914
Bug 1061327 - Don't stop searching for scrolled layers when encountering a ScrollInfoLayer. r=botond
2014-09-10 12:19:25 +02:00
Kartikaya Gupta
16e79f3acc
Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa
2014-09-09 15:12:14 -04:00
Kartikaya Gupta
cdea48970d
Bug 1064840 - Only display the unused-apz visual warning if the async transform is not applied to any content. r=botond
2014-09-09 12:33:25 -04:00
Jeff Muizelaar
7e82b47fd1
Bug 1049564. Backout unintentionally landed code.
...
CLOSED TREE
2014-09-08 11:07:48 -04:00
Jeff Muizelaar
e9003d6610
Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
...
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Botond Ballo
244897cf27
Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats
2014-08-29 14:41:49 -04:00
David Zbarsky
dab4416cdc
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04:00
Kartikaya Gupta
105484c576
Bug 1055760 - Update AsyncCompositionManager's animation-sampling code to deal with multiple FrameMetrics. r=botond
2014-08-27 22:13:42 -04:00
Kartikaya Gupta
a8c25c63cf
Bug 1055760 - Update AsyncCompositionManager's fixed- and sticky-layer-adjusting code to deal with multiple FrameMetrics. r=botond
2014-08-27 22:13:42 -04:00
Kartikaya Gupta
ba16305db9
Bug 1055760 - Update AsyncCompositionManager's scrollbar-adjusting code to deal with multiple FrameMetrics. r=botond
2014-08-27 22:13:42 -04:00
Kartikaya Gupta
4921622f56
Bug 1055760 - Update AsyncCompositionManager's async-transform application code to deal with multiple FrameMetrics. r=botond
2014-08-27 22:13:41 -04:00
Kartikaya Gupta
c11731dee2
Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa
2014-08-27 22:13:41 -04:00
Kartikaya Gupta
9d9e2ce30a
Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa
2014-08-27 22:13:41 -04:00
Kartikaya Gupta
e4637f37f2
Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond
2014-08-27 22:13:40 -04:00
Kartikaya Gupta
2578cbf15e
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
0797f2e6f4
Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond
2014-08-19 21:17:09 -04:00
Kartikaya Gupta
37454b9882
Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond
2014-08-11 20:00:37 -04:00
Kartikaya Gupta
18bbff8294
Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa
2014-08-11 20:00:36 -04:00
Brian Birtles
f3e3f8efd7
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
5af463c37a
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.
2014-08-10 17:06:44 +10:00
David Zbarsky
37bec6718c
Bug 952977: More gfx::Matrix cleanups r=nical
2014-08-01 08:31:49 -04:00
David Zbarsky
59ff262b8d
Bug 952977: More gfx::Matrix cleanup in APZC r=nical
2014-08-01 08:31:49 -04:00