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
Sotaro Ikeda
d513b931e0
Bug 1318780 - Split CompositorVsyncScheduleOwner to its own file r=kats
...
--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
2016-11-20 17:14:32 -08:00
Ryan Hunt
b77ddc9712
Bug 1318045 - Remove unused includes in CrossProcessCompositorBridgeParent r=bas
...
--HG--
extra : rebase_source : 9901759d587c3c837345dac582439c5cb3f8e723
2016-11-18 12:16:37 -06:00
Ryan Hunt
37985533cd
Bug 1318045 - Fix unified build errors from moving CrossProcessCompositorBridgeParent r=bas
...
--HG--
extra : rebase_source : 8198c950bfba23980361ba4d45e46bda42c253f5
2016-11-18 12:12:25 -06:00
Sotaro Ikeda
133e28473a
Bug 1317893 - Split CompositorVsyncScheduler to own file r=kats
...
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
2016-11-18 02:37:04 -08:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
David Anderson
2c5e03e62e
Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt)
2016-11-14 11:47:01 -08:00
Matt Woodrow
77e78d9558
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
808b23cf14
Bug 1316221
- Make sure we call Close on VideoBridgeChild before shutting down. r=dvander
2016-11-11 15:01:36 +13:00
Ryan Hunt
f72009a953
Bug 1316479 - Move CrossProcessCompositorBridgeParent to its own file. r=dvander
...
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.h
extra : rebase_source : 4c05587e311d2e6ecd49e8831abdb647967971e7
2016-11-10 12:05:06 -06:00
David Anderson
0d0c688b90
Add missing CompositableClient::IsConnected checks to ShadowLayers. (bug 1316419, r=mattwoodrow)
2016-11-09 18:26:48 -08:00
Carsten "Tomcat" Book
846adaea6c
merge mozilla-inbound to mozilla-central a=merge
2016-11-09 16:38:04 +01:00
Wes Kocher
0330db10eb
Merge m-c to autoland, a=merge
2016-11-08 14:09:10 -08:00
Matt Woodrow
1d5209319c
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
5b78e0fd3c
Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander
2016-11-08 15:24:36 +13:00
Kartikaya Gupta
c19a47d368
Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
...
MozReview-Commit-ID: CPTCQgIl5ad
--HG--
extra : rebase_source : dabc583be1de1700c35444e517070455349ea9b8
2016-11-08 10:42:19 -05:00
David Anderson
718c1c97fe
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
4558802c65
Remove bogus assertion in LayerTransactionChild::Destroy. (bug 1314408, r=mattwoodrow)
2016-11-06 18:49:03 -08:00
Matt Woodrow
6dad1a961a
Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical
2016-11-04 13:28:28 +13:00
Matt Woodrow
fa682784c8
Bug 1300676 - Part 2: Expose SurfaceDescriptor helpers. r=nical
2016-11-04 13:28:28 +13:00
Matt Woodrow
4f998dbe2b
Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander
2016-11-04 13:28:28 +13:00
Matt Woodrow
9e56f22190
Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander
2016-11-03 09:55:07 +13:00
Edwin Flores
12c57c38dd
Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow
2016-11-02 10:55:07 +00:00
David Anderson
d4f66fe756
Ensure that CompositorBridgeChild retains an IPDL ref while owning a Transport. (bug 1314520, r=mattwoodrow)
...
--HG--
extra : rebase_source : 5b17c993e9544864928d72df6c9994e63224ea3c
2016-11-08 15:43:07 -08:00
Bill McCloskey
b47737ed9f
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
f8bd2627a7
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
fec86bdccd
Bug 1313199 - Allow sending reset compositor messages over IPDl. r=dvander
...
--HG--
extra : rebase_source : 6d949e758d35e40702aa8e8022a6482ed7dbe280
2016-11-06 12:56:53 -06:00
Wes Kocher
4b3d16605a
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
35fc224b71
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
0991523235
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
4ad2f45f29
Handle failed SendPCompositable. (bug 1313770 part 4, r=mattwoodrow)
...
--HG--
extra : rebase_source : 15bbe1c0bd61f3f8698ab296fc52d676e758ea38
2016-10-28 15:48:35 -07:00
David Anderson
a5058127f9
Handle failed SendPImageContainerConstructor. (bug 1313770 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 29089aa04fc2838c649ba92732cecacb62f8505f
2016-10-28 15:48:35 -07:00
David Anderson
76322c8fc4
Make CreateImageClient fallible. (bug 1313770 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 1dcf94cb15995e7ca8b3c4c5901562dbc4959243
2016-10-28 15:48:35 -07:00
Matt Woodrow
5ab6ff0b97
Bug 1313281 - Part 6: Remove FenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
6250728c9c
Bug 1313281 - Part 5: Remove NeedsFenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
cd3c3b3268
Bug 1313281 - Part 3: Remove Fence from TimedTexture. r=sotaro
2016-10-27 21:00:20 +13:00
Matt Woodrow
db63ec0ace
Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro
2016-10-27 20:59:50 +13:00
Matt Woodrow
bda6eacad9
Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro
2016-10-27 20:59:23 +13:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
David Anderson
d0a9a85fba
Don't query gfxPlatform for the vsync rate in CompositorBridgeParent. (bug 1312835, r=mattwoodrow)
...
--HG--
extra : rebase_source : 152bb6f146dc452d239fa7a90fcdcda3311d52de
2016-10-25 16:25:52 -07:00
Kartikaya Gupta
3af5c36a88
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
98051ec8f2
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
dbedac3125
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
75f2e81dae
Fix assert deallocating shmems on GPU process restart. (bug 1311715, r=mattwoodrow)
2016-10-24 01:05:23 -07:00
GuanWen-Chen
b8e5996416
Bug 1292273 - Add logs to record the failure of compositor creation. r=dvander
2016-10-22 20:28:00 -04:00
Ethan Lin
f8f2b11516
Bug 1310897 - Use ShadowLayerForwarder::IPCOpen() to replace other mShadowManager checks in ShadowLayerForwarder. r=nical
2016-10-17 20:35:00 -04:00
Hiroyuki Ikezoe
949de6422d
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
--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe
d8ec730df8
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
--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00