Commit Graph

343 Commits

Author SHA1 Message Date
Ying-Ruei Liang (KK)
f17daf9c2a 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

--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Botond Ballo
7009659de8 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
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew
179aafeda9 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
52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Mason Chang
ba8626d695 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Ehsan Akhgari
883849ee32 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
Kartikaya Gupta
bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
99454216d3 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
30cf8d06df 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
0082df31ab Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Botond Ballo
cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Jeff Muizelaar
69363dcf7f 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
c6da1df376 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
cf25343ea5 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
8d1fcc4892 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/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Botond Ballo
6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Kartikaya Gupta
8e267df190 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
17dd704db3 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
64d4c32b50 Bug 1135677 - Deal with overflowing rects. r=bas
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Carsten "Tomcat" Book
999f6284ec Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Nicolas Silva
4fea5323ad Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Kartikaya Gupta
b3954b6850 Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Jeff Gilbert
56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Robert O'Callahan
7a165b59ca 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
bf6b3c59f1 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
680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Wes Kocher
d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Mason Chang
1eccaeec01 Bug 1098701. Part 1: gtest framework and tests. r=kats 2015-01-23 11:19:54 -08:00
Daniel Holbert
a5ce8d10a3 Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa 2015-01-20 13:17:27 -08:00
Surabhi Anand
98a481bdeb Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kartikaya Gupta
277a11f599 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
2c4a8779e8 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
9b8c2dc37d Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
Kartikaya Gupta
98ceec6992 Bug 1117712 - Gtest. r=botond 2015-01-14 10:41:38 -05:00
Kartikaya Gupta
cdac1b867f 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
1a47ec5608 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
a64136480e 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
2a492472b4 Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1eb610400a Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ceba82c3a0 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1bf8a513d0 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e0077ec0d4 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
66746c1cfb 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
755b86ca3a Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Kushan Joshi
94821f46e8 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00