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

2433 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta ac6cc8ce06 Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander
MozReview-Commit-ID: DFeeo2WNmhZ

--HG--
extra : rebase_source : d40bea7f726df007e3f079bb9576e1cbe17e3460
2017-01-12 17:29:42 -05:00
Kartikaya Gupta 619cad37b5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z

--HG--
extra : rebase_source : 4d340257394d1d641a208a83e93f84e1d24f9056
2017-01-12 17:29:41 -05:00
Kartikaya Gupta a6072f9a62 Bug 1330037 - Provide the CompositorBridgeParent with a CompositorOptions during construction that it holds for eternity. r=dvander
MozReview-Commit-ID: JnvNHUCF0AX

--HG--
extra : rebase_source : cf353f3397070c3133cf7eae8f0602a63f049e50
2017-01-12 17:29:41 -05:00
Kartikaya Gupta 6c437b31b9 Bug 1330037 - Introduce a CompositorOptions struct that holds options on a per-compositor basis. r=dvander
MozReview-Commit-ID: Kja7zpCDmp3

--HG--
extra : rebase_source : 001c841957ca7abe0ae3b3793b674e1986e4575c
2017-01-12 17:29:41 -05:00
Andrew McCreight cfc03f2adb Bug 1329805 - Add in bootlegged include to PAPZCTreeManager. r=kats
MozReview-Commit-ID: 1LVW7C2YgaG

--HG--
extra : rebase_source : f94012de3e58bcfa0aa5585dcfc4b0589f8950e3
2017-01-09 15:48:16 -08:00
sotaro a37ee572f4 Bug 1329300 - Update validity check of SharedPlanarYCbCrImage r=nical 2017-01-11 10:39:27 +09:00
Nicholas Nethercote da5978a842 Bug 1325234 (part 3) - Streamline nsIWidget::Show(). r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion and one other place where the check had
no useful effect (in nsCocoaWindow::HideWindowChrome()).

--HG--
extra : rebase_source : f6671e9e0e10ee18fb32f8b1c83f1e64c3d97e67
2016-12-21 11:12:54 +11:00
Nicholas Nethercote e2d9e4ed68 Bug 1325234 (part 2) - Streamline nsIWidget::Invalidate(). r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion so I decided it wasn't needed.

--HG--
extra : rebase_source : 3523d9a086cf98c40d237d777f5dd471af0d7465
2016-12-20 09:55:32 +11:00
Nathan Froyd a747eb3f2c Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
David Anderson 9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
David Anderson 9267c1b0fe Don't retain a ref to ImageContainers in ImageBridgeChild. (bug 1325784 part 6, r=nical) 2017-01-04 10:19:31 -05:00
David Anderson 61c82e108f Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson 944e8cc055 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson 2d302f4637 Move async compositable ID allocation to ImageBridgeChild. (bug 1325784 part 3, r=nical) 2017-01-04 10:19:29 -05:00
David Anderson e8efc823bc Move CompositableMap into ImageBridge. (bug 1325784 part 2, r=nical) 2017-01-04 10:19:29 -05:00
Morris Tseng 51a0af30f0 Bug 1322500 - Introducing ShareableCanvasLayer. r=sotaro
MozReview-Commit-ID: 1zVJ3HVQV9W

--HG--
rename : gfx/layers/client/ClientCanvasLayer.cpp => gfx/layers/ShareableCanvasLayer.cpp
rename : gfx/layers/client/ClientCanvasLayer.h => gfx/layers/ShareableCanvasLayer.h
2016-12-28 10:16:43 +08:00
Phil Ringnalda b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Hiroyuki Ikezoe 01f0291ee5 Bug 1311620 - Part 3: Incorporate null_t in Animatable. r=birtles
We couldn't tell the difference between a null StyleAnimationValue and
transform:none on the compositor. This was not a problem before, since we didn't
need the null StyleAnimationValue on the compositor, because the null
StyleAnimationValue have to be passed with composite:add flag, and in the case of
composite:add we just used the underlying value, i.e. we didn't use the null
value at all.
But for normal additive animations, we have to check the null StyleAnimationValue
to tell whether we are processing a missing keyframe or not.
So in this patch, Animatable can be null_t to represent the null
StyleAnimationValue, and as a result of this change, we can drop
BaseAnimationStyle.

MozReview-Commit-ID: Au41ujHgPpU

--HG--
extra : rebase_source : 71eafcf729e278d2576b9a66bb194c2a7b972f1c
2016-12-24 17:27:18 +09:00
Randall Barker 7173b111bb Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-23 09:08:39 -08:00
David Anderson 504484a456 Remove PLayer. (bug 1323539 part 2, r=mattwoodrow) 2016-12-21 10:43:47 -05:00
David Anderson 6dda51a503 Don't access ShadowableLayer from ClientLayer's destructor. (bug 1323539 part 1, r=mattwoodrow) 2016-12-21 10:43:04 -05:00
Nicholas Nethercote 3af5047314 Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 07ee29c514bf35b97d7195c53bb5b9220d1ef961
2016-12-19 20:54:16 +11:00
Nicholas Nethercote a28c8f38b2 Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Kan-Ru Chen c649cfaa98 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Sebastian Hengst 19b9d0a8d9 Backed out changeset f2dbb8f9f082 (bug 1316267) for mass bustage. r=backout on a CLOSED TREE 2016-12-13 23:14:44 +01:00
David Anderson ddc0e88224 Unconditionally disconnect PLayerChildren from ClientLayers. (bug 1316267, r=billm) 2016-12-13 13:41:13 -08:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Ryan Hunt 5730889559 Bug 1320817 - Move child process PAPZ initialization into TabChild::InitRenderingState. r=kats
--HG--
extra : rebase_source : 89b21123943a039e31e787f41c344574efe7989f
2016-11-28 22:21:27 -06:00
Hiroyuki Ikezoe b98aba8d33 Bug 1305325 - Part 14: Compose base values on the compositor. r=birtles
MozReview-Commit-ID: EWumBqQ82RT
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe 2f0d2f760a Bug 1305325 - Part 12: Pass base value for opacity or transform to the compositor. r=birtles,mstange
MozReview-Commit-ID: 3mxatMvsNKk
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe aa35d16aa2 Bug 1305325 - Part 9: Send animations even if it's paused, finished or zero playback rate. r=birtles.
If all of animations on an element are paused, finished or zero playback rate,
we don't send those animations to the compositor.
Also in this change, we send zero active duration animations to the compositor
in the same way as normail animations.

MozReview-Commit-ID: CHjv6Buy5fa
2016-12-02 15:34:13 +09:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
David Anderson 51df7c6290 Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
--HG--
extra : rebase_source : d72c9a74fdfdfbcbf0303b550404ccd7a900c88d
2016-11-29 14:07:27 -08:00
David Anderson 6c16f3cb3e Ensure an ordering between cross-process compositor association and PLayerTransaction construction. (bug 1316632, r=mattwoodrow) 2016-11-28 14:32:20 -08:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Wes Kocher 55672c4925 Backed out changeset 2259891dc1e8 (bug 1319557) for build bustage CLOSED TREE a=backout 2016-11-28 12:20:51 -08:00
David Anderson 7cb46ac92e Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
--HG--
extra : rebase_source : 1e820d463260437a97b14141e0c2c1f38261f59c
2016-11-28 11:43:41 -08:00
Matt Woodrow 71a5f6f9cb Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
--HG--
extra : rebase_source : a8db3fa549dada3925ad3b9c7ab81f4aaa280ffa
2016-11-24 18:11:31 +13:00
Matt Woodrow 1985af695f Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
--HG--
extra : rebase_source : de87afc8015649fb5f4a7c4da5f4dc49e19f3d85
2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book bd8c3fad15 Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : cc55092faa1331377fa988014566b0df8227ea0f
2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book 831c1e052a Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Carsten "Tomcat" Book 6b19be2eab Backed out changeset f4f8dc2931aa (bug 1319626) 2016-11-24 17:02:22 +01:00
Matt Woodrow 3f4d5385f0 Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange 2016-11-24 18:11:31 +13:00
Matt Woodrow 15af88120a Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow b6a9ac8a28 Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten 56b7dd703d Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Nicolas Silva 36605f9e7b Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Kartikaya Gupta a1f0344c9b Bug 1319508 - Ensure that we don't leave dangling pointers to CompositorBridgeParent in LayerTreeState instances. r=dvander
MozReview-Commit-ID: 3dxZ35uIQu

--HG--
extra : rebase_source : ea4f5a11c6f5bcbcee0c0d8d751ba7289bbf61c9
2016-11-22 14:38:37 -05:00