2014-02-03 06:02:17 -07:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-02-03 06:02:17 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
|
|
|
|
|
|
|
namespace Null
|
|
|
|
{
|
2019-07-27 15:19:52 -06:00
|
|
|
class TextureCache final : public TextureCacheBase
|
2014-02-03 06:02:17 -07:00
|
|
|
{
|
2019-02-14 18:59:50 -07:00
|
|
|
protected:
|
2018-11-02 08:17:00 -06:00
|
|
|
void CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
2019-04-15 08:47:46 -06:00
|
|
|
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride,
|
|
|
|
const MathUtil::Rectangle<int>& src_rect, bool scale_by_half, bool linear_filter,
|
|
|
|
float y_scale, float gamma, bool clamp_top, bool clamp_bottom,
|
|
|
|
const EFBCopyFilterCoefficients& filter_coefficients) override
|
2014-02-03 06:02:17 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-04-15 08:47:46 -06:00
|
|
|
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy,
|
|
|
|
const MathUtil::Rectangle<int>& src_rect, bool scale_by_half,
|
|
|
|
bool linear_filter, EFBCopyFormat dst_format, bool is_intensity,
|
|
|
|
float gamma, bool clamp_top, bool clamp_bottom,
|
2019-02-14 18:59:50 -07:00
|
|
|
const EFBCopyFilterCoefficients& filter_coefficients) override
|
2014-02-03 06:02:17 -07:00
|
|
|
{
|
2017-04-22 22:44:34 -06:00
|
|
|
}
|
2014-02-03 06:02:17 -07:00
|
|
|
};
|
|
|
|
|
2019-02-14 18:59:50 -07:00
|
|
|
} // namespace Null
|