Botond Ballo
dae9b09192
Bug 1152051 - Gtest. r=Cwiiis,kats
2015-04-29 19:38:02 -04:00
Kartikaya Gupta
829abde6a5
Bug 1148350 - Add a test. r=botond
2015-04-30 14:30:38 -04:00
Kartikaya Gupta
cfdb6229fe
Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander
2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK)
5b075b3ea2
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
Ryan VanderMeulen
2250cf37e6
Merge inbound to m-c. a=merge
2015-04-14 10:06:03 -04:00
Alexandre Lissy
e012543f84
Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only
2015-04-13 14:26:00 -04:00
Botond Ballo
75058fcf12
Bug 1152051 - During an overscroll animation, detect a peak even if a sample has a velocity of exaclty zero. r=Cwiiis
2015-04-08 19:59:14 -04:00
Nicolas Silva
f2da0db3a0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Jonathan Kew
d39df22a7f
Bug 1012640 - patch 1 - Add checks for IsOriginalCharSkipped() to the gfxSkipChar unit tests. r=roc
2015-04-07 09:27:18 +01:00
Nicolas Silva
e140a853f2
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Martijn Wargers
404a79b2da
Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher
2015-03-20 14:29:19 +01:00
Mason Chang
ed82f14198
Bug 1146691
- Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats
2015-03-24 08:50:58 -07:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
a694cc39ce
Merge m-c to inbound a=merge CLOSED TREE
2015-03-20 18:01:17 -07:00
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