chromium/gpu/command_buffer/service/shared_image/dawn_shared_texture_holder.cc

// Copyright 2024 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/shared_image/dawn_shared_texture_holder.h"

#include "base/check_op.h"

namespace gpu {

DawnSharedTextureHolder::SharedTextureData::SharedTextureData() = default;

DawnSharedTextureHolder::SharedTextureData::~SharedTextureData() {}

DawnSharedTextureHolder::SharedTextureData::SharedTextureData(
    SharedTextureData&&) = default;

DawnSharedTextureHolder::SharedTextureData&
DawnSharedTextureHolder::SharedTextureData::operator=(SharedTextureData&&) =
    default;

DawnSharedTextureHolder::DawnSharedTextureHolder() = default;

DawnSharedTextureHolder::~DawnSharedTextureHolder() {}

DawnSharedTextureHolder::DawnSharedTextureHolder(DawnSharedTextureHolder&&) =
    default;

DawnSharedTextureHolder& DawnSharedTextureHolder::operator=(
    DawnSharedTextureHolder&&) = default;

DawnSharedTextureHolder::WGPUTextureCache*
DawnSharedTextureHolder::GetWGPUTextureCache(const wgpu::Device& device) {}

wgpu::SharedTextureMemory DawnSharedTextureHolder::GetSharedTextureMemory(
    const wgpu::Device& device) {}

void DawnSharedTextureHolder::MaybeCacheSharedTextureMemory(
    const wgpu::Device& device,
    const wgpu::SharedTextureMemory& memory) {}

wgpu::Texture DawnSharedTextureHolder::GetCachedWGPUTexture(
    const wgpu::Device& device,
    wgpu::TextureUsage texture_usage) {}

void DawnSharedTextureHolder::RemoveWGPUTextureFromCache(
    const wgpu::Device& device,
    const wgpu::Texture& texture) {}

void DawnSharedTextureHolder::MaybeCacheWGPUTexture(
    const wgpu::Device& device,
    const wgpu::Texture& texture) {}

void DawnSharedTextureHolder::DestroyWGPUTextureIfNotCached(
    const wgpu::Device& device,
    const wgpu::Texture& texture) {}

void DawnSharedTextureHolder::EraseDataIfDeviceLost() {}

}  // namespace gpu