2014-02-03 06:02:17 -07:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-04-22 22:44:34 -06:00
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "VideoBackends/Null/NullTexture.h"
|
|
|
|
|
2014-02-03 06:02:17 -07:00
|
|
|
#include "VideoCommon/TextureCacheBase.h"
|
2017-04-22 22:44:34 -06:00
|
|
|
#include "VideoCommon/TextureConfig.h"
|
2014-02-03 06:02:17 -07:00
|
|
|
|
|
|
|
namespace Null
|
|
|
|
{
|
|
|
|
class TextureCache : public TextureCacheBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TextureCache() {}
|
|
|
|
~TextureCache() {}
|
2016-08-13 06:56:01 -06:00
|
|
|
bool CompileShaders() override { return true; }
|
2014-02-03 06:02:17 -07:00
|
|
|
void DeleteShaders() override {}
|
2017-07-30 13:45:55 -06:00
|
|
|
void ConvertTexture(TCacheEntry* entry, TCacheEntry* unconverted, const void* palette,
|
|
|
|
TLUTFormat format) override
|
2014-02-03 06:02:17 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-07-30 13:45:55 -06:00
|
|
|
void CopyEFB(u8* dst, const EFBCopyParams& params, u32 native_width, u32 bytes_per_row,
|
|
|
|
u32 num_blocks_y, u32 memory_stride, const EFBRectangle& src_rect,
|
|
|
|
bool scale_by_half) override
|
2014-02-03 06:02:17 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-04-22 22:44:34 -06:00
|
|
|
void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect,
|
2017-08-04 09:56:24 -06:00
|
|
|
bool scale_by_half, unsigned int cbuf_id, const float* colmat,
|
|
|
|
EFBCopyFormat dst_format, bool is_intensity) 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
|
|
|
};
|
|
|
|
|
|
|
|
} // Null name space
|