summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-10-06 12:27:23 +0200
committerGitHub <noreply@github.com>2016-10-06 12:27:23 +0200
commit3c822f2c55a436d1b5c8c1f075dd8e9fad219b6e (patch)
tree6055627a57841a78304c529a75222eb803dde2b7 /Source/Core/VideoCommon/TextureCacheBase.h
parent062de51d707e68c40910b8c2cc11638d45b8805c (diff)
parentb6d09c61ed328259f2e43bc9e14ad725d8ba0017 (diff)
Merge pull request #4304 from stenzek/pool-reuse
TextureCache: Don't re-use pooled textures within the same frame
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index e10a0439f1..437392569f 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -193,6 +193,7 @@ private:
static void CheckTempSize(size_t required_size);
static TCacheEntryBase* AllocateTexture(const TCacheEntryConfig& config);
+ static TexPool::iterator FindMatchingTextureFromPool(const TCacheEntryConfig& config);
static TexCache::iterator GetTexCacheIter(TCacheEntryBase* entry);
// Removes and unlinks texture from texture cache and returns it to the pool