chromium/media/gpu/vaapi/test/fake_libva_driver/fake_context.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 "media/gpu/vaapi/test/fake_libva_driver/fake_context.h"

#include "base/environment.h"
#include "base/notreached.h"
#include "media/gpu/vaapi/test/fake_libva_driver/av1_decoder_delegate.h"
#include "media/gpu/vaapi/test/fake_libva_driver/fake_buffer.h"
#include "media/gpu/vaapi/test/fake_libva_driver/fake_config.h"
#include "media/gpu/vaapi/test/fake_libva_driver/no_op_context_delegate.h"
#include "media/gpu/vaapi/test/fake_libva_driver/vpx_decoder_delegate.h"

namespace {

std::unique_ptr<media::internal::ContextDelegate> CreateDelegate(
    const media::internal::FakeConfig& config,
    int picture_width,
    int picture_height) {}

}  // namespace

namespace media::internal {

FakeContext::FakeContext(FakeContext::IdType id,
                         const FakeConfig& config,
                         int picture_width,
                         int picture_height,
                         int flag,
                         std::vector<VASurfaceID> render_targets)
    :{}
FakeContext::~FakeContext() = default;

FakeContext::IdType FakeContext::GetID() const {}

const FakeConfig& FakeContext::GetConfig() const {}

int FakeContext::GetPictureWidth() const {}

int FakeContext::GetPictureHeight() const {}

int FakeContext::GetFlag() const {}

const std::vector<VASurfaceID>& FakeContext::GetRenderTargets() const {}

void FakeContext::BeginPicture(const FakeSurface& surface) const {}

void FakeContext::RenderPicture(
    const std::vector<raw_ptr<const FakeBuffer>>& buffers) const {}

void FakeContext::EndPicture() const {}

}  // namespace media::internal