Commit Graph
41 Commits
Author SHA1 Message Date
Jean-Yves Avenard 4550aca7f9 Bug 1397307 - P9. Pass video frame rate to RemoteVideoDecoder and GPU process. r=mattwoodrow
MozReview-Commit-ID: BDSO332f3B6
2017-09-12 18:29:40 +02:00
Alastor Wu fe219333b2 Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: 9aKyYftBnUo
2017-09-13 15:37:24 +08:00
Sebastian Hengst 6d3fde8ef3 Backed out changeset 6dade48b3326 (bug 1397141) 2017-09-13 09:25:39 +02:00
Alastor Wu 5cfec15d6f Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: CuBZOtjh4g2
2017-09-13 15:05:59 +08:00
Jean-Yves Avenard ebb61add07 Bug 1396643: Fix compilation when warning as error is set. r=cpearce
MozReview-Commit-ID: Ar2Ttk5hkGD
2017-09-04 21:03:57 +02:00
Jean-Yves Avenard 978146db5b Bug 1394591 - P5. Remove need for atomic members. r=mattwoodrow
Instead set members after initialising the child decoder, and only ever access the child decoder on the same thread.

MozReview-Commit-ID: 4mfhVWbNLEu
2017-09-01 22:51:20 +02:00
Jean-Yves Avenard bafe373bb2 Bug 1394591 - P4. Pass decoder description to RemoteVideoDecoder. r=mattwoodrow
This makes it easier to determine the actual decoder in use within the GPU process.

MozReview-Commit-ID: 5TF6AsyXYWW
2017-09-01 18:22:55 +02:00
Sebastian Hengst 6c6b89b497 Backed out changeset b741cbca23bd (bug 1394591) 2017-09-04 00:07:02 +02:00
Sebastian Hengst 01dba605e4 Backed out changeset ba1a3d16916b (bug 1394591) 2017-09-04 00:06:56 +02:00
Jean-Yves Avenard 9c356ef384 Bug 1394591 - P5. Remove need for atomic members. r=mattwoodrow
Instead set members after initialising the child decoder, and only ever access the child decoder on the same thread.

MozReview-Commit-ID: 4mfhVWbNLEu
2017-09-01 22:51:20 +02:00
Jean-Yves Avenard 7fa6943836 Bug 1394591 - P4. Pass decoder description to RemoteVideoDecoder. r=mattwoodrow
This makes it easier to determine the actual decoder in use within the GPU process.

MozReview-Commit-ID: 5TF6AsyXYWW
2017-09-01 18:22:55 +02:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
David Anderson bbcefac4db Don't use out-of-process video decoding with software compositors. (bug 1356448, r=mattwoodrow) 2017-05-17 00:40:56 -07:00
Jean-Yves Avenard 3366dcbc57 Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Sebastian Hengst 71be4ca6aa Backed out changeset f508a675e8dc (bug 1339748) 2017-02-18 17:36:21 +01:00
Jean-Yves Avenard ebfd56f8ba Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Jean-Yves Avenard d6b004c4a8 Bug 1319987: P5. Promisify MediaDataDecoder. r=cpearce,gerald,mattwoodrow,snorp
This is a big change, and unfortunately impossible to break down with independently functional commits.

There are four main changes being applied here:

* Code cleanup, including making all MediaDataDecoder related code mozilla coding style compliant
* Make MediaDataDecoder use MozPromise
* Making Flush and Shutdown processes fully asynchronous
* Fixing few data races encountered across the code, in particular in the Android PDM

MozReview-Commit-ID: DpiZucGofJT
2017-01-26 13:56:46 +01:00
Gerald Squelart c4054e5f67 Bug 1321051 - Override Supports(TrackInfo) in RemoteDecoderModule - r=jya
With e10s enabled, RemoteDecoderModule is used as a proxy, but it was not
overriding Supports(TrackInfo), meaning that some of the extra information
carried in TrackInfo (e.g.: resolution) was lost when falling back to
SupportsMimeType(nsACString). So further along, WMFDecoderModule was not able
to reject too-high resolutions.

Overriding Supports(TrackInfo) to just forward the TrackInfo data is enough to
re-enable resolution checks on Windows.

MozReview-Commit-ID: 3OsPmILItH7
2017-02-01 12:18:59 +11:00
Matt Woodrow e233b521bc Bug 1329386 - Fallback to WMF decoding if the OOP decoder fails. r=jya 2017-01-19 12:35:44 +13:00
Matt Woodrow 9d784ba953 Bug 1319190 - Make sure we release the last VideoDecoderChild ref on the video manager thread. r=dvander 2016-11-22 15:51:18 +13:00
Matt Woodrow 65d8077ca0 Bug 1316506 - Make RemoteVideoDecoder::Flush synchronous. r=billm 2016-11-22 15:50:46 +13:00
Matt Woodrow b7cb736fe2 Bug 1318083 - Make PVideoDecoder's ctor sync and fail if CreateVideoDecoder fails on the GPU process side. r=jya,dvander 2016-11-22 15:44:38 +13:00
Matt Woodrow 4cb05731fd 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 98619b0470 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 bff0924458 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Phil Ringnalda 718a8f85bf 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
Matt Woodrow edd3d953d7 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Matt Woodrow aa5d10cfc2 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 8d3f5135f4 Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander 2016-11-03 09:55:07 +13:00
Matt Woodrow 82dd7ee7e4 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 74be230b48 Bug 1300677 - Implement IsHardwareAccelerated for RemoteVideoDecoder. r=dvander 2016-10-03 21:21:07 +13:00
Matt Woodrow 84b086a72c Bug 1300677 - Implement SetSeekThreshold for RemoteVideoDecoder. r=dvander 2016-10-03 21:20:54 +13:00
Matt Woodrow 07e3828de0 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander 2016-09-21 21:25:41 +12:00
Carsten "Tomcat" Book e2adb4a537 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 daac9e7bd5 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander 2016-09-21 15:36:41 +12:00
Carsten "Tomcat" Book eb7eb0a749 Backed out changeset 00cc54c30222 (bug 1288618) 2016-09-15 16:33:57 +02:00
Matt Woodrow 2fa51ef9a6 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander 2016-09-15 23:18:00 +12:00