chromium/media/gpu/chromeos/fake_chromeos_intel_compressed_gpu_memory_buffer.h

// 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.

#ifndef MEDIA_GPU_CHROMEOS_FAKE_CHROMEOS_INTEL_COMPRESSED_GPU_MEMORY_BUFFER_H_
#define MEDIA_GPU_CHROMEOS_FAKE_CHROMEOS_INTEL_COMPRESSED_GPU_MEMORY_BUFFER_H_

#include "ui/gfx/gpu_memory_buffer.h"

namespace media {

// A fake implementation of gpu::GpuMemoryBuffer for
// testing purposes. It emulates a GpuMemoryBuffer that references a dma-buf
// that uses Intel media compression (with a modifier of either
// I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS or I915_FORMAT_MOD_4_TILED_MTL_MC_CCS).
class FakeChromeOSIntelCompressedGpuMemoryBuffer : public gfx::GpuMemoryBuffer {};
}  // namespace media

#endif  // MEDIA_GPU_CHROMEOS_FAKE_CHROMEOS_INTEL_COMPRESSED_GPU_MEMORY_BUFFER_H_