2014-02-03 13:02:17 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-04-23 04:44:34 +00:00
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "VideoBackends/Null/NullTexture.h"
|
|
|
|
|
2014-02-03 13:02:17 +00:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-04-23 04:44:34 +00:00
|
|
|
#include "VideoCommon/TextureConfig.h"
|
2014-02-03 13:02:17 +00:00
|
|
|
|
|
|
|
namespace Null
|
|
|
|
{
|
|
|
|
class TextureCache : public TextureCacheBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TextureCache() {}
|
|
|
|
~TextureCache() {}
|
|
|
|
|
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
|