chromium/third_party/blink/renderer/platform/graphics/gpu/webgraphics_shared_image_interface_provider_impl.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/graphics/gpu/webgraphics_shared_image_interface_provider_impl.h"

#include "base/task/bind_post_task.h"
#include "gpu/ipc/client/client_shared_image_interface.h"
#include "gpu/ipc/client/gpu_channel_host.h"

namespace blink {

// Created on the CrRendererMain or the DedicatedWorker thread.
WebGraphicsSharedImageInterfaceProviderImpl::
    WebGraphicsSharedImageInterfaceProviderImpl(
        scoped_refptr<gpu::ClientSharedImageInterface> shared_image_interface)
    :{}

// Destroyed on the same ctor thread.
WebGraphicsSharedImageInterfaceProviderImpl::
    ~WebGraphicsSharedImageInterfaceProviderImpl() {}

void WebGraphicsSharedImageInterfaceProviderImpl::AddGpuChannelLostObserver(
    BitmapGpuChannelLostObserver* ob) {}

void WebGraphicsSharedImageInterfaceProviderImpl::RemoveGpuChannelLostObserver(
    BitmapGpuChannelLostObserver* ob) {}

gpu::SharedImageInterface*
WebGraphicsSharedImageInterfaceProviderImpl::SharedImageInterface() {}

base::WeakPtr<blink::WebGraphicsSharedImageInterfaceProvider>
WebGraphicsSharedImageInterfaceProviderImpl::GetWeakPtr() {}

void WebGraphicsSharedImageInterfaceProviderImpl::OnGpuChannelLost() {}

void WebGraphicsSharedImageInterfaceProviderImpl::
    GpuChannelLostOnWorkerThread() {}

}  // namespace blink