chromium/components/viz/service/frame_sinks/video_capture/gpu_memory_buffer_video_frame_pool.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/viz/service/frame_sinks/video_capture/gpu_memory_buffer_video_frame_pool.h"

#include <utility>

#include "components/viz/service/frame_sinks/gmb_video_frame_pool_context_provider.h"

namespace viz {

GpuMemoryBufferVideoFramePool::GpuMemoryBufferVideoFramePool(
    int capacity,
    media::VideoPixelFormat format,
    const gfx::ColorSpace& color_space,
    GmbVideoFramePoolContextProvider* context_provider)
    :{}

GpuMemoryBufferVideoFramePool::~GpuMemoryBufferVideoFramePool() {}

scoped_refptr<media::VideoFrame>
GpuMemoryBufferVideoFramePool::ReserveVideoFrame(media::VideoPixelFormat format,
                                                 const gfx::Size& size) {}

media::mojom::VideoBufferHandlePtr
GpuMemoryBufferVideoFramePool::CloneHandleForDelivery(
    const media::VideoFrame& frame) {}

size_t GpuMemoryBufferVideoFramePool::GetNumberOfReservedFrames() const {}

void GpuMemoryBufferVideoFramePool::RecreateVideoFramePool() {}

void GpuMemoryBufferVideoFramePool::OnVideoFrameDestroyed(
    uint32_t frame_pool_generation) {}

}  // namespace viz