2014-02-03 13:02:17 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-02-03 13:02:17 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
|
|
|
|
|
|
|
namespace Null
|
|
|
|
{
|
2019-07-27 21:19:52 +00:00
|
|
|
class TextureCache final : public TextureCacheBase
|
2014-02-03 13:02:17 +00:00
|
|
|
{
|
2019-02-15 01:59:50 +00:00
|
|
|
protected:
|
2018-11-02 14:17:00 +00:00
|
|
|
void CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
2019-04-15 14:47:46 +00: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 13:02:17 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-04-15 14:47:46 +00: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-15 01:59:50 +00:00
|
|
|
const EFBCopyFilterCoefficients& filter_coefficients) override
|
2014-02-03 13:02:17 +00:00
|
|
|
{
|
2017-04-23 04:44:34 +00:00
|
|
|
}
|
2014-02-03 13:02:17 +00:00
|
|
|
};
|
|
|
|
|
2019-02-15 01:59:50 +00:00
|
|
|
} // namespace Null
|