Esempio n. 1
0
mozilla::ipc::IPCResult
GPUParent::RecvRemoveLayerTreeIdMapping(const LayerTreeIdMapping& aMapping)
{
    LayerTreeOwnerTracker::Get()->Unmap(aMapping.layersId(), aMapping.ownerId());
    CompositorBridgeParent::DeallocateLayerTreeId(aMapping.layersId());
    return IPC_OK();
}
Esempio n. 2
0
mozilla::ipc::IPCResult
GPUParent::RecvAddLayerTreeIdMapping(const LayerTreeIdMapping& aMapping)
{
  LayerTreeOwnerTracker::Get()->Map(aMapping.layersId(), aMapping.ownerId());
  return IPC_OK();
}