mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Track video addresses in texture cache.
This commit is contained in:
1 parent
329be68f57
commit
99d29356d7
8 files changed
+41
-1
No files matched your search
@@ -177,6 +177,7 @@ void TextureCacheVulkan::Clear(bool delete_them) {
|
||||
secondCacheSizeEstimate_ = 0;
|
||||
}
|
||||
fbTexInfo_.clear();
|
||||
videos_.clear();
|
||||
}
|
||||
|
||||
void TextureCacheVulkan::DeleteTexture(TexCache::iterator it) {
|
||||
@@ -230,6 +231,8 @@ void TextureCacheVulkan::Decimate() {
|
||||
|
||||
VERBOSE_LOG(G3D, "Decimated second texture cache, saved %d estimated bytes - now %d bytes", had - secondCacheSizeEstimate_, secondCacheSizeEstimate_);
|
||||
}
|
||||
|
||||
DecimateVideos();
|
||||
}
|
||||
|
||||
void TextureCacheVulkan::Invalidate(u32 addr, int size, GPUInvalidationType type) {
|
||||
|
||||
Reference in new issue
Block a user