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

// Copyright 2023 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_gl_texture_representation.h"

#include <dawn/native/OpenGLBackend.h>

#include "build/build_config.h"
#include "gpu/command_buffer/service/shared_image/shared_image_format_service_utils.h"
#include "gpu/command_buffer/service/texture_manager.h"
#include "gpu/config/gpu_finch_features.h"

namespace {
GLenum ToSharedImageAccessGLMode(wgpu::TextureUsage usage) {}
}  // namespace

namespace gpu {

DawnGLTextureRepresentation::DawnGLTextureRepresentation(
    std::unique_ptr<GLTextureImageRepresentationBase> gl_representation,
    SharedImageManager* manager,
    SharedImageBacking* backing,
    MemoryTypeTracker* tracker,
    wgpu::Device device)
    :{}

DawnGLTextureRepresentation::~DawnGLTextureRepresentation() {}

wgpu::Texture DawnGLTextureRepresentation::BeginAccess(
    wgpu::TextureUsage usage,
    wgpu::TextureUsage internal_usage) {}

void DawnGLTextureRepresentation::EndAccess() {}

}  // namespace gpu