chromium/components/viz/test/test_output_surface_provider.cc

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

#include "components/viz/test/test_output_surface_provider.h"

#include "components/viz/service/display/display_compositor_memory_and_task_controller.h"
#include "components/viz/service/display/software_output_device.h"
#include "components/viz/test/fake_output_surface.h"
#include "components/viz/test/fake_skia_output_surface.h"

namespace viz {

TestOutputSurfaceProvider::TestOutputSurfaceProvider() = default;

TestOutputSurfaceProvider::~TestOutputSurfaceProvider() = default;

std::unique_ptr<DisplayCompositorMemoryAndTaskController>
TestOutputSurfaceProvider::CreateGpuDependency(
    bool gpu_compositing,
    gpu::SurfaceHandle surface_handle) {}

std::unique_ptr<OutputSurface> TestOutputSurfaceProvider::CreateOutputSurface(
    gpu::SurfaceHandle surface_handle,
    bool gpu_compositing,
    mojom::DisplayClient* display_client,
    DisplayCompositorMemoryAndTaskController* display_controller,
    const RendererSettings& renderer_settings,
    const DebugRendererSettings* debug_settings) {}

gpu::SharedImageManager* TestOutputSurfaceProvider::GetSharedImageManager() {}

gpu::SyncPointManager* TestOutputSurfaceProvider::GetSyncPointManager() {}
gpu::Scheduler* TestOutputSurfaceProvider::GetGpuScheduler() {}

}  // namespace viz