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

55 Коммитов

Автор SHA1 Сообщение Дата
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
Andi-Bogdan Postelnicu aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu 4df235170d Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
MozReview-Commit-ID: CST7fV4h20h

--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Matt Woodrow f5f8e37990 Bug 1316506 - Make Shutdown block on the manager thread so that we clear the callback pointer immediately. r=dvander 2016-11-13 16:09:35 +13:00
Matt Woodrow a9d4c7433e Bug 1316771 - Don't hold a KnowsCompositor ref on the video manager thread since we don't want it to outlive the main thread ref. r=dvander 2016-11-13 14:19:02 +13:00
Matt Woodrow ab12db3032 Bug 1316221 - Null check mDecoder in RecvShutdown. r=dvander 2016-11-11 15:03:04 +13: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
Matt Woodrow 815b1ded77 Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya 2016-11-08 15:22:37 +13:00
Matt Woodrow f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13: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 4e78a26c74 Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08: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 2dc5f495db Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 11:32:24 -08:00
Phil Ringnalda 27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Phil Ringnalda 6c8fce2953 Backed out changeset 9ee070ee6dad (bug 1315144) to get at the patch below it
CLOSED TREE

MozReview-Commit-ID: 3d5vSfNXqO4
2016-11-07 22:17:28 -08:00
Matt Woodrow f75e8a0868 Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya 2016-11-08 15:22:37 +13:00
Matt Woodrow 7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13: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 4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Matt Woodrow 3b4d158ee3 Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander 2016-11-03 09:57:15 +13:00
Matt Woodrow f884ec26e9 Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander 2016-11-03 09:55:07 +13:00
James Cheng 87cb5936b6 Bug 1313315 - Do construct CreateDecoderParams only on Windows build in VideoDecoderParent::RecvInit r=mattwoodrow
MozReview-Commit-ID: 8BQHZU8e3nV

--HG--
extra : rebase_source : 6f6546cf3e4feb67e343486991385e0485e7a288
2016-10-27 17:43:36 +08:00
Matt Woodrow 67cd537af3 Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow 52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
Matt Woodrow 6b75399b35 Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Matt Woodrow 185b59256e Bug 1300677 - Implement IsHardwareAccelerated for RemoteVideoDecoder. r=dvander 2016-10-03 21:21:07 +13:00
Matt Woodrow 8ea736c85f Bug 1300677 - Implement SetSeekThreshold for RemoteVideoDecoder. r=dvander 2016-10-03 21:20:54 +13:00
Matt Woodrow c449d80543 Bug 1305361 - Notify media if the GPU process crashes during video playback. r=dvander 2016-10-03 21:20:35 +13:00
Andi-Bogdan Postelnicu 423f5ce8c1 Bug 1301333 - mark InitIPDL as initialisation function for VideoDecoderChild. r=cpearce
MozReview-Commit-ID: 7xkkoS5Q7t
2016-09-27 15:02:43 +03:00
James Cheng f3c8ec8fd7 Bug 1305679 - Fix CID 1373350: Uninitialized members (UNINIT_CTOR) in VideoDecoderChild r=mattwoodrow
MozReview-Commit-ID: 80fdud44CmE

--HG--
extra : rebase_source : 3be759c4dedbe6b1a8cd5bee87e20721bea0b074
2016-09-27 18:29:49 +08:00
Carsten "Tomcat" Book 5bdd2876ae merge mozilla-inbound to mozilla-central a=merge 2016-09-27 11:21:25 +02:00
Matt Woodrow 204ff6e189 Bug 1305320 - Check if the PVideoDecoderManagerChild enpoint is valid before using it. r=dvander 2016-09-27 14:11:31 +13:00
Jean-Yves Avenard c169e0a2d2 Bug 1297311: P2. Remove redundant virtual keyword. r=mattwoodrow
MozReview-Commit-ID: D78jszKQrev

--HG--
extra : rebase_source : 6459fcb09401b0c4fa45304664671de636c18d5b
2016-09-26 12:33:49 +10:00
Jean-Yves Avenard dd2a72e7cc Bug 1297311: P1. Always recreate a decoder when SPS changes. r=cpearce
This allow consistency between platforms. A decoder will now always be shutdown and another one created if the video configuration changes.

MozReview-Commit-ID: 1SPzhVuBrip

--HG--
extra : rebase_source : f4d0347c4686d2f3ec0e4cf065a6c3fa36b7ea06
2016-09-26 12:28:07 +10:00
Matt Woodrow cedd3bc438 Bug 1302918 - Add PVideoBridge to share textures with the compositor. r=dvander,nical 2016-09-23 09:44:26 +12:00
Matt Woodrow d57dae2c04 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander 2016-09-21 21:25:41 +12:00
Matt Woodrow a64365e7ad Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. r=cpearce,dvander 2016-09-21 21:25:41 +12:00
Matt Woodrow 7756c8a512 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Matt Woodrow 616f2003f2 Bug 1288618 - Part 5: Add IPC serialization helpers for some media structs/enums. r=dvander 2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow 3fda415233 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
--HG--
extra : rebase_source : 54a983d25885722ec24a8c68fda54b08b2820a7c
2016-09-21 15:36:41 +12:00
Matt Woodrow bd0f6ed588 Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. r=cpearce,dvander
--HG--
extra : rebase_source : 547708bb8d2f3502f1fe89378afe8da6def42005
2016-09-21 15:36:41 +12:00
Matt Woodrow c4fcc19e35 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Matt Woodrow 8702620c57 Bug 1288618 - Part 5: Add IPC serialization helpers for some media structs/enums. r=dvander
--HG--
extra : rebase_source : 6660c2c20b5f92765fab9ce4ed2d94478d5f0e01
2016-09-21 15:36:09 +12:00
Carsten "Tomcat" Book 8cacb8ba35 Backed out changeset ddaa7f107193 (bug 1288618) 2016-09-15 16:34:12 +02:00
Carsten "Tomcat" Book b6c7ec9860 Backed out changeset f981edef8f81 (bug 1288618) 2016-09-15 16:34:00 +02:00
Carsten "Tomcat" Book 933c081175 Backed out changeset f2da4a56dc4f (bug 1288618) 2016-09-15 16:33:59 +02:00