Commit Graph

424 Commits

Author SHA1 Message Date
Kartikaya Gupta
3c1e9df074 Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond 2014-11-14 07:40:15 -05:00
Kartikaya Gupta
2d6a90bc16 Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Benoit Girard
48140f14fe Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Botond Ballo
27647aabec Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo
2124b8b94c 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
b4345a9bb4 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
5b163a6b8b Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Botond Ballo
c54c9d42eb Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
2105a1529d Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Kartikaya Gupta
127c5f7f6b Bug 1091283 - Allow using the existing gtest input helpers on APZCTreeManager as well. r=botond
Thanks to the magic of templates we can reuse the code we have for dispatching
common gestures into the AsyncPanZoomController.
2014-10-31 15:31:35 -04:00
Kartikaya Gupta
0f7ac57254 Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo
a82f029418 Bug 1066888 - Update gtests for overscroll physics improvements. r=kats 2014-10-31 12:05:29 -04:00
Nicholas Nethercote
3d9e2be7e1 Bug 1089446 - Remove gfx/tests/process-textruns.pl, which is ancient and unused. r=roc.
--HG--
extra : rebase_source : 81a688c2404ae3849e4e4ebd1fe934928fe38b2b
2014-10-28 15:04:03 -07:00
Ryan VanderMeulen
a4cdeccb89 Bug 922976 - Disable 394751.xhtml on B2G for frequent failures. 2014-10-27 14:53:10 -04:00
Kartikaya Gupta
242eea3e31 Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond 2014-10-24 14:45:00 +02:00
Kartikaya Gupta
34433158b2 Bug 1083395 - Move some APZC functions that are no longer needed in production down to the test subclass. r=botond 2014-10-24 13:29:35 -04:00
Kartikaya Gupta
d9a2995ade Bug 1083395 - Move to a single input queue owned by the APZCTM instead of many queues owned by APZC instances. r=botond 2014-10-24 13:29:34 -04:00
Kartikaya Gupta
47a070d91c Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Himanshu Singh
d737bbd9a1 BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats 2014-10-23 09:10:47 -04:00
Kartikaya Gupta
f5cd43f958 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
efe6e3ef6a Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Jonathan Watt
84e4023207 Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas 2014-10-08 04:43:00 +01:00
Botond Ballo
b6e2f97a6f Bug 1073250 - Gtest for stuck-in-apz-overscroll bug. r=kats 2014-10-03 20:35:16 -04:00
Nick Lebedev
eb08238087 Bug 947892. Add dispatching of the tap event when the tap is followed by multiple touches. r=botond 2014-10-03 09:24:56 -04:00
Kartikaya Gupta
77e82458f5 Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond 2014-10-01 17:49:31 -04:00
Markus Stange
abdabfe784 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Kartikaya Gupta
7f4b94f99c Bug 973105 - Add a test to verify that new input blocks flush APZ repaint requests. r=botond 2014-09-25 13:46:34 -04:00
Kartikaya Gupta
ee087e7822 Bug 1068268 - Properly set the next-sibling pointer of an APZC when it is a child of a multi-layer APZ. r=botond 2014-09-20 22:27:16 -04:00
Kartikaya Gupta
8280231016 Bug 1053766 - Gtests for state change notifications. r=botond 2014-09-12 11:41:28 -04:00
Benoit Girard
5cb3a91b1e Bug 1064136 - Disable new malformed overdraw test. test-only 2014-09-09 00:14:07 -04:00
Botond Ballo
e4716049ab Bug 1063224 - Split APZCTreeManager::GetInputTransforms() into GetScreenToApzcTransform() and GetApzcToGeckoTransform(). r=kats
--HG--
extra : source : e2c2b60db0d0865c81bfadf0100763d35011136f
2014-09-08 18:04:01 -04:00
Daniel Holbert
58f7a5e703 Bug 1063847: Use 1u instead of 1 in EXPECT_EQ macro, to fix Wsign-compare build warning in TestAsyncPanZoomController.cpp. r=botond 2014-09-05 17:13:04 -07:00
Benoit Girard
0d4aa8b929 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Botond Ballo
c45a583f94 Bug 1062437 - Test APZC tree structure in gtest for multi-layer-apz. r=kats 2014-09-04 14:43:31 -04:00
Kartikaya Gupta
9a81e7b11f Bug 1058886 - Extract a helper function to get the APZC from a simple layer. r=botond 2014-09-04 13:55:05 -04:00
Botond Ballo
81fd150c8d Bug 1061976 - Reinstate APZ gtests for overscrolling during panning. r=BenWa 2014-09-02 20:39:40 -04:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Botond Ballo
19ecff8ab5 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
Kartikaya Gupta
4193dbe5f7 Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
4628990ec6 Bug 1055760 - Update TestAsyncPanZoomController to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
8b8760b990 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Kartikaya Gupta
8059354fff Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Kartikaya Gupta
3672e7649e Bug 1056829 - Explicitly specify scroll handoff parents to avoid warnings in debug mode. r=botond 2014-08-21 13:47:42 -04:00
Botond Ballo
732ba562fc Bug 1025436 - Gtest for flinging into overscroll. r=kats
--HG--
extra : rebase_source : 04f121408c43826ac67e71acb229cfcaad137c3e
2014-08-20 14:28:41 -04:00
Botond Ballo
4461a328f0 Bug 1042974 - Gtests for scrollgrab. r=kats
--HG--
extra : rebase_source : 1de35060a59c594bde0c7c003775b32fb71b6d51
2014-08-20 13:22:36 -04:00
Botond Ballo
46d015c1af Bug 1039992 - Gtests for overscroll handoff. r=kats 2014-08-19 19:57:22 -04:00
Kartikaya Gupta
7be80289f4 Bug 1052063 - Add some tests to ensure layers with the same scrollid get the same APZC. r=botond 2014-08-19 21:17:10 -04:00