Commit Graph

216 Commits

Author SHA1 Message Date
Kartikaya Gupta
59dec3826a 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
Botond Ballo
d8ba2553d7 Bug 1063224 - Use global screen coordinates when working with quantities in inches. r=kats
--HG--
extra : source : 065a1d3bc7f99562b2f41847d76b4c6196825b7b
2014-09-05 18:42:34 -04:00
Botond Ballo
44c80fc4f3 Bug 1063224 - Add a PanStart() method to AsyncPanZoomController. r=kats
--HG--
extra : source : c26cacfcd1998dddd2982062c844e10bc5736541
2014-09-05 18:42:03 -04:00
Botond Ballo
98845853b8 Bug 1063224 - Give AsyncPanZoomController a mechanism for converting between local and global screen coordinates. r=kats
--HG--
extra : source : 9e2fe73a1837854b8a024f82d2b6a38eba18ff5e
2014-09-08 17:44:25 -04:00
Botond Ballo
e35b939581 Bug 1063224 - Split APZCTreeManager::GetInputTransforms() into GetScreenToApzcTransform() and GetApzcToGeckoTransform(). r=kats
--HG--
extra : source : e2c2b60db0d0865c81bfadf0100763d35011136f
2014-09-08 18:04:01 -04:00
Botond Ballo
482d310a1f Bug 1063224 - Add a bit more infrastructure to Axis. r=kats
--HG--
extra : source : 42dc115521166059d08e2cb1c7d23105bb54cbee
2014-09-05 18:59:46 -04:00
Botond Ballo
469a8cdd21 Bug 1063224 - Make some more things strongly typed in APZ code. r=kats
--HG--
extra : source : 57467bc253cd033260d086d52fe65069cffbe720
2014-09-08 13:28:13 -04:00
Botond Ballo
f9d0811336 Bug 1063224 - Const-correctness improvements in APZ classes. r=kats
--HG--
extra : source : 2d5e9cefe9931c97f544e23e14dc5de44ac352e7
2014-09-05 18:37:51 -04:00
Botond Ballo
92fda10b76 Bug 1063227 - Make APZ axis locking constants preffable. r=kats
--HG--
extra : source : 83f2d844c5a9833a40b2d0d9021597652e707a1a
2014-09-05 20:07:52 -04:00
Connor
decce75ac6 Bug 1056367 - Modify AttemptFling and DispatchFling to work iteratively instead of recursively. r=botond
--HG--
extra : amend_source : b1e397de5b947f8fa3d75c9003c9f9652b39c6e8
2014-09-04 01:39:15 -04:00
Cameron McCormack
4982d40d0e Bug 1063194 - Bustage fix. (CLOSED TREE) 2014-09-05 13:10:25 +10:00
Botond Ballo
14e96669a9 Bug 1063194 - Make assertions in Axis::OverscrollBy() more informative. r=kats 2014-09-04 19:42:07 -04:00
Botond Ballo
a28de873cd Bug 1062437 - Consider all layers associated with an APZC when determining if it should be the parent of another APZC. r=kats 2014-09-03 17:22:05 -04:00
Kearwood (Kip) Gilbert
5f59b02c90 Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
  of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
  and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
  scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
  on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
  smooth scrolling on the compositor thread.  It will ensure that they
  are cancelled as needed by mousewheel, touchpanel, keyboard, and
  CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
  commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Botond Ballo
dea86069ca Bug 1062411 - Make FrameMetrics::mContentDescription an nsCString so there is no limit to its length. r=BenWa 2014-09-03 12:54:26 -04:00
Botond Ballo
59742ef208 Bug 1062545 - Print APZC info beside each layer associated with the APZC in the tree log. r=BenWa 2014-09-03 16:50:50 -04:00
Robert O'Callahan
021e1aa7f6 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b616a0ab2e5bb203a66a5f0b3644bdcbe5f17ce7
2014-08-30 00:23:25 +12:00
Phil Ringnalda
a8940eb5c6 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
a67165f077 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d5a2d8ea13369db215e96e721efc3ce0b354a523
2014-08-30 00:23:25 +12:00
Ehsan Akhgari
3cc9664125 Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Botond Ballo
565b752a56 Bug 1057578 - Re-enable overscrolling during panning. r=kats 2014-08-29 15:03:02 -04:00
Botond Ballo
f1400587fe Bug 1057578 - Make the overscroll transform a uniform stretch. r=kats 2014-08-29 15:28:47 -04:00
Botond Ballo
0f34790a9a 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
Ryan VanderMeulen
f4e712f3f6 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Carsten "Tomcat" Book
22a02d91d0 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
David Zbarsky
0b7ba4a9b8 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
Kartikaya Gupta
3f830a6a73 Bug 1058664 - Update the LD transform to go with the changes in bug 1052063. r=botond 2014-08-28 20:11:07 -04:00
Botond Ballo
a5db405d9f Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Botond Ballo
bb5b3e24c2 Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Kartikaya Gupta
4e8832c9dd Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
656c80c306 Bug 1055760 - Don't pass an out-ref for a parameter that doesn't change. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
f0b76c5903 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Kartikaya Gupta
3c19efedf2 Bug 1057642 - Fix some printing call sites that try to print CoordTyped as floats. r=botond 2014-08-26 12:05:05 -04:00
Emma Benoit
64a26a7b66 bug 1030741 - Make FrameMetrics::mIsRoot private and add getter/setter methods to manipulate it. r=kats 2014-08-23 19:09:10 -04:00
Kartikaya Gupta
0bcb34fd1e Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Botond Ballo
779bb4c89a Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats 2014-08-21 15:27:51 -04:00
Wes Kocher
a3b394f41c Backed out changeset 36a60b15c104 (bug 1049109) for gtest failures on a CLOSED TREE 2014-08-21 15:25:29 -07:00
Botond Ballo
5af91ec9b3 Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats
--HG--
extra : rebase_source : fc10f5f0fd176fa91c825805f1180dc8af3f67ad
2014-08-21 15:27:51 -04:00
Botond Ballo
0b4beaf18a Bug 1056617 - Don't try to do panning for OS X pan events that are not preceded by a 'pan begin' event. r=mstange 2014-08-21 13:17:26 -04:00
Botond Ballo
1ab1bfa3d8 Bug 1046993 - Use floating-point coordinates throughout in Axis. r=kats 2014-08-20 17:39:45 -04:00
Wes Kocher
3520083deb Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Kartikaya Gupta
ba30d4b539 Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Kartikaya Gupta
e94aaf7968 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
015ce11986 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
c029b67a0c 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
3b4808ddad 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
197e4559e6 Bug 1052063 - Move the CSS transform into the ancestor transform. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
a65d30e8ee Bug 1052063 - Small changes to clarify the existing ancestor transform build-up. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
da28f73cfa Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Kartikaya Gupta
a0204dccde 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