mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-02 13:20:36 +00:00
VideoCommon: drop unused variable/setter
This commit is contained in:
parent
81d9cce70c
commit
2ad901b2da
@ -40,8 +40,6 @@ TextureCacheBase::TCacheEntryBase* TextureCacheBase::bound_textures[8];
|
|||||||
|
|
||||||
TextureCacheBase::BackupConfig TextureCacheBase::backup_config;
|
TextureCacheBase::BackupConfig TextureCacheBase::backup_config;
|
||||||
|
|
||||||
static bool invalidate_texture_cache_requested;
|
|
||||||
|
|
||||||
TextureCacheBase::TCacheEntryBase::~TCacheEntryBase()
|
TextureCacheBase::TCacheEntryBase::~TCacheEntryBase()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -67,13 +65,6 @@ TextureCacheBase::TextureCacheBase()
|
|||||||
HiresTexture::Init();
|
HiresTexture::Init();
|
||||||
|
|
||||||
SetHash64Function();
|
SetHash64Function();
|
||||||
|
|
||||||
invalidate_texture_cache_requested = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void TextureCacheBase::RequestInvalidateTextureCache()
|
|
||||||
{
|
|
||||||
invalidate_texture_cache_requested = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextureCacheBase::Invalidate()
|
void TextureCacheBase::Invalidate()
|
||||||
@ -116,14 +107,11 @@ void TextureCacheBase::OnConfigChanged(VideoConfig& config)
|
|||||||
if (config.iSafeTextureCache_ColorSamples != backup_config.s_colorsamples ||
|
if (config.iSafeTextureCache_ColorSamples != backup_config.s_colorsamples ||
|
||||||
config.bTexFmtOverlayEnable != backup_config.s_texfmt_overlay ||
|
config.bTexFmtOverlayEnable != backup_config.s_texfmt_overlay ||
|
||||||
config.bTexFmtOverlayCenter != backup_config.s_texfmt_overlay_center ||
|
config.bTexFmtOverlayCenter != backup_config.s_texfmt_overlay_center ||
|
||||||
config.bHiresTextures != backup_config.s_hires_textures ||
|
config.bHiresTextures != backup_config.s_hires_textures)
|
||||||
invalidate_texture_cache_requested)
|
|
||||||
{
|
{
|
||||||
g_texture_cache->Invalidate();
|
g_texture_cache->Invalidate();
|
||||||
|
|
||||||
TexDecoder_SetTexFmtOverlayOptions(g_ActiveConfig.bTexFmtOverlayEnable, g_ActiveConfig.bTexFmtOverlayCenter);
|
TexDecoder_SetTexFmtOverlayOptions(g_ActiveConfig.bTexFmtOverlayEnable, g_ActiveConfig.bTexFmtOverlayCenter);
|
||||||
|
|
||||||
invalidate_texture_cache_requested = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((config.iStereoMode > 0) != backup_config.s_stereo_3d ||
|
if ((config.iStereoMode > 0) != backup_config.s_stereo_3d ||
|
||||||
|
@ -139,8 +139,6 @@ public:
|
|||||||
static void CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat, u32 dstStride,
|
static void CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat, u32 dstStride,
|
||||||
PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf);
|
PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf);
|
||||||
|
|
||||||
static void RequestInvalidateTextureCache();
|
|
||||||
|
|
||||||
virtual void ConvertTexture(TCacheEntryBase* entry, TCacheEntryBase* unconverted, void* palette, TlutFormat format) = 0;
|
virtual void ConvertTexture(TCacheEntryBase* entry, TCacheEntryBase* unconverted, void* palette, TlutFormat format) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user