diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-10-06 12:27:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-06 12:27:23 +0200 |
| commit | 3c822f2c55a436d1b5c8c1f075dd8e9fad219b6e (patch) | |
| tree | 6055627a57841a78304c529a75222eb803dde2b7 /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | 062de51d707e68c40910b8c2cc11638d45b8805c (diff) | |
| parent | b6d09c61ed328259f2e43bc9e14ad725d8ba0017 (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.h | 1 |
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 |
