Commit Graph

5686 Commits

Author SHA1 Message Date
Kartikaya Gupta
fe14f0752a Bug 1139575 - Reset velocity on axes when going from a pan to a pinch. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
6efd73ac8f Bug 1137875 - Clear shared frame metrics objects associated with a PLayerTransaction when it is destroyed. r=nical 2015-03-06 06:26:34 -05:00
Kartikaya Gupta
f914693c64 Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical 2015-03-06 06:25:40 -05:00
Kartikaya Gupta
b749c3ff55 Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical 2015-03-06 06:25:33 -05:00
Bill McCloskey
c5baec6e18 Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bas Schouten
991c98d30b Bug 1138934: Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical
This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.
2015-03-06 02:37:12 +01: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
Nicolas Silva
710987d95e Bug 1125848 - Prevent PCompositorChild messages to be sent after the actor started shutting down. r=sotaro 2015-03-05 19:03:16 +01:00
Jim Mathies
96dfcec058 Bug 1133237 - When transitioning from a shadow layer tree that has plugins to a tree that does not, make sure the old plugins get hidden properly. r=roc 2015-03-04 07:46:15 -06:00
Kartikaya Gupta
13477d2616 Bug 1139033 - Don't schedule an unnecessary repeat transaction when doing a non-progressive paint. r=nical 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
3b0ff12503 Bug 1139397 - Add bug component info for APZ code. r=botond 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
ec9f746ca0 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Kyle Thomas
a966389139 Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow 2015-03-03 18:47:00 -05:00
Sotaro Ikeda
19e51a0a3e Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical 2015-03-03 08:51:05 -08:00
Mason Chang
b35b505222 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Sotaro Ikeda
02956da7c1 Bug 1132528 - Handle non existent key r=nical 2015-03-03 06:36:48 -08:00
Bas Schouten
db8868b55e Bug 1131370: Try to ignore transient errors and increase D3D11 timeout as well. r=milan 2015-03-03 14:28:50 +01:00
Kartikaya Gupta
920c3eb2ce Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
618525bef1 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Botond Ballo
4d1c288a6b Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Anthony Jones
cb8ffc5ee9 Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Botond Ballo
cec8c47e17 Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck 2015-03-02 16:41:02 -05: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
Sotaro Ikeda
f37caf573f Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Ryan VanderMeulen
7637933d6b Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
CLOSED TREE
2015-03-02 12:34:39 -05:00
Wes Kocher
58075dba8e Backed out changeset cfc60f8124bb (bug 1136971) for mass crashes, CLOSED TREE 2015-02-27 13:57:21 -08:00
Botond Ballo
e0df27e4e7 Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Maksim Lebedev
f389e8e2b3 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Wes Kocher
64d28ca0a8 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Kartikaya Gupta
9e9b222c44 Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
dab7e7b16a Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
b204ae6120 Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
98767506c5 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Benoit Girard
cd2be197a6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Wes Kocher
788d1b8da6 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Mason Chang
1470e52e97 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Carsten "Tomcat" Book
d90f5b71e1 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Wes Kocher
339dffd42e Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08:00
Benoit Girard
c4fc215cad Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow 2015-02-23 18:22:06 -05:00
Mason Chang
888a2f246b Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
William Chen
af5cd81ab7 Bug 1134021 - Use composed document when getting nsDOMWindowUtils from shadow DOM content. r=kats 2015-02-23 10:10:23 -08:00
Bas Schouten
a5991e6be7 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
David Anderson
cf720c0a8e Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow) 2015-02-24 13:39:01 -08:00
Botond Ballo
271bb512e3 Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Milan Sreckovic
2d64afaf60 Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten 2015-02-20 14:58:00 -05:00
Markus Stange
651ef33740 Bug 1132626 - Indicate component alpha on layer borders of tiled layers + tiles. r=bgirard 2015-02-12 16:02:31 -05:00
Ryan VanderMeulen
beb474dbcf Backed out changeset ca73b950e612 (bug 1134762) for B2G crashtest failures. 2015-02-20 13:22:52 -05:00
Benoit Girard
8a339cf728 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Masayuki Nakano
be3248be75 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Benoit Girard
09f62b1cd4 Bug 1113435 - Only cull the fully rendered region when doing progressive draw. r=jrmuizel
--HG--
extra : rebase_source : 063a04e728be38aaf2dc812ead3957c001e61e64
2015-02-18 14:51:05 -05:00
Benoit Girard
36b4b0736c Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 6934c2a60480b645c123f6788eb8e3b57e24911b
2015-02-17 10:54:48 -05:00
Botond Ballo
2f49c99bef Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Ryan VanderMeulen
705ef9acc1 Backed out changeset 25a4a1aecec4 (bug 1131749) for gtest failures.
CLOSED TREE
2015-02-18 16:00:46 -05:00
Botond Ballo
df5f62d6cf Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Carsten "Tomcat" Book
ef5fa9a320 Merge mozilla-central to mozilla-inbound 2015-02-18 09:12:35 +01:00
Carsten "Tomcat" Book
599d367405 Backed out changeset 333cd39619fe (bug 1121871) for causing C2 Regressions 2015-02-18 09:08:54 +01:00
Kartikaya Gupta
9fe7f9b5c0 Back out bug 1121871 as it is an improper fix and creates regressions like bug 1132741. r=BenWa (on IRC) 2015-02-17 16:30:53 -05:00
Ryan VanderMeulen
d4c1289c37 Merge m-c to inbound. a=merge 2015-02-17 21:24:09 -05:00
Matt Woodrow
9401a149ce Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel 2015-02-18 13:35:30 +13:00
Ryan VanderMeulen
266123e078 Backed out changeset 820649ecb0fa (bug 1113435) and changeset 4d049a07f749 (bug 1085223) for Android reftest failures.
CLOSED TREE
2015-02-17 16:14:50 -05:00
Benoit Girard
a898c86193 Bug 1113435 - Don't cull for layers being drawn progressively. r=jrmuizel
--HG--
extra : rebase_source : 775d70542a94bd5e9bd137aac7507699e6fb581d
2015-02-17 11:53:51 -05:00
Benoit Girard
3f17a8109e Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 8ba1967648ee48c8a7791125bbac697e4c11b63c
2015-02-17 10:54:48 -05:00
Carsten "Tomcat" Book
e121494bac Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book
f31584a15c Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book
a3298e7ebb Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book
ad716b71e4 Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
Jim Mathies
c94fc8510c Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
David Anderson
024881b68a FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats) 2015-02-15 13:01:00 -08:00
Kartikaya Gupta
1263c2a53c Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -05:00
Kartikaya Gupta
0f981d0fa8 Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
a2d821499e Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
1f5d00564d Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Nicolas Silva
d0462d286c Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +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
Nicolas Silva
86cda7d880 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Jeff Gilbert
ea33309bb2 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Nicolas Silva
fd7dd096b2 Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro 2015-02-04 07:15:00 +01:00
Mason Chang
ec9d8d1759 Bug 1130681. Part 1: Add unlock back to ClientTiledLayerBuffer for causing emulator R14 intermittent but doesn't seem necessary. r=jrmuizel 2015-02-13 16:36:46 +08:00
Mason Chang
14d3259912 Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Matt Woodrow
1f8d1ab89b Bug 1127925 - Lazily open shared handles in DXGITextureHostD3D11 to avoid holding references to textures that might not be used. r=jrmuizel 2015-02-13 14:23:43 +13:00
Botond Ballo
898f44f6bb Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
a3f5ee9fb5 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
cd91ae9e1b Bug 1127066 - Complain loudly if APZEventState is used with a widget that doesn't support weak references. r=kats
--HG--
extra : source : e4337bd21059a0ecbffa5d0d567dd9a8f0a3bcd1
2015-02-09 14:10:08 -05:00
Botond Ballo
74667af216 Bug 1127066 - Use a weak reference to the widget in APZEventState to avoid reference cycles. r=kats
--HG--
extra : source : fa8926018068e8de68b0b9c44ad0bdc87acf2033
2015-02-09 14:09:20 -05:00
Botond Ballo
3990a194be Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
2a72a77d84 Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
412107100c Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo
98957944f7 Bug 1127066 - Factor out code common to APZCCallbackHelper::UpdateRootFrame and UpdateSubFrame. r=kats
--HG--
extra : source : fe1ea639cdfde510a2bb51d2f113fb14809b6b43
2015-01-23 18:54:19 -05:00
Matt Woodrow
665e47aabe Bug 1131808 - Avoid trying to allocate a buffer for 0 sized YCbCr images. r=nical 2015-02-12 11:23:56 +13:00
Carsten "Tomcat" Book
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Kartikaya Gupta
1d240ac9cc Bug 1125422 - Read the force-dispatch-to-content flag from the layer tree and use it in the APZ code. r=botond 2015-02-10 16:28:07 -05:00
Kartikaya Gupta
566f0c5f51 Bug 1125422 - Add a flag on ContainerLayer to indicate when the entire subtree of layers needs to be in the dispatch-to-content region. r=roc 2015-02-10 16:28:07 -05:00
Benoit Girard
81bb5d08d8 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta
d5c9c04107 Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond 2015-02-10 08:24:23 -05: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
Milan Sreckovic
dd5cbcf0a9 Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
Benoit Girard
af82915f3d Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow 2015-02-10 11:20:36 +08:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Bas Schouten
555ec83c49 Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel 2015-02-09 16:35:48 +01:00