Bug 1736692 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When playing Netflix on macOS, we seem to upload the video as textures and do the conversion to RGB in WebRender.

Matt Woodrow found the following:

> It looks like the GMP decoder (the Widevine/DRM decoder) isn't passing the needed aAllocator param - https://searchfox.org/mozilla-central/rev/8130ddcaa7e214d341371194bb1d2f97078cab00/dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp#63-67
> 
> Fixing that (it's available in the CreateDecoderParams passed to the ctor) will likely improve performance even without [Brad's] changes, as well as hopefully fixing your issue!
When playing Netflix on macOS, we seem to upload the video as textures and do the conversion to RGB in WebRender.

Matt Woodrow found the following:

> It looks like the GMP decoder (the Widevine/DRM decoder) isn't passing the needed aAllocator param - https://searchfox.org/mozilla-central/rev/8130ddcaa7e214d341371194bb1d2f97078cab00/dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp#63-67
> 
> Fixing that (it's available in the CreateDecoderParams passed to the ctor) will likely improve performance even without [Brad's] changes, as well as hopefully fixing [the issue with Netflix not hitting detached mode]!

Back to Bug 1736692 Comment 0