Граф коммитов

5849 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 83d084edc5 Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond 2015-03-19 06:54:34 -04:00
Kartikaya Gupta ed6d55e8d9 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Kartikaya Gupta 4665c3c871 Bug 1144112 - When tagging a block as fast-motion with touch-action enabled, make sure to set the allowed behaviors on it as well. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta 863fc4ce21 Bug 1144112 - Rearrange code a little to simplify it. No functional changes intended. r=botond 2015-03-19 06:33:32 -04:00
Matt Woodrow 67c8f780b6 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Matt Woodrow cfd81254b3 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
--HG--
extra : rebase_source : f42bec1f1f15eb9e825643df87f3f9285dcb7189
2015-03-19 10:16:23 +13:00
Matt Woodrow a426242c6b Bug 1138967 - Part 1: Remove ISharedImage. r=nical
--HG--
extra : rebase_source : e8ddd7c6cd6d3bb76befb65fe32210ed65d22eeb
2015-03-19 10:15:38 +13:00
Botond Ballo f86693ae67 Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats
--HG--
extra : rebase_source : a4abe1d314f5203d6cbd71ab20ddfbc1aa409160
extra : source : 67cbcc11b7edf15ad022fb3840ca5cb49aa52621
2015-03-13 20:42:15 -04:00
Botond Ballo d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Nicolas Silva 82ed83119c Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Brian Birtles 90986d4597 Bug 1113425 part 2 - Apply async properties when querying the animated transform; r=mattwoodrow
In order to test off-main thread animations, we have a method that will return
the animated transform value set on a shadow layer. This method will return null
if the transform was not set by animation.

However, in some situations we temporarily clear the animation transform. For
example, when we synchronize a composite layer with its content layer, we reset
the animation transform. Then, on the next composite, we will recalculate the
animated value.

If we try to query the animated transform value in between resetting it and the
next composite we will get back null. To avoid a race condition, in
ShadowLayersUpdated after potentially clearing the animated transform, we
synchronously update the async properties on the layer transform in order
to reinstate the animated transform (so it is there when we go to query it).
However we *only* do this when the mIsTesting flag is set which is true
whenever we have the refresh driver under test control.  Furthermore, we only
do it when we already have a pending composite task to better match conditions
under regular operation.

In test_deferred_start.html, however, we specifically need to test without
putting the refresh driver under test control. As a result mIsTesting will be
false and we can encounter a race condition when querying the animated
transform.

To work around this, this patch makes us *also* update async properties
when fetching the animated transform value. The method for getting the
animated transform value is only used for testing so it should have no effect
on the regular compositing behavior.

It would seem that we could then remove the call from ShadowLayersUpdated but
doing this caused a small number of test cases to fail. In particular one test
for *opacity* in test_animations_omta.html was failing at the end of the
animation because we ended up with a stale opacity animation value on the
compositor which the synchronous update was previously removing. The test,
in this case, should be ignoring the value on the compositor but, unlike
transform, there is no flag for indicating whether or not the opacity on shadow
layers has been set by animations. As a result, this patch leaves the call that
triggers a synchronous update in test mode when updating shadow layers.
2015-03-17 18:38:12 +09:00
Ryan VanderMeulen 088204eba4 Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen 2391e7301f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva 10d43b2e93 Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Carsten "Tomcat" Book 0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Michael Wu f67a448e4b Bug 1120780 - Remove special handling for venus, r=sotaro 2015-03-17 09:38:34 +08:00
Phil Ringnalda 3bfd694773 Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
Daniel Holbert 39b1ef61b3 Bug 1143239: Add MOZ_OVERRIDE annotations in ClientReadbackLayer. r=ehsan 2015-03-13 22:59:38 -07: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
Botond Ballo bec8946634 Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. r=kats
--HG--
extra : source : c0c812c1cfb0f71ebf1ed610678195a3e53c2725
2015-03-11 13:18:52 -04:00
Nicolas Silva a8b719ecbb Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
dvander@alliedmods.net b4113c6bb2 Bug 1139845 - Fix ChromeProcessController crash when there is no document element. r=botond
--HG--
extra : rebase_source : 108a0ed9e25d46ed77b6deefa081e1e7d19cffe9
2015-03-10 13:44:00 -04:00
Mike Hommey 7182517af9 Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar 2015-03-17 10:04:19 +09:00
Botond Ballo 2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Kartikaya Gupta 3898d1b85c Bug 1142926 - Only notify the docshell of state changes when moving in and out of a transforming state across all APZCs. r=botond 2015-03-16 14:52:52 -04:00
Jeff Muizelaar 4bc2e31265 Bug 1132432. Implement AsShadowableLayer() for ClientReadbackLayers. r=roc
Without this we early exit from the loop in ShadowLayerForwarder::InsertAfter
which causes us to insert layers after the ReadbackLayers in the wrong order.

--HG--
extra : rebase_source : be70ea2551ca3468e924f1d3a2c5f320a9f54e18
2015-03-12 17:51:07 -04:00
Kartikaya Gupta 617f629233 Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Matt Woodrow 10ced0676b Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce 2015-03-12 22:14:51 +13:00
Matt Woodrow def55ce594 Bug 1131638 - Discard video frames that fail to sync. r=cpearce 2015-03-12 22:13:23 +13:00
David Anderson b0d8ea6da4 Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats) 2015-03-11 13:56:56 -07:00
Kartikaya Gupta 5116d7c5a8 Bug 1130982 - Ensure the clip rect on a multi-metrics layer belongs to the bottommost layer. r=botond
--HG--
extra : rebase_source : e4ccf248d3bd4ef4084e0077dc36a90cde4122a6
2015-03-11 13:36:12 -04:00
Kartikaya Gupta 5ee3e2e6f9 Bug 1130982 - Ensure the clip rect is appropriately adjusted for multi-framemetrics layers. r=botond
--HG--
extra : rebase_source : e5de1a95503377d40644c3b2656f64d7e643ef70
2015-02-20 16:01:41 -05:00
Nicolas Silva 4609707f8e Bug 1142143 don't early return in TextureClientD3D11::Unlock if readback fails. r=jrmuizel 2015-03-11 18:35:35 +01:00
Nicolas Silva 41031003e6 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Sotaro Ikeda 3dd206c7b8 Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical 2015-03-11 06:53:43 -07:00
Mason Chang 088905d5b9 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Kartikaya Gupta 5952cffb85 Bug 1144374 - Fix APZ code to deal with layers getting moved to another LayerManager. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta e4c4c97a3a Bug 1145089 - Update documentation for nsEventStatus_eConsumeNoDefault. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta 7f502f2f3e Bug 1036967 - Followup to fix debug logging. r=me 2015-03-20 06:58:04 -04:00
Jeff Muizelaar 840a07e091 Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h
--HG--
extra : rebase_source : e80009032ef08f660551bb6d2b33449e87e7d25e
2015-03-10 20:48:09 -04:00
Wes Kocher d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Thomas Zimmermann 7da19ec752 Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar 2015-03-10 13:44:02 +01: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
Carsten "Tomcat" Book 722fe2fc5b Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva fad35892a9 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Milan Sreckovic 76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
David Anderson 56b490ea76 Bug 1139845 - Avoid crashing in ChromeProcessController if the view is null. r=mats 2015-03-06 13:06:25 -05:00
Nicolas Silva cf56bfc315 Bug 1128934 - Call XFlush after compositing to prevent jank. r=karlt 2015-03-09 10:39:02 +01:00
Nicolas Silva 999b7333fe Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Matt Woodrow 3154f0f851 Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions 2015-03-09 16:18:32 +13:00
Jim Mathies 15e050bbb2 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 17:29:05 -06:00
Phil Ringnalda 1129ae3cbd Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies f6aaca0465 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 12:42:56 -06:00
dvander@alliedmods.net f1c8e08cdd Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net 4691a243e2 If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08:00
Mason Chang e45770707b Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange 2015-03-06 13:58:22 -08:00
Kartikaya Gupta 1a92c71cfd Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta dd716ae550 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 80edddb5f0 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 223d0204b5 Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical 2015-03-06 06:25:40 -05:00
Kartikaya Gupta 282fe7260a Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical 2015-03-06 06:25:33 -05:00
Bill McCloskey c10aee7d5e Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bas Schouten 1088f0daa0 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 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
Nicolas Silva 215a48573c 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 3a6f7137ac 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 08bb2324c7 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 cb572080de Bug 1139397 - Add bug component info for APZ code. r=botond 2015-03-05 06:04:03 -05:00
Kartikaya Gupta f48ffa41e7 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Kyle Thomas 0bfd8a37e4 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
--HG--
extra : rebase_source : f24e2cd8d9110c9a45efced8622111ae60447744
2015-03-03 18:47:00 -05:00
Sotaro Ikeda c2f7c240bb Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical 2015-03-03 08:51:05 -08:00
Mason Chang a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Sotaro Ikeda 30b9c7ce5f Bug 1132528 - Handle non existent key r=nical 2015-03-03 06:36:48 -08:00
Bas Schouten 4e7d60703f 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 f3637b988c 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 80cdf96476 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 7d1e98f0c9 Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Anthony Jones b8da0abf2f Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Botond Ballo 23539dce4e Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck
--HG--
extra : rebase_source : 8fc78cab591b0da3622b57d9d351775fca529f6e
2015-03-02 16:41:02 -05: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
Sotaro Ikeda 8bf7183124 Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Ryan VanderMeulen 3b9c7e5d7f 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 95954d0f68 Backed out changeset cfc60f8124bb (bug 1136971) for mass crashes, CLOSED TREE 2015-02-27 13:57:21 -08:00
Botond Ballo 1f905f489d Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Maksim Lebedev 4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Wes Kocher 229490154a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Kartikaya Gupta 180f17007c 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 33c914a549 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 2ccb1ce2ad 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 53bf04f021 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 b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Wes Kocher c072157008 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Mason Chang d81b5a205d 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 6eece0b459 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Wes Kocher 2c06de98be Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08:00
Benoit Girard aa69b47387 Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow 2015-02-23 18:22:06 -05:00
Mason Chang fbd9897745 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 46214bb09f Bug 1134021 - Use composed document when getting nsDOMWindowUtils from shadow DOM content. r=kats 2015-02-23 10:10:23 -08:00
Bas Schouten 42d9427fd6 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
David Anderson 6d2ea830bf Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
--HG--
extra : rebase_source : 2185c8fd0b891d5ef296b92b3af7009b2f6fa72e
2015-02-24 13:39:01 -08:00
Botond Ballo 8d8f67786e 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 71f6737b57 Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten 2015-02-20 14:58:00 -05:00
Markus Stange 6cacad51ee Bug 1132626 - Indicate component alpha on layer borders of tiled layers + tiles. r=bgirard 2015-02-12 16:02:31 -05:00
Ryan VanderMeulen a31c9ee17c Backed out changeset ca73b950e612 (bug 1134762) for B2G crashtest failures. 2015-02-20 13:22:52 -05:00
Benoit Girard 7dd2b07ba6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Masayuki Nakano 6de68f8acc 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 130ecad54e 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 d3c56bfcd0 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 847508c681 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Ryan VanderMeulen f225167cfe Backed out changeset 25a4a1aecec4 (bug 1131749) for gtest failures.
CLOSED TREE
2015-02-18 16:00:46 -05:00
Botond Ballo 8858594e1f 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 4ecb3f38df Merge mozilla-central to mozilla-inbound 2015-02-18 09:12:35 +01:00
Carsten "Tomcat" Book 90eaa85c59 Backed out changeset 333cd39619fe (bug 1121871) for causing C2 Regressions 2015-02-18 09:08:54 +01:00
Kartikaya Gupta 3b4fe0ca10 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 d08f967d7b Merge m-c to inbound. a=merge 2015-02-17 21:24:09 -05:00
Matt Woodrow 5ea802bd9a 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 907ac22584 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 1d64a10ded 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 04d545a0f6 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 965d640fdf Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book 3dec09c7a1 Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book 999f6284ec Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book 4ae7286acb Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
Jim Mathies 2cf73763f7 Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
David Anderson 5da9d866cf FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats) 2015-02-15 13:01:00 -08:00
Kartikaya Gupta 362a369841 Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -05:00
Kartikaya Gupta 328ee5bf63 Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc 2015-02-16 21:30:02 -05:00
Kartikaya Gupta 829d36ca44 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 7fd26daa4a Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Nicolas Silva b930f4e186 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +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
Nicolas Silva 0e7c4b0468 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Nicolas Silva ccd17ee47f Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro 2015-02-04 07:15:00 +01:00
Mason Chang 8818c958da 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 8c5168160d Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Matt Woodrow 01eb91c854 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
L. David Baron cc896f3f84 Bug 1156456 patch 3 - Send transform origin and perspective origin to layer in device pixels rather than CSS pixels. r=birtles 2015-04-22 19:37:04 -07:00
L. David Baron a29e961fde Bug 1156456 patch 2 - Transform the z component just like the x and y. r=birtles
I confirmed locally that this patch fixes the reftest (per reftest.list
change).
2015-04-22 19:37:04 -07:00
Botond Ballo 4d33259ec6 Bug 1151663 - New mochitest for this bug. r=kats
--HG--
extra : rebase_source : 3eb1d9265e9031f8ae988a436b2419c49d45f4d2
extra : source : 921462f2db07e14aebdfb196f9031509d16837a9
2015-04-15 16:41:09 -04:00
Botond Ballo b43a0ba6b9 Bug 1151663 - Fix reconstruction of APZC tree structure in APZ mochitests. r=kats
--HG--
extra : rebase_source : 7cc843d85bbd9dc388c22bb89d62b4ad5bc5926f
extra : source : 493ad40e3835b71aed6803d8f8bf1edaacdfd561
2015-04-20 21:41:30 -04:00
Botond Ballo a3ff2cb2b3 Bug 1151663 - Extract some helper functions for writing APZ mochitests into a separate file. r=kats
--HG--
extra : rebase_source : efb4a08fa85f1d520e2ea2ccc50efc4c2f941c85
extra : source : b515fe7b2aa7af9b675c0a429dd009985b67725e
2015-04-20 21:40:17 -04:00
Botond Ballo 3d67dfb02e Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo 65a2a78c03 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo 933c29e8b5 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 c83b7760e1 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 9fd2a6c742 Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo c059c52cea 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 286bd7e59d 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 a353f75418 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo 54b4a664cb 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 de88d60eeb 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 1da4eb2ea5 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Kartikaya Gupta e060658784 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 f5d90daf87 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 43073dd455 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta 224d1319e8 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 b3954b6850 Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Milan Sreckovic 110886d205 Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
Benoit Girard d8febb45e7 Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow 2015-02-10 11:20:36 +08:00
Nicholas Nethercote 242708cf72 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 bb55e4e8ab Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel 2015-02-09 16:35:48 +01:00
Nicolas Silva a641936067 Bug 1131038 - Use a READ_WRITE lock instead of WRITE on tile back buffers. r=sotaro 2015-02-09 15:01:11 +01:00
Phil Ringnalda 1f4eb9ac6c Merge m-c to b-i 2015-02-07 09:01:30 -08:00
Wes Kocher 1b2b74bdb6 Merge m-c to b2g-inbound a=merge CLOSED TREE 2015-02-06 14:56:32 -08:00
Kartikaya Gupta d63f26895e Bug 1078275 - Ensure the first transaction received in the compositor is treated as a first-paint. r=mstange 2015-02-06 15:16:53 -05:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Ethan Lin 83c3bcea0a Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical 2015-02-03 18:15:00 +01:00
Peter Chang 8c9ff9b5dc Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08: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
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen 79bed2d741 Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva 16f21beb1f Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva 6f4d3546bc Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Matt Woodrow 523dd220d2 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Matt Woodrow 36dcff0baf Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical 2015-02-05 14:11:46 +13:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Mason Chang 6225c3b5b8 Bug 1128691. Part 1: Consolidate vsync compositor pref checks. r=benwa 2015-02-04 13:08:31 -08:00
Nicolas Silva b6a335b1ee Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Milan Sreckovic fae33ae252 Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert 2015-02-02 17:18:29 -05:00
Boris Chiou 71a5472876 Bug 1121804 - Add websocket message listener. r=dglastonbury
1. Fix websocket listener, and implement a light-wight parser.
2. Handle the messages from clients by protobuf
3. Handle disconnection while receiving the close message.
2015-01-29 20:02:00 +01:00
David Anderson 495039e5d4 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Matt Woodrow 44031ffb78 Bug 1124543 - Handle invalidating mask changes correctly. r=roc 2015-02-04 10:39:59 +13:00
Nicolas Silva e5a9f82bde Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-03 18:16:20 +01:00
Nicolas Silva 6f049c53ff Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-03 18:14:33 +01:00
Milan Sreckovic 9ebbadf44d Bug 1081911 - Null pointer check (wallpaper) for destDTBufferOnWhite. r=mattwoodrow 2015-02-02 17:46:22 -05:00
Jeff Muizelaar c05b6e84f8 Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
James Willcox 2569544820 Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert 2015-02-02 15:25:22 -06:00
James Willcox 2a95e546b1 Bug 1100126 - Don't return garbage image data if we fail to blit the texture r=jgilbert 2015-02-02 15:25:22 -06:00
David Anderson f3d97dc62d Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug) 2015-02-02 11:28:19 -08:00
Nicolas Silva a33752f21d Backed out changeset 647991418598 because it landed before review. r=me 2015-02-02 18:39:58 +01:00
Nicolas Silva 7351af6ecb Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-02 18:18:56 +01:00
Carsten "Tomcat" Book c19dbf4984 Backed out changeset 31c0fd2b6e8d (bug 1127321) for crashes on a CLOSED TREE 2015-02-02 16:13:51 +01:00
Carsten "Tomcat" Book 6d3a79d313 Backed out changeset a1d913968a8a (bug 1127289) 2015-02-02 16:13:25 +01:00
Nicolas Silva 48a5570e3c Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-02 15:30:55 +01:00
Nicolas Silva e5867e9600 Bug 1127321 - Add missing member in TileClient copy constructor and assignment operator. r=jrmuizel 2015-02-02 15:30:32 +01:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
David Zbarsky 58a982f86b Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Milan Sreckovic bad3f736a3 Bug 1090910: Use gfxCriticalError to show painted regions if they end up in a bad state. Debug only crash, but will show up in about:support. r=benwa 2015-02-11 11:45:38 +08:00