Merge pull request #3355 from mimimi085181/partial-texture-updates-check-dimensions

Partial texture updates: Check the dimensions of the efb copy
This commit is contained in:
Pierre Bourdon
2016-02-29 00:49:48 +01:00
4 changed files with 120 additions and 61 deletions

View File

@ -155,6 +155,7 @@ protected:
private:
typedef std::multimap<u64, TCacheEntryBase*> TexCache;
typedef std::unordered_multimap<TCacheEntryConfig, TCacheEntryBase*, TCacheEntryConfig::Hasher> TexPool;
static void ScaleTextureCacheEntryTo(TCacheEntryBase** entry, u32 new_width, u32 new_height);
static TCacheEntryBase* DoPartialTextureUpdates(TexCache::iterator iter);
static void DumpTexture(TCacheEntryBase* entry, std::string basename, unsigned int level);
static void CheckTempSize(size_t required_size);