Matt Woodrow
35d15c14ea
Bug 1316221 - Force VideoBridge shutdown to happen before the compositor thread is destroyed. r=dvander
2016-11-11 15:02:32 +13:00
Matt Woodrow
5fa7fe9c21
Bug 1316221 - Make sure we call Close on VideoBridgeChild before shutting down. r=dvander
2016-11-11 15:01:36 +13:00
Ryan Hunt
f7a17871f2
Bug 1316479 - Move CrossProcessCompositorBridgeParent to its own file. r=dvander
2016-11-10 12:05:06 -06:00
David Anderson
43840df0f1
Add missing CompositableClient::IsConnected checks to ShadowLayers. (bug 1316419, r=mattwoodrow)
2016-11-09 18:26:48 -08:00
Carsten "Tomcat" Book
a3d6de70fa
merge mozilla-inbound to mozilla-central a=merge
2016-11-09 16:38:04 +01:00
Wes Kocher
e75b4362b3
Merge m-c to autoland, a=merge
2016-11-08 14:09:10 -08:00
Matt Woodrow
ffa2a6f701
Bug 1315584 - Remove picture rect assertion in LayerTransactionParent since it can fail if the texture isn't available. r=dvander
2016-11-08 15:26:42 +13:00
Matt Woodrow
2d13f252e2
Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander
2016-11-08 15:24:36 +13:00
Kartikaya Gupta
281dba6afe
Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
...
MozReview-Commit-ID: CPTCQgIl5ad
2016-11-08 10:42:19 -05:00
David Anderson
afd0c6dc86
Don't attach shadowable layers if IPDL fails to construct an actor. (bug 1314349, r=mattwoodrow)
2016-11-06 18:50:15 -08:00
David Anderson
23238d56b5
Remove bogus assertion in LayerTransactionChild::Destroy. (bug 1314408, r=mattwoodrow)
2016-11-06 18:49:03 -08:00
Matt Woodrow
5a1bb71970
Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical
2016-11-04 13:28:28 +13:00
Matt Woodrow
efc443dc07
Bug 1300676 - Part 2: Expose SurfaceDescriptor helpers. r=nical
2016-11-04 13:28:28 +13:00
Matt Woodrow
463bd96401
Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander
2016-11-04 13:28:28 +13:00
Matt Woodrow
2cdb3a11b4
Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander
2016-11-03 09:55:07 +13:00
Edwin Flores
b7165d33ad
Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow
2016-11-02 10:55:07 +00:00
David Anderson
0ab98f70a6
Ensure that CompositorBridgeChild retains an IPDL ref while owning a Transport. (bug 1314520, r=mattwoodrow)
2016-11-08 15:43:07 -08:00
Bill McCloskey
ce9b0838cc
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Bill McCloskey
20d088cbed
Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
...
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 15:22:42 -08:00
Ryan Hunt
b0f2285ebd
Bug 1313199 - Allow sending reset compositor messages over IPDl. r=dvander
2016-11-06 12:56:53 -06:00
Wes Kocher
9ae70893b6
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
cb1c1ac732
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 11:32:30 -08:00
Bill McCloskey
1bebd37d0c
Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
...
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 11:32:29 -08:00
David Anderson
35fa218998
Remove PLayer. (bug 1323539 part 2, r=mattwoodrow)
2016-12-21 10:43:47 -05:00
David Anderson
bcbc238dbf
Don't access ShadowableLayer from ClientLayer's destructor. (bug 1323539 part 1, r=mattwoodrow)
2016-12-21 10:43:04 -05:00
David Anderson
e1390681df
Handle failed SendPCompositable. (bug 1313770 part 4, r=mattwoodrow)
2016-10-28 15:48:35 -07:00
David Anderson
d71f8c5d82
Handle failed SendPImageContainerConstructor. (bug 1313770 part 3, r=mattwoodrow)
2016-10-28 15:48:35 -07:00
David Anderson
a254fbae06
Make CreateImageClient fallible. (bug 1313770 part 2, r=mattwoodrow)
2016-10-28 15:48:35 -07:00
Matt Woodrow
3d05c8f3a5
Bug 1313281 - Part 6: Remove FenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
dc1055bb91
Bug 1313281 - Part 5: Remove NeedsFenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
3c78aeff18
Bug 1313281 - Part 3: Remove Fence from TimedTexture. r=sotaro
2016-10-27 21:00:20 +13:00
Matt Woodrow
b4e0f72e10
Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro
2016-10-27 20:59:50 +13:00
Matt Woodrow
119dd875cb
Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro
2016-10-27 20:59:23 +13:00
Matt Woodrow
16f8a8bdeb
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
David Anderson
21c1b65c04
Don't query gfxPlatform for the vsync rate in CompositorBridgeParent. (bug 1312835, r=mattwoodrow)
2016-10-25 16:25:52 -07:00
Kartikaya Gupta
063485e922
Bug 1312059 - Stop passing the CompositorBridgeParent into the APZCTreeManager; instead the necessary subinterfaces can be obtained via the LayerTreeState. r=botond
...
MozReview-Commit-ID: 3N8vC3l3jfV
2016-10-24 15:12:57 -04:00
Kartikaya Gupta
bf4dd7ec1d
Bug 1312059 - Extract a MetricsSharingController interface for the APZC code to use when dealing with shared frame metrics. r=botond
...
MozReview-Commit-ID: 9b2Vfamr1XT
2016-10-24 15:12:55 -04:00
Kartikaya Gupta
e687f4f291
Bug 1312059 - Extract a CompositorController interface for the APZ code to request composites and do other compositor-related things. r=botond
...
MozReview-Commit-ID: Ja9NGu2oWPN
2016-10-24 15:12:53 -04:00
David Anderson
9a64f712ef
Fix assert deallocating shmems on GPU process restart. (bug 1311715, r=mattwoodrow)
2016-10-24 01:05:23 -07:00
GuanWen-Chen
3db0951a4f
Bug 1292273 - Add logs to record the failure of compositor creation. r=dvander
2016-10-22 20:28:00 -04:00
Ethan Lin
95ce8b90a3
Bug 1310897 - Use ShadowLayerForwarder::IPCOpen() to replace other mShadowManager checks in ShadowLayerForwarder. r=nical
2016-10-17 20:35:00 -04:00
Wes Kocher
9fa9a14d96
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: BS43zgtFrsm
2017-01-24 16:10:57 -08:00
David Anderson
94fb0ef50b
Ignore paints when a content device reset has not yet been acknowledged. (bug 1333329 part 3, r=rhunt)
2017-01-24 11:23:12 -08:00
David Anderson
dd60ba2d92
Use a simpler mechanism for tracking which ref layers need device resets. (bug 1333329 part 1, r=rhunt)
2017-01-24 11:23:11 -08:00
karo
ec5544f2b0
Bug 1332952 - Implement GetAsSourceSurface() for SharedRGBImage. r=mattwoodrow
...
MozReview-Commit-ID: E9zl5FchvZG
2017-01-23 11:06:17 +13:00
Hiroyuki Ikezoe
b3c188145a
Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
...
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness. In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.
MozReview-Commit-ID: 1i7YTWboira
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe
c2817650ed
Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
...
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more. But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync. This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).
Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.
MozReview-Commit-ID: IVE2IFfNgm0
2016-10-14 19:14:01 +09:00
Brian Hackett
37472b396c
Bug 1303891 - Convert Transaction::mMutants to a PLDHashTable, r=jmuizelaar.
2016-10-13 09:27:58 -06:00
Ethan Lin
f7cafba176
Bug 1260517 - Check HasShadowManager in the ShadowLayerForwarder::EndTransaction. r=nical
2016-10-12 03:04:00 +02:00
Sotaro Ikeda
14833ac920
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00