#include "components/viz/service/frame_sinks/shared_image_interface_provider.h"
#include <memory>
#include "base/functional/callback.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "components/viz/service/gl/gpu_service_impl.h"
#include "gpu/command_buffer/service/scheduler_sequence.h"
#include "gpu/command_buffer/service/shared_context_state.h"
#include "gpu/command_buffer/service/shared_image_interface_in_process.h"
namespace viz {
SharedImageInterfaceProvider::SharedImageInterfaceProvider(
GpuServiceImpl* gpu_service)
: … { … }
SharedImageInterfaceProvider::~SharedImageInterfaceProvider() { … }
gpu::SharedImageInterface*
SharedImageInterfaceProvider::GetSharedImageInterface() { … }
bool SharedImageInterfaceProvider::NeedsNewSharedImageInterface() { … }
void SharedImageInterfaceProvider::CreateSharedImageInterface() { … }
void SharedImageInterfaceProvider::CreateSharedImageInterfaceOnGpu(
base::WaitableEvent* event) { … }
void SharedImageInterfaceProvider::OnContextLost() { … }
}