mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
TextureCache: Move host texture utility functions to VideoCommon
The appropriate place for these would be AbstractTexture, once it is finished.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user