404709f1aee80465a953fce1a1e715d49ebfbe35: Bug 1315850 - Port the work around from Bug 1343140 to the new CDM video decoder architecture. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Tue, 14 Mar 2017 17:17:05 +1300 - rev 504181
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Port the work around from Bug 1343140 to the new CDM video decoder architecture. r=gerald MozReview-Commit-ID: EV0bieXIxYM
ef6cab901d74b78f613660f263f5e453d6044536: Bug 1315850 - Rename DetailedPromise Status enum. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 13 Mar 2017 10:42:36 +1300 - rev 504180
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Rename DetailedPromise Status enum. r=gerald X11.h #defines 'Status' and 'Failed' and 'Succeeded' which conflicts with the enum in DetailedPromise. So rename the 'Status' enum in DetailedPromise so that the build works on Linux. Some of my changes here caused DetailedPromise to be included in more places that it was before, which caused build failures on Linux. MozReview-Commit-ID: KV5xKixXR3J
80c2133e26742410fda983e3c18c35736fc013d0: Bug 1315850 - Implement CDM persistent sessions. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 19:09:43 +1300 - rev 504179
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement CDM persistent sessions. r=gerald This is required for the browser clearing persistence tests to pass. MozReview-Commit-ID: Ai9qc6Ds1IG
186f35455264aaa144fd7b1887b8ca2476ac03b2: Bug 1315850 - Hook up CDM storage. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 22 Mar 2017 16:30:54 +1300 - rev 504178
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Hook up CDM storage. r=gerald MozReview-Commit-ID: 9gHcMZvmMfg
6f0d72f76e313b55f7c905d5878c63b8d7292b1b: Bug 1315850 - Shutdown ChromiumCDMParent. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 17:34:18 +1300 - rev 504177
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Shutdown ChromiumCDMParent. r=gerald MozReview-Commit-ID: E82ETFS90eH
5a2f77ffe84f9b99b4668520c838b29a428578d3: Bug 1315850 - Shutdown CDMVideoDecoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 10:20:33 +1300 - rev 504176
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Shutdown CDMVideoDecoder. r=jya This severs the ChromiumCDMVideoDecoder's connection with the CDM. The CDM process will shutdown when the MediaKeys also severs its connection. MozReview-Commit-ID: Aqc4y5Nxjvc
3f9636503523f0c6effab15fa89cce25a961a0b4: Bug 1315850 - Implement CDM video decoder drain. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Tue, 07 Mar 2017 16:37:21 +1300 - rev 504175
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement CDM video decoder drain. r=jya MozReview-Commit-ID: 5RbrWyLglRf
8ee1ae28a36779484717c6b105ef7730dd1896b3: Bug 1315850 - Implement CDM video decoder flush. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Tue, 14 Feb 2017 22:42:26 +1300 - rev 504174
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement CDM video decoder flush. r=jya MozReview-Commit-ID: 3CzwfOCXGP
b7f162515a1a32b2c344c11d0fa5c7004cec2e15: Bug 1315850 - Implement video decoding through CDM. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:32:15 +1300 - rev 504173
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement video decoding through CDM. r=jya At this stage, I store video frames in memory in nsTArrays rather than in shmems just so we can get this working. Once this is working, I'll follow up with patches to switch to storing all large buffer traffic between the CDM and other processes in shmems. I'm not planning on preffing this new CDM path on until that's in place. MozReview-Commit-ID: LSTb42msWQS
b6d499cafef2d6a6558b0db703b60320dea67803: Bug 1315850 - Initialize video decoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 18:17:50 +1300 - rev 504172
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Initialize video decoder. r=jya MozReview-Commit-ID: 559SP0ECldq
aa854e9d88965d7da60231d6f6a3912bf6ad2eeb: Bug 1315850 - Add threadsafe ChromiumCDMProxy::GetCDMParent. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 13 Mar 2017 13:47:20 +1300 - rev 504171
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add threadsafe ChromiumCDMProxy::GetCDMParent. r=gerald The MediaKeys accesses the ChromiumCDMProxy on the main thread. But the ChromiumCDMVideoDecoder will need to access the ChromiumCDMProxy on the decode task queue in order to get a reference to the ChromiumCDMParent so that it can talk to the CDM (on the GMP thread). Additionally we'll need to shutdown the ChromiumCDMProxy, and if we do that on the main threrad while the ChromiumCDMVideoDecoder is trying to get the ChromiumCDMParent reference, we could hit thread safety issues. So we need to hold a lock while reading or writing from the ChromiumCDMProxy's reference to the ChromiumCDMParent. So add a GetCDMParent() function to the ChromiumCDMProxy which takes the lock while reading or writing the reference. This means that the caller will always get a valid reference. There is no guarantee that the ChromiumCDMParent isn't shutdown after the reference is taken; if that happens, the ChromiumCDMParent returned will fail on all operations. In a later patch in this series, the ChromiumCDMProxy will anull its reference to the ChromiumCDMParent on shutdown, and cause GetCDMParent to return null. So callers need to null check the return value of GetCDMParent. MozReview-Commit-ID: 4xL41YbwkxL
018abf2b8e1b351a29ba62275a2681fe9ea4fc24: Bug 1315850 - Create CDM video decoder in EMEDecoderModule. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 16:20:09 +1300 - rev 504170
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Create CDM video decoder in EMEDecoderModule. r=jya MozReview-Commit-ID: 3xgFxg1WfmY
6c5a3706b37e122a67e5ec1670587f37e25a1bc6: Bug 1315850 - Stub out ChromiumCDMVideoDecoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 18:17:14 +1300 - rev 504169
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Stub out ChromiumCDMVideoDecoder. r=jya MozReview-Commit-ID: 6I9N1c1nNMF
3821c378c73067066f3cc67499680bdf546fb4f0: Bug 1315850 - Add CDMProxy::AsChromiumCDMProxy(). r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 15 Dec 2016 11:32:03 +1300 - rev 504168
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add CDMProxy::AsChromiumCDMProxy(). r=gerald This means the EME PDM implementation can safely tell when a CDMProxy is a ChromiumCDMProxy, so we can create an appropriate MediaDataDecoder for it (in the next patch). MozReview-Commit-ID: CpL6QRa7SwJ
90de89bec9b004859c3c2c09ed8efbd255acc141: Bug 1315850 - Ensure GMPParent checks whether the adapter version is present. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 20 Feb 2017 11:48:32 +1300 - rev 504167
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Ensure GMPParent checks whether the adapter version is present. r=gerald This ensures that when we're using the ChromiumAdapter that we actually ask it whether it'll work, rather than asking the adapter we're not using. MozReview-Commit-ID: 85nZPl9MdWa
67575a02290ddb871510dd88f59fdab77658b3ce: Bug 1315850 - Send decrypt operations to Chromium CDM. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:31:07 +1300 - rev 504166
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Send decrypt operations to Chromium CDM. r=gerald We still use the same EMEDecryptor MediaDataDecoder as is used by the existing EME decrypting path. MozReview-Commit-ID: 3pXPjChctLb
b7de793c7676ace43d34a9556ef803e1bd3df239: Bug 1315850 - Add more logging to Chromium CDM actors. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:42:12 +1300 - rev 504165
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add more logging to Chromium CDM actors. r=gerald MozReview-Commit-ID: 2DcprLAE1bg
cf303b0d792dfd86f1056529eb4c081d84fc2e82: Bug 1315850 - Connect MediaKeys.createSession to Chromium CDM. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 30 Nov 2016 14:51:18 +1300 - rev 504164
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Connect MediaKeys.createSession to Chromium CDM. r=gerald MozReview-Commit-ID: AzvypvetoOL
0931d65116bf0c499933efc58cae97b275b0ba85: Bug 1315850 - Handle sending and receiving key session messages. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 16:41:06 +1300 - rev 504163
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Handle sending and receiving key session messages. r=gerald MozReview-Commit-ID: 6hLPFLFRD5I
914db1f04e0770776ae25c7b8bdc59e729fe78d0: Bug 1315850 - Implement ChromiumCDMProxy initialization. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:29:45 +1300 - rev 504162
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement ChromiumCDMProxy initialization. r=gerald This means the MediaKeys is able to create a CDM. MozReview-Commit-ID: 94Xc7sCLhH3
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip