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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user