diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index f621f7d92a..7f2491a5c7 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -146,6 +146,10 @@ public: virtual ~TextureCacheBase(); // needs virtual for DX11 dtor + // TODO: Move these to AbstractTexture once it is finished. + static bool IsCompressedHostTextureFormat(HostTextureFormat format); + static size_t CalculateHostTextureLevelPitch(HostTextureFormat format, u32 row_length); + void OnConfigChanged(VideoConfig& config); // Removes textures which aren't used for more than TEXTURE_KILL_THRESHOLD frames, |
