Kartikaya Gupta
c318671429
Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond
2015-03-20 14:26:52 -04:00
Alexandre Lissy
81089e2357
Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal
2015-03-20 00:45:00 +01:00
Kartikaya Gupta
f7742919c0
Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond
2015-03-19 06:33:32 -04:00
Kartikaya Gupta
bd689bd583
Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond
2015-03-19 06:33:32 -04:00
Nicolas Silva
8cd01afea2
Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel
2015-03-17 15:50:06 +01:00
Botond Ballo
8d53c88caa
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
2015-03-06 13:54:10 -05:00
Jeff Muizelaar
b66b5a2f28
Bug 1130978. Fix VisitEdges. r=kats
...
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.
The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Kartikaya Gupta
050bd07ad1
Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond
2015-03-10 09:29:25 -04:00
Kartikaya Gupta
dcb00c1088
Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn
2015-03-10 09:29:19 -04:00
Kearwood (Kip) Gilbert
957ced20f0
Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
...
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/ )
2015-02-19 15:53:30 -08:00
Botond Ballo
27f1fc4347
Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
2015-03-02 16:38:07 -05:00
Kartikaya Gupta
a778f4f785
Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond
2015-03-02 11:51:45 -05:00
Kartikaya Gupta
645592ebd8
Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond
2015-03-02 11:50:38 -05:00
Benoit Girard
8e7100fac4
Bug 1135677 - Deal with overflowing rects. r=bas
2015-02-23 14:09:56 -05:00
Abhishek Arya
4bfa111fe2
Bug 944579 - another crashtest.
2015-02-22 04:57:16 +00:00
Jesse Ruderman
24b83f7936
Bug 950000 - crashtest.
2015-02-22 02:41:58 +00:00
Abhishek Arya
42594d9af1
Bug 944579 - crashtest.
2015-02-22 02:41:58 +00:00
Jesse Ruderman
e49462e47c
Bug 593526 - crashtests.
2015-02-22 02:41:58 +00:00
Carsten "Tomcat" Book
a3298e7ebb
Backed out changeset e1bb91f60697 (bug 1129871)
2015-02-17 14:32:15 +01:00
Nicolas Silva
0dff182e54
Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa
2015-02-14 12:14:59 +01:00
Jeff Gilbert
ea33309bb2
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Kartikaya Gupta
b53fb2a07c
Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond
2015-02-10 08:24:23 -05:00
Jeff Gilbert
8bb794cb82
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Robert O'Callahan
74edebf611
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jeff Muizelaar
9d636c290c
Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
...
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Jeff Gilbert
67d833acf8
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
David Zbarsky
32c35eeb2a
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Wes Kocher
4bb251d0cc
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
54ef36bf57
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Mason Chang
05082a3276
Bug 1098701. Part 1: gtest framework and tests. r=kats
2015-01-23 11:19:54 -08:00
Daniel Holbert
fd4d6496b2
Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa
2015-01-20 13:17:27 -08:00
Surabhi Anand
c2f9192a8a
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
Kartikaya Gupta
48f389c563
Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond
2015-01-15 10:37:54 -05:00
Kartikaya Gupta
fa75a65bf4
Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond
2015-01-15 10:37:54 -05:00
Benoit Girard
f97773fb06
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Kartikaya Gupta
063b15bc9c
Bug 1117712 - Gtest. r=botond
2015-01-14 10:41:38 -05:00
Kartikaya Gupta
4942ecc965
Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me
2015-01-13 21:16:51 -05:00
Kartikaya Gupta
ea2ccd3c61
Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond
2015-01-10 10:55:47 -05:00
Kartikaya Gupta
f0e0097cfb
Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond
2015-01-10 10:55:47 -05:00
Botond Ballo
b994a7b083
Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
01e045fa21
Bug 1109873 - Implement the expanded HitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
dc35d9ea17
Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e758b39127
Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
febc92fd83
Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7
Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
...
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.
This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
2b83564d48
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00
Kushan Joshi
2124f457f1
Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats
2014-12-30 14:07:57 -05:00
Leonid V. Fedorenchik
f7a220a203
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Yan Gouts
171cf32ef7
Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats
2014-12-23 10:35:58 -05:00
Prabhjyot Singh Sodhi
78f5368e85
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
7ddff31846
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
Ryan VanderMeulen
8593b08a22
Merge m-c to b2g-inbound. a=merge
2014-12-15 14:04:03 -05:00
Kartikaya Gupta
0ebcc16092
Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD
2014-12-15 10:45:46 -05:00
Kartikaya Gupta
4ddf886a75
Bug 1109677 - Ensure that the hit region is populated for layer trees in gtests. r=botond
2014-12-14 21:37:52 -05:00
Kartikaya Gupta
10c3ad95ca
Bug 1109677 - Banish scrollinfo layers from the gtests as they are not used with event regions. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
9a139d6c13
Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
da5a1ed4e2
Bug 1109855 - Fix building of APZC instances via the tree manager for gtests. r=botond
...
In testing scenarios ensure that we always create a TestAsyncPanZoomController
so that we can unconditionally cast to it and use the extra helpers on that
class.
2014-12-11 10:39:19 -05:00
Ryan VanderMeulen
c980670a21
No bug - Put the gfx mochitest.ini in the same dir as the tests it lists.
...
--HG--
rename : gfx/tests/mochitest.ini => gfx/tests/mochitest/mochitest.ini
2014-12-09 09:55:25 -05:00
David Anderson
3061888891
Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
...
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Chris Peterson
d3acb03f9f
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Gary Kwong
1101f84381
Bug 428633 - crashtest.
2014-11-23 15:09:50 +00:00
Kartikaya Gupta
08918bfa1a
Bug 918288 - Modify the SetTargetAPZC API to take an array of targets for multiple touch points. r=botond
2014-11-21 21:36:25 -05:00
Kearwood (Kip) Gilbert
2d939aaa56
Bug 1086723 - Part 2: Test. r=kats
...
- Reftest added to perform an async scroll and verify that the mask used
to render the rounded corners of a fixed position element are correctly
offset.
2014-11-19 12:39:00 +01:00
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