mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1492745 - Remove PWebRenderBridge::Create() r=mattwoodrow,froydnj
This commit is contained in:
parent
7a5fd18f3c
commit
f79bc9e186
@ -38,7 +38,6 @@ parent:
|
||||
async NewCompositable(CompositableHandle handle, TextureInfo info);
|
||||
async ReleaseCompositable(CompositableHandle compositable);
|
||||
|
||||
sync Create(IntSize aSize);
|
||||
async DeleteCompositorAnimations(uint64_t[] aIds);
|
||||
async SetDisplayList(IntSize aSize, WebRenderParentCommand[] commands, OpDestroy[] toDestroy, uint64_t fwdTransactionId, TransactionId transactionId,
|
||||
LayoutSize aContentSize, ByteBuf aDL, BuiltDisplayListDescriptor aDLDesc,
|
||||
|
@ -262,28 +262,6 @@ WebRenderBridgeParent::~WebRenderBridgeParent()
|
||||
{
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
WebRenderBridgeParent::RecvCreate(const gfx::IntSize& aSize)
|
||||
{
|
||||
if (mDestroyed) {
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
MOZ_ASSERT(mApi);
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
// XXX temporary hack.
|
||||
// XXX Remove it when APZ is supported.
|
||||
// XXX Broken by Dynamic Toolbar v3. See: Bug 1335895
|
||||
// RefPtr<UiCompositorControllerParent> uiController = UiCompositorControllerParent::GetFromRootLayerTreeId(/* Root Layer Tree ID */);
|
||||
// if (uiController) {
|
||||
// uiController->ToolbarAnimatorMessageFromCompositor(/*FIRST_PAINT*/ 5);
|
||||
// }
|
||||
#endif
|
||||
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
WebRenderBridgeParent::RecvShutdown()
|
||||
{
|
||||
|
@ -69,7 +69,6 @@ public:
|
||||
const TextureInfo& aInfo) override;
|
||||
mozilla::ipc::IPCResult RecvReleaseCompositable(const CompositableHandle& aHandle) override;
|
||||
|
||||
mozilla::ipc::IPCResult RecvCreate(const gfx::IntSize& aSize) override;
|
||||
mozilla::ipc::IPCResult RecvShutdown() override;
|
||||
mozilla::ipc::IPCResult RecvShutdownSync() override;
|
||||
mozilla::ipc::IPCResult RecvDeleteCompositorAnimations(InfallibleTArray<uint64_t>&& aIds) override;
|
||||
|
@ -78,7 +78,6 @@ WebRenderLayerManager::Initialize(PCompositorBridgeChild* aCBChild,
|
||||
|
||||
mWrChild = static_cast<WebRenderBridgeChild*>(bridge);
|
||||
WrBridge()->SetWebRenderLayerManager(this);
|
||||
WrBridge()->SendCreate(size.ToUnknownSize());
|
||||
WrBridge()->IdentifyTextureHost(textureFactoryIdentifier);
|
||||
WrBridge()->SetNamespace(id_namespace);
|
||||
*aTextureFactoryIdentifier = textureFactoryIdentifier;
|
||||
|
@ -1021,8 +1021,6 @@ description =
|
||||
description =
|
||||
[PUiCompositorController::ResumeAndResize]
|
||||
description =
|
||||
[PWebRenderBridge::Create]
|
||||
description =
|
||||
[PWebRenderBridge::GetSnapshot]
|
||||
description =
|
||||
[PWebRenderBridge::SetTestSampleTime]
|
||||
|
Loading…
Reference in New Issue
Block a user