#include "components/viz/service/display/display_compositor_memory_and_task_controller.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "components/viz/service/display_embedder/skia_output_surface_dependency.h"
#include "gpu/command_buffer/service/scheduler_sequence.h"
#include "gpu/command_buffer/service/shared_image_interface_in_process.h"
namespace viz {
DisplayCompositorMemoryAndTaskController::
DisplayCompositorMemoryAndTaskController(
std::unique_ptr<SkiaOutputSurfaceDependency> skia_dependency)
: … { … }
DisplayCompositorMemoryAndTaskController::
~DisplayCompositorMemoryAndTaskController() { … }
void DisplayCompositorMemoryAndTaskController::InitializeOnGpu(
SkiaOutputSurfaceDependency* skia_dependency,
base::WaitableEvent* event) { … }
void DisplayCompositorMemoryAndTaskController::DestroyOnGpu(
base::WaitableEvent* event) { … }
gpu::SharedImageInterface*
DisplayCompositorMemoryAndTaskController::shared_image_interface() { … }
}