chromium/gpu/ipc/raster_in_process_context.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 "gpu/ipc/raster_in_process_context.h"

#include <utility>

#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "gpu/command_buffer/client/gles2_cmd_helper.h"
#include "gpu/command_buffer/client/raster_cmd_helper.h"
#include "gpu/command_buffer/client/raster_implementation_gles.h"
#include "gpu/command_buffer/client/shared_memory_limits.h"
#include "gpu/command_buffer/client/transfer_buffer.h"
#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/command_buffer/common/constants.h"
#include "gpu/command_buffer/common/context_creation_attribs.h"
#include "gpu/command_buffer/service/service_utils.h"
#include "gpu/config/gpu_feature_info.h"
#include "gpu/config/gpu_switches.h"
#include "gpu/ipc/common/surface_handle.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace gpu {

RasterInProcessContext::RasterInProcessContext() = default;

RasterInProcessContext::~RasterInProcessContext() {}

ContextResult RasterInProcessContext::Initialize(
    CommandBufferTaskExecutor* task_executor,
    const ContextCreationAttribs& attribs,
    const SharedMemoryLimits& memory_limits,
    gpu::raster::GrShaderCache* gr_shader_cache,
    GpuProcessShmCount* use_shader_cache_shm_count) {}

const Capabilities& RasterInProcessContext::GetCapabilities() const {}

const GpuFeatureInfo& RasterInProcessContext::GetGpuFeatureInfo() const {}

raster::RasterImplementation* RasterInProcessContext::GetImplementation() {}

ContextSupport* RasterInProcessContext::GetContextSupport() {}

SharedImageInterface* RasterInProcessContext::GetSharedImageInterface() {}

ServiceTransferCache* RasterInProcessContext::GetTransferCacheForTest() const {}

InProcessCommandBuffer* RasterInProcessContext::GetCommandBufferForTest()
    const {}

int RasterInProcessContext::GetRasterDecoderIdForTest() const {}

// static
bool RasterInProcessContext::SupportedInTest() {}

}  // namespace gpu