Bug 1682030 - Remove NPAPI plugin async rendering support r=bas,jgilbert,ipc-reviewers,mccr8

Removes async (windowless) NPAPI plugin rendering methods used to render a plugin to an offscreen surface in the GPU process.  None of this code is used since we have removed all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107152
This commit is contained in:
David Parks
2021-04-06 19:28:16 +00:00
parent 83acccf881
commit 21bd2b45b0
11 changed files with 0 additions and 434 deletions

View File

@@ -355,19 +355,6 @@ already_AddRefed<TextureHost> CreateBackendIndependentTextureHost(
break;
}
case SurfaceDescriptor::TSurfaceDescriptorGPUVideo: {
if (aDesc.get_SurfaceDescriptorGPUVideo().type() ==
SurfaceDescriptorGPUVideo::TSurfaceDescriptorPlugin) {
MOZ_ASSERT(aDeallocator && aDeallocator->UsesImageBridge());
auto ibpBase = static_cast<ImageBridgeParent*>(aDeallocator);
result =
ibpBase->LookupTextureHost(aDesc.get_SurfaceDescriptorGPUVideo());
if (!result) {
return nullptr;
}
MOZ_ASSERT(aFlags == result->GetFlags());
break;
}
MOZ_ASSERT(aDesc.get_SurfaceDescriptorGPUVideo().type() ==
SurfaceDescriptorGPUVideo::TSurfaceDescriptorRemoteDecoder);
result = GPUVideoTextureHost::CreateFromDescriptor(