Track video addresses in texture cache.

This commit is contained in:
Unknown W. Brackets committed 2016-05-01 08:39:18 -07:00
1 parent 329be68f57
commit 99d29356d7
8 files changed
+41 -1

No files matched your search

+3
View File
@@ -114,6 +114,7 @@ void TextureCache::Clear(bool delete_them) {
secondCacheSizeEstimate_ = 0;
}
fbTexInfo_.clear();
videos_.clear();
}
void TextureCache::DeleteTexture(TexCache::iterator it) {
@@ -168,6 +169,8 @@ void TextureCache::Decimate() {
VERBOSE_LOG(G3D, "Decimated second texture cache, saved %d estimated bytes - now %d bytes", had - secondCacheSizeEstimate_, secondCacheSizeEstimate_);
}
DecimateVideos();
}
void TextureCache::Invalidate(u32 addr, int size, GPUInvalidationType type) {