Leonid V. Fedorenchik
9085b13b1e
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Yan Gouts
0e7074b2bd
Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats
2014-12-23 10:35:58 -05:00
Prabhjyot Singh Sodhi
0de35ab99f
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
74d83cd734
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
87a3f4581f
Merge m-c to b2g-inbound. a=merge
2014-12-15 14:04:03 -05:00
Kartikaya Gupta
65fb04ab03
Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD
2014-12-15 10:45:46 -05:00
Kartikaya Gupta
4130a7b1ff
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
8af432308c
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
430339dfea
Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
140db2dc90
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
David Anderson
636a716c5b
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
22d0c4b343
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Kartikaya Gupta
6b5ac6ea72
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
Kartikaya Gupta
c72bebf294
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
861e80bbaf
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
8935e0b46d
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
1c1e4448a5
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
751e400ea4
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
c247fdb775
Backed out changeset 71fe4233208a (bug 1076163)
2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9
Backed out changeset a96930f1e26b (bug 1055741)
2014-11-13 11:47:31 +01:00
Botond Ballo
d766d4ca14
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
98ceb86b05
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Kartikaya Gupta
3cacbfa9b0
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
8b027fe00d
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
a43be62c13
Bug 1066888 - Update gtests for overscroll physics improvements. r=kats
2014-10-31 12:05:29 -04:00
Kartikaya Gupta
48f1a79f43
Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond
2014-10-24 14:45:00 +02:00
Kartikaya Gupta
080630c133
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
ab3387343c
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
fe23988edf
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
Himanshu Singh
5a4e5dca23
BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats
2014-10-23 09:10:47 -04:00
Kartikaya Gupta
72ea4fdacd
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
c1c0f335ce
Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas
2014-10-16 10:51:12 +01:00
Jonathan Watt
c5ae349afc
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
41c222db9a
Bug 1073250 - Gtest for stuck-in-apz-overscroll bug. r=kats
2014-10-03 20:35:16 -04:00
Nick Lebedev
89be467df3
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
7f4534b1c1
Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond
2014-10-01 17:49:31 -04:00
Markus Stange
3efef60534
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
7d5a3be591
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
b13de27ab1
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
279596b4fc
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
e1347f588f
Bug 1053766 - Gtests for state change notifications. r=botond
2014-09-12 11:41:28 -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
Daniel Holbert
f69c1aae22
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
Botond Ballo
97ada9b89c
Bug 1062437 - Test APZC tree structure in gtest for multi-layer-apz. r=kats
2014-09-04 14:43:31 -04:00
Kartikaya Gupta
2af7f171fc
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
f31fdb8904
Bug 1061976 - Reinstate APZ gtests for overscrolling during panning. r=BenWa
2014-09-02 20:39:40 -04: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
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
Kartikaya Gupta
0a357da2bf
Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa
2014-08-27 22:13:43 -04:00
Kartikaya Gupta
d591fbed2a
Bug 1055760 - Update TestAsyncPanZoomController to deal with multiple FrameMetrics. r=botond
2014-08-27 22:13:43 -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
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
Kartikaya Gupta
c771e8f8d7
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
138c8c6eea
Bug 1025436 - Gtest for flinging into overscroll. r=kats
...
--HG--
extra : rebase_source : 04f121408c43826ac67e71acb229cfcaad137c3e
2014-08-20 14:28:41 -04:00
Botond Ballo
72de203c22
Bug 1042974 - Gtests for scrollgrab. r=kats
...
--HG--
extra : rebase_source : 1de35060a59c594bde0c7c003775b32fb71b6d51
2014-08-20 13:22:36 -04:00
Botond Ballo
12b47e261e
Bug 1039992 - Gtests for overscroll handoff. r=kats
2014-08-19 19:57:22 -04:00
Kartikaya Gupta
2b4dc95fac
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
Kartikaya Gupta
6a0b930cf4
Bug 1052063 - Expand the APZCTreeManagerTester to take care of more boilerplate. 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
da28f73cfa
Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond
2014-08-19 21:17:09 -04:00
Botond Ballo
4f535a3256
Bug 1055361 - Remove gtests that test for overscrolling during panning, to reopen a CLOSED TREE. rs=kats
2014-08-19 16:09:47 -04:00
Botond Ballo
6f4fcc90af
Bug 1039992 - Move the overscroll handoff chain into AsyncPanZoomController and have one per touch block or pan gesture. r=kats,bjacob,mstange
...
--HG--
rename : gfx/layers/apz/src/TouchBlockState.h => gfx/layers/apz/src/InputBlockState.h
extra : rebase_source : ee68595aa21b696de1a0fbb8e6c161022a88ba3d
2014-08-18 16:12:11 -04:00
Kartikaya Gupta
1fc3c3121f
Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond
2014-08-11 20:00:37 -04:00
Kartikaya Gupta
40ac29fbd1
Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa
2014-08-11 20:00:36 -04:00
Nicolas Silva
5cfb339954
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
Kartikaya Gupta
a75afd077b
Bug 1036985 - Change the return value of APZCTM::ReceiveInputEvent to return more useful information. r=botond
2014-08-01 16:24:50 -04:00
David Zbarsky
14c6e4a712
Bug 952977: More gfx::Matrix cleanup in APZC r=nical
2014-08-01 08:31:49 -04:00
David Zbarsky
604ca01f70
Bug 952977: More gfx::Matrix cleanup in tests r=nical
2014-08-01 08:31:48 -04:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Kartikaya Gupta
e008079af7
Bug 1046292 - Follow-up to fix bustage. r=me on a CLOSED TREE
2014-07-31 09:23:34 -04:00
Kartikaya Gupta
ae50691d1d
Bug 1046292 - Add some unit tests for TaskThrottler. r=botond
2014-07-31 09:04:34 -04:00
Wes Kocher
3c155637a3
Backed out 11 changesets (bug 952977) for reftest-no-accel failures
...
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
30b97efa59
Bug 952977: More gfx::Matrix cleanup in APZC r=nical
2014-07-29 19:18:51 -04:00
David Zbarsky
ec6abc1e3e
Bug 952977: More gfx::Matrix cleanup in tests r=nical
2014-07-29 19:18:50 -04:00
Nicolas Silva
ea6a110f66
Bug 1043929 - Fix TestTextures (disabling a part of the test that tries to do something it can't do) on a CLOSED TREE
2014-07-28 16:10:01 +02:00
Kartikaya Gupta
d03e0ec72c
Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond
2014-07-25 08:27:43 -04:00
Ed Morley
a1c6e86050
Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures
2014-07-25 16:27:21 +01:00
Kartikaya Gupta
e7d45b9787
Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond
2014-07-25 08:27:43 -04:00
Mike Hommey
622bf09730
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Kartikaya Gupta
d7d2ba5bc6
Bug 1040986 - Add a Contains(x,y) method to nsRegion. r=jrmuizel
2014-07-22 13:33:46 -04:00
Kartikaya Gupta
0df3a31848
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
Jeff Muizelaar
c77f66ee40
Bug 1023473. Pad out tile contents by one pixel. r=BenWa
...
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.
We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Kartikaya Gupta
eb5dd62970
Bug 1039979 - Restore and improve handling of the stop-fast-fling-on-touchdown behaviour. r=botond
2014-07-17 13:41:54 -04:00
Kartikaya Gupta
0a228e40d7
Bug 1039979 - Some more gtest code cleanup and test robustification. r=botond
2014-07-17 13:41:53 -04:00
Kartikaya Gupta
53f6e3b799
Bug 1039979 - Add tests to ensure that flings stop right on a touchstart even if content listeners are present. r=botond
2014-07-17 13:41:53 -04:00
Kartikaya Gupta
cc6b57e6cd
Bug 1039979 - Move the overscroll chain building into the tester setup/teardown since it is needed more widely now. r=botond
2014-07-17 13:41:53 -04:00
Kartikaya Gupta
f1f7167b64
Bug 988494 - Add some double-tap gtests. r=botond
2014-07-16 08:33:50 -04:00
Kartikaya Gupta
340f4a397d
Bug 1009733 - Add more test coverage for panning and pinching cancelled by prevent-default. r=botond
2014-07-16 08:33:50 -04:00
Kartikaya Gupta
e7190ff526
Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond
2014-07-16 08:33:50 -04:00
Kartikaya Gupta
1373f84b10
Bug 1037591 - Remove useless Constructor test and redundant tester. r=botond
2014-07-14 19:07:54 -04:00
Kartikaya Gupta
83d46f0c1b
Bug 1037591 - Move a bunch of boilerplate code into the tester classes. r=botond
2014-07-14 19:07:54 -04:00
Kartikaya Gupta
d586e07c49
Bug 1037591 - Move DoPanTest down to be with the pan tests. r=botond
2014-07-14 19:07:54 -04:00
Kartikaya Gupta
01d047773f
Bug 1037591 - Split the ApzcPinch* functions into two so that the status checks are separated. r=botond
2014-07-14 19:07:54 -04:00
Kartikaya Gupta
c246acf9de
Bug 1037591 - Split ApzcPan into two so that the status checks are separated. r=botond
2014-07-14 19:07:53 -04:00
Kartikaya Gupta
924e09f200
Bug 1037591 - Modify ApzcPan to use ApzcUp and ApzcDown; reformat some code. r=botond
2014-07-14 19:07:53 -04:00
Kartikaya Gupta
faec8e081f
Bug 1037591 - Unite the TestScopedBoolPref and TouchActionEnabledTester into a general pref solution. r=botond
2014-07-14 19:07:53 -04:00
Kartikaya Gupta
a358761f94
Bug 1037591 - Remove unused container layer subclass. r=botond
2014-07-14 19:07:52 -04:00
Botond Ballo
6770de9ed0
Bug 1034376 - Avoid APZC being stuck in overscrolled state when CancelAnimation() is called during panning. r=kats
...
--HG--
extra : rebase_source : bbc3a02d6be7081be77b58cb2795aa57ce794002
2014-07-14 12:54:41 -04:00
Kartikaya Gupta
cadac9394d
Bug 1037409
- Remove some gtests that don't map to real-world scenarios. r=nicklebedev
2014-07-14 12:48:48 -04:00
Kartikaya Gupta
a75ff9e2b1
Bug 1037019 - Remove the mTouchActionPropertyEnabled flag in APZC and flip the pref directly in the tests. r=botond
2014-07-11 08:25:13 -04:00
Kartikaya Gupta
1a56b68126
Bug 1037019 - Add the ability to set prefs in gfxPrefs. r=milan
2014-07-11 08:25:12 -04:00
Mike Hommey
70a5917917
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Kartikaya Gupta
ccf8c8beb4
Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis
2014-07-04 08:12:41 -04:00
Kartikaya Gupta
6d818f7c22
Bug 1031024 - Add a test for canceling fling animations to ensure overscroll is cleared. r=drs
2014-06-27 16:39:27 -04:00
Kartikaya Gupta
152866bf25
Bug 1031024 - Fix up the OverScrollPanning gtest to actually test overscrolling. r=drs
2014-06-27 16:39:11 -04:00
Kartikaya Gupta
57b791cdc7
Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas
2014-06-26 18:37:44 -04:00
Gijs Kruitbosch
793f6d8a10
Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob
2014-06-25 15:09:02 +01:00
Mike Hommey
771aac012a
Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal
2014-06-20 17:32:41 +09:00
Nicolas Silva
81fe3788ce
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Brian Birtles
194b6cc3b7
Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
...
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Markus Stange
4ec6de4928
Bug 1020389 - Call apzc->Destroy() at the end of AsyncPanZoomControllerTester.Fling and AsyncPanZoomControllerTester.OverScrollPanning in order to avoid leaking the content controller. r=kats
2014-06-04 18:02:53 +02:00
Jonathan Watt
334d8ccec7
Bug 1019704 - Stop creating Thebes backed gfxContexts in the old gtests. r=mattwoodrow
2014-06-04 08:08:39 +01:00
Nick Lebedev
e0ece671d8
Bug 1014838 - Add testing of the apzc state correctness after tap gestures. r=kats, r=botond
2014-05-29 23:00:31 -07:00
Botond Ballo
44a50c8549
Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
...
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
c205d40a5c
Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
...
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Nick Lebedev
9324438126
Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats
2014-05-22 20:42:15 -04:00
Jeff Muizelaar
0014fc1ded
Bug 1014654. Handle empty regions in SimplifyOutwardByArea().
2014-05-22 12:36:32 -04:00
Kartikaya Gupta
b8e360c929
Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov
2014-05-16 14:40:01 -04:00
Ryan VanderMeulen
9e342ce37a
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Kartikaya Gupta
355c624b5a
Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov
2014-05-16 11:26:00 -04:00
Botond Ballo
535bbba72d
Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
...
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Nick Lebedev
3d81d33195
Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs
2014-05-05 11:23:00 -04:00
Jeff Muizelaar
abac769686
Bug 945079 - Add a way to simplify regions based on the change in volume. r=mattwoodrow
2014-05-06 16:39:34 -04:00
Kartikaya Gupta
2269ea4195
Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond
2014-05-02 11:12:47 -04:00
Benoit Jacob
5004258047
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
3b123f8333
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Blair McBride
24b74a2af7
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
a53edd3151
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
49dd7d0c3f
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Maksim Lebedev
8d457861b8
Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck
2014-04-23 09:56:46 -04:00
Maksim Lebedev
d7b73f0310
Bug 996457 - Make apzc's LongPressPreventDefault test consider the touch action property. r=kats
2014-04-21 11:30:15 -04:00
Botond Ballo
bab80ee374
Bug 996070 - Fix order of arguments to EXPECT_EQ in APZ gtests. r=kats
...
--HG--
extra : source : 5b68197e4d07897060c0f7733e0de176cfa8d736
2014-04-15 17:56:05 -04:00
Botond Ballo
abcc2e6c94
Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
...
--HG--
extra : source : f168fc394c3d61b7375530d0d294d84cecc6207a
2014-04-14 14:59:20 -04:00
Ed Morley
cec725dc21
Backed out changeset 037f46cdfd80 (bug 976605)
2014-04-15 17:45:10 +01:00
Botond Ballo
1d9826f00d
Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
...
--HG--
extra : source : f299251a7c7ba65a8dca6443a1ab695a89c9230b
2014-04-14 14:59:20 -04:00
Nicolas Silva
f7668eb024
Bug 990876 - Remove TextureClientSurface. r=mattwoodrow
2014-04-14 21:29:42 +02:00
Jonathan Watt
bdf8481da2
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Nicolas Silva
d9035537ad
Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas
2014-04-10 09:24:59 +02:00
Chris Lord
6fbca10a4b
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Mike Hommey
490ed7cdd4
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
421099347a
Backed out changeset 561b9329d832 (bug 988168) for wrong attribution.
2014-04-01 13:17:50 +09:00
Jacek Caban
46abe3117f
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Kartikaya Gupta
8d1898adb3
Bug 989829 - Move all APZ prefs into gfxPrefs and move all documentation into AsyncPanZoomController.cpp. r=botond
2014-03-31 13:05:38 +08:00
Mike Hommey
084f4bf6b5
Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression
2014-03-29 16:49:19 +09:00
Kartikaya Gupta
398db3c02c
Bug 989336 - Silence 'uninteresting call' warning from mock object. r=dmitry.rojkov
2014-03-28 17:58:23 -07:00
Mike Hommey
0e1dd1fe7c
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Dmitry Rozhkov
e846267ad8
Bug 985541 - Turn GestureEventListener into Finite-state machine. r=kats,drs
2014-03-27 14:04:39 +02:00
Chadd Williams
29c628c5eb
Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
...
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Nicolas Silva
2592474737
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Botond Ballo
6ddcfa998d
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
fb8f0cf40a
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Kartikaya Gupta
f53f829010
Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond
2014-03-12 15:27:45 -04:00
Oleg Romashin
dd2dbb9b5d
Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
...
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Botond Ballo
ecc98dfd21
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
...
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Milan Sreckovic
2b8bd73400
Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard.
2014-03-04 12:26:33 -05:00
Milan Sreckovic
54894b20da
Bug 977833 - Initialize gfxPrefs so that the tests have access to preferences evaluated that way. r=bgirard
2014-02-28 12:45:27 -05:00
Kartikaya Gupta
a6da33b738
Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond
2014-02-24 19:22:45 -05:00
Maksim Lebedev
79dfc8c78d
Bug 973660 - TEST-UNEXPECTED-FAIL AsyncPanZoomController.LongPress when touch action enabled r=drs,kats
2014-02-24 01:31:18 -05:00
Benoit Jacob
0c5e25c738
Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
a75b9a2ab0
Bug 970747 - 3/6 - Make ContainerLayer::RemoveChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
0dedf049b3
Bug 970747 - 1/6 - Make ContainerLayer::InsertAfter always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00
Benoit Jacob
4aaf0bcadc
Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical
2014-02-20 16:04:13 -05:00
Ryan VanderMeulen
0cdf10592f
Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
...
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
290d9c99bb
Bug 973892 - Fix gtest bustage on a CLOSED TREE.
2014-02-19 19:29:01 +01:00
Nicolas Silva
8e8ddb33e0
Bug 973892 - part 2) Specify the moz2d backend when creating a TextureClient. r=Bas
2014-02-19 18:17:49 +01:00
Nicolas Silva
ac651bcf27
Bug 969388 - Fix locking in textures gtest. r=kats
2014-02-19 17:34:49 +01:00
Kartikaya Gupta
e5125ca5dc
Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa
2014-02-18 16:38:30 -05:00
Kartikaya Gupta
7c68ccca91
Bug 969483 - Remove stub test code that is inferior to the real code. r=BenWa
2014-02-18 16:38:29 -05:00
Doug Sherk
ca17e58e34
Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats
2014-02-13 11:24:53 -05:00
L. David Baron
37a84086a1
Backed out changeset 31bc303caa56 (bug 970578) for failing to compile on many platforms, on a CLOSED TREE.
2014-02-14 20:55:41 -08:00
Doug Sherk
6f2dc0cccc
Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats
2014-02-13 11:24:53 -05:00
Kartikaya Gupta
d1bd4a8712
Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey
2014-02-11 10:42:42 -05:00
Wes Kocher
295cf697c3
Backed out changeset bde8b5894490 (bug 965381) for APZC failures
2014-02-10 16:02:06 -08:00
Kartikaya Gupta
8fbc33c36e
Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey
2014-02-10 17:34:24 -05:00
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Doug Sherk
edc1eaf598
Bug 964421 - Fix APZC gtest to simulate some TabChild behavior. r=kats
2014-02-06 16:34:39 +01:00
Doug Sherk
c2424a51a2
Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats
2014-02-07 18:13:50 +01:00
Kartikaya Gupta
3195471b3f
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Benoit Jacob
684ce17489
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
David Zbarsky
9bdd10281d
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
bab894b2de
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
85e9d23aa9
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
Benoit Jacob
61df69f208
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Kartikaya Gupta
8681b20afc
Bug 947337 - Update APZC tests to exercise the newly introduced transform. r=botond
2014-01-22 13:37:30 -05:00
Nick Lebedev
b239177978
Bug 795567 - Part 7: Add gtests for the apzc to cover touch-action stuff. r=kats
2014-01-15 10:03:16 -05:00
Kartikaya Gupta
108d0b8ccf
Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
...
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 12:35:00 -05:00
Benoit Jacob
6660086ef4
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jonathan Kew
d38de928f8
bug 955957 - pt 1.1 - update gfxSkipChars test for revised API (no gfxSkipCharsBuilder any longer). r=roc
2014-01-10 09:42:05 +00:00
Jonathan Kew
2823eac532
bug 955957 - pt 0 - add a simple unit test for gfxSkipChars functionality. r=roc
2014-01-10 09:42:04 +00:00
Carsten "Tomcat" Book
32ea4fd540
Backed out changeset 4ab32fa7732f (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:43 +01:00
Carsten "Tomcat" Book
53856d2364
Backed out changeset e285a5fbea6c (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:07 +01:00
Jonathan Kew
97c10496ed
bug 955957 - pt 1.1 - update gfxSkipChars test for revised API (no gfxSkipCharsBuilder any longer). r=roc
2014-01-10 07:48:11 +00:00
Jonathan Kew
ac974f92d1
bug 955957 - pt 0 - add a simple unit test for gfxSkipChars functionality. r=roc
2014-01-10 07:47:53 +00:00
Kartikaya Gupta
570d06ad25
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
7a84faef28
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Ryan VanderMeulen
8c7c4ef7ab
Merge m-c to inbound on a CLOSED TREE.
2013-12-11 22:39:20 -05:00