Commit Graph

2463 Commits

Author SHA1 Message Date
sotaro
647d847ae8 Bug 1335680 - Remove UseOverlaySource r=nical 2017-02-03 10:11:27 +09:00
David Anderson
436f68228a Don't let stale async compositables break main-thread paint transactions. (bug 1331548 part 1, r=mattwoodrow) 2017-02-01 23:51:51 -08:00
Kartikaya Gupta
620e0a72d2 Bug 900745 - Remove bogus fallback codepath. r=mattwoodrow
MozReview-Commit-ID: GnGZFFRRTgE

--HG--
extra : rebase_source : 1e07e495cfb00caca340fa3c94d1f7d24844b390
2017-01-28 09:06:31 -05:00
Kartikaya Gupta
f41ed85d6d Bug 1333892 - Remove unused IPC message leftover from B2G days. r=kanru
MozReview-Commit-ID: 2qBq6WjzbcO
2017-01-25 16:21:12 -05:00
Kartikaya Gupta
1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Kartikaya Gupta
40947fdc4f Bug 1333503 - Remove some dead code relating to overfill calculation. r=mchang,mrbkap
MozReview-Commit-ID: HiT0jJynpyC
2017-01-25 14:03:36 -05:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
David Anderson
9497d97e91 Send SimpleLayerAttributes separately from CommonLayerAttributes. (bug 1332567 part 6, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson
29780e1c3d Move OpSetLayerAttributes out of the Edit vector. (bug 1332567 part 4, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson
3969e61b01 Lump Paint operations separately from Edit operations. (bug 1332567 part 3, r=mattwoodrow) 2017-01-24 16:41:17 -08:00
David Anderson
73a779e7f2 Don't use TransformMatrix in CommonLayerAttributes. (bug 1332567 part 2, r=mattwoodrow) 2017-01-24 16:41:17 -08:00
David Anderson
baf1f78d98 Move ScrollDirection to LayersTypes.h and make it a proper enum. (bug 1332567 part 1, r=kats) 2017-01-24 16:41:17 -08:00
Wes Kocher
7d8bdef2a2 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BS43zgtFrsm
2017-01-24 16:10:57 -08:00
David Anderson
db4c9b67ef Ignore paints when a content device reset has not yet been acknowledged. (bug 1333329 part 3, r=rhunt)
--HG--
extra : rebase_source : 689b0a02d35a2cc145f4e207fa7a34994ca3b727
2017-01-24 11:23:12 -08:00
David Anderson
bcf2e3966b Use a simpler mechanism for tracking which ref layers need device resets. (bug 1333329 part 1, r=rhunt)
--HG--
extra : rebase_source : aa50c6c250b4815cd22b8616546acd6c55aa72ce
2017-01-24 11:23:11 -08:00
karo
7d701563ea Bug 1332952 - Implement GetAsSourceSurface() for SharedRGBImage. r=mattwoodrow
MozReview-Commit-ID: E9zl5FchvZG

--HG--
extra : rebase_source : 416fb6ff91d9f76b2632b64f527d1c86db8dd53c
2017-01-23 11:06:17 +13:00
Nicholas Nethercote
12647a7223 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.

--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Randall Barker
f0c7845480 Bug 1328752 - part 1, Add UiCompositorController r=dvander 2017-01-20 11:01:29 -08:00
Kevin Chen
7d87f57046 Bug 1160157 - Add gfxCriticalError for failing to create D3D11 device in content side. r=milan
--HG--
extra : rebase_source : a4c69a29974f659ba3236c062c7c2603a54e291d
2017-01-19 22:19:00 +08:00
David Anderson
22504df44c Fix ImageBridgeChild memory tracking errors on shutdown. (bug 1323957 part 6, r=mattwoodrow)
--HG--
extra : rebase_source : 58a8df18d964cbe1b216cc7e8dbceb39760e632e
2017-01-17 18:47:07 -08:00
David Anderson
3d7a9b6ee1 Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 8b2a3826a08b14065d8ef3474eddc38d592a4f82
2017-01-17 18:47:07 -08:00
David Anderson
065c15518d Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 1c4d789471a188c12bc9450c63ebaecc1b55c122
2017-01-17 18:47:06 -08:00
David Anderson
89d48ae344 Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 2e5b108e68c2774f61776481ad9c4fa558923e38
2017-01-17 18:47:06 -08:00
David Anderson
0c26150431 Move EditReply handling from ClientLayerManager to ShadowLayerForwarder. (bug 1323957 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 51e84150429e3eb5cdeb3ca7fb65051691ed421e
2017-01-17 18:47:05 -08:00
David Anderson
c74b40959d Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 4ff77f95ef818f59edb3d3b167548d84773a416f
2017-01-17 18:47:05 -08:00
Kartikaya Gupta
92c0be81ed Bug 1331389 - Add some documentation for various protocols. r=dvander
MozReview-Commit-ID: J6NRYQLiy3q

--HG--
extra : rebase_source : be12baf8afc5233ca4a80d1e130ed6de72e54e86
2017-01-16 10:51:43 -05:00
sotaro
9c5080bd64 Bug 1329432 - Add ImageContainerListener r=nical 2017-01-14 07:51:40 +09:00
Carsten "Tomcat" Book
d69139ac79 merge mozilla-inbound to mozilla-central a=merge 2017-01-13 10:20:25 +01:00
sotaro
2df50d5706 Bug 1307458 - Update LayerManager pointer of all Layers of LayerTransactionParent r=mattwoodrow 2017-01-13 10:15:49 +09:00
David Anderson
3651b67998 Don't double-copy the Edit list when forwarding transactions. (bug 1330531, r=mattwoodrow)
--HG--
extra : rebase_source : 84d431eb29185fc10abc6c743ee81067ec3e7c61
2017-01-12 09:49:30 -08:00
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