chromium/gpu/command_buffer/service/command_buffer_direct.cc

// Copyright 2017 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/command_buffer/service/command_buffer_direct.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "gpu/command_buffer/service/transfer_buffer_manager.h"

namespace gpu {

CommandBufferDirect::CommandBufferDirect() :{}

CommandBufferDirect::~CommandBufferDirect() = default;

CommandBuffer::State CommandBufferDirect::GetLastState() {}

CommandBuffer::State CommandBufferDirect::WaitForTokenInRange(int32_t start,
                                                              int32_t end) {}

CommandBuffer::State CommandBufferDirect::WaitForGetOffsetInRange(
    uint32_t set_get_buffer_count,
    int32_t start,
    int32_t end) {}

void CommandBufferDirect::Flush(int32_t put_offset) {}

void CommandBufferDirect::OrderingBarrier(int32_t put_offset) {}

void CommandBufferDirect::SetGetBuffer(int32_t transfer_buffer_id) {}

scoped_refptr<Buffer> CommandBufferDirect::CreateTransferBuffer(
    uint32_t size,
    int32_t* id,
    uint32_t alignment,
    TransferBufferAllocationOption option) {}

void CommandBufferDirect::DestroyTransferBuffer(int32_t id) {}

void CommandBufferDirect::ForceLostContext(error::ContextLostReason reason) {}

CommandBufferServiceClient::CommandBatchProcessedResult
CommandBufferDirect::OnCommandBatchProcessed() {}

void CommandBufferDirect::OnParseError() {}

void CommandBufferDirect::OnConsoleMessage(int32_t id,
                                           const std::string& message) {}

void CommandBufferDirect::CacheBlob(gpu::GpuDiskCacheType type,
                                    const std::string& key,
                                    const std::string& blob) {}

void CommandBufferDirect::OnFenceSyncRelease(uint64_t release) {}

void CommandBufferDirect::OnDescheduleUntilFinished() {}

void CommandBufferDirect::OnRescheduleAfterFinished() {}

void CommandBufferDirect::OnSwapBuffers(uint64_t swap_id, uint32_t flags) {}

scoped_refptr<Buffer> CommandBufferDirect::CreateTransferBufferWithId(
    uint32_t size,
    int32_t id) {}

void CommandBufferDirect::HandleReturnData(base::span<const uint8_t> data) {}

bool CommandBufferDirect::ShouldYield() {}

}  // namespace gpu