summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index f5229f72ff..eb13096624 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -119,9 +119,14 @@ private:
static PC_TexFormat LoadCustomTexture(u64 tex_hash, int texformat, unsigned int level, unsigned int& width, unsigned int& height);
static void DumpTexture(TCacheEntryBase* entry, unsigned int level);
+ static TCacheEntryBase* AllocateRenderTarget(unsigned int width, unsigned int height);
+ static void FreeRenderTarget(TCacheEntryBase* entry);
+
typedef std::map<u32, TCacheEntryBase*> TexCache;
+ typedef std::vector<TCacheEntryBase*> RenderTargetPool;
static TexCache textures;
+ static RenderTargetPool render_target_pool;
// Backup configuration values
static struct BackupConfig