chromium/gpu/command_buffer/client/shared_image_pool.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/client/shared_image_pool.h"

#include "gpu/command_buffer/client/shared_image_interface.h"

namespace {

gpu::ImageInfo GetImageInfo(scoped_refptr<gpu::ClientImage> image) {}

}  // namespace

namespace gpu {

// Implementation of the ClientImage class.
ClientImage::ClientImage(scoped_refptr<ClientSharedImage> shared_image)
    :{}

ClientImage::~ClientImage() = default;

scoped_refptr<ClientSharedImage> ClientImage::GetSharedImage() const {}

const SyncToken& ClientImage::GetSyncToken() const {}

SharedImagePoolBase::SharedImagePoolBase(
    const ImageInfo& image_info,
    const scoped_refptr<SharedImageInterface> sii,
    std::optional<uint8_t> max_pool_size)
    :{}

SharedImagePoolBase::~SharedImagePoolBase() {}

size_t SharedImagePoolBase::GetPoolSizeForTesting() const {}

scoped_refptr<ClientSharedImage>
SharedImagePoolBase::CreateSharedImageInternal() {}

scoped_refptr<ClientImage> SharedImagePoolBase::GetImageFromPoolInternal() {}

void SharedImagePoolBase::ReleaseImageInternal(scoped_refptr<ClientImage> image,
                                               SyncToken release_sync_token) {}

void SharedImagePoolBase::ClearInternal() {}

void SharedImagePoolBase::ReconfigureInternal(const ImageInfo& image_info) {}

}  // namespace gpu