Commit Graph

257 Commits

Author SHA1 Message Date
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