summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-11-04 00:53:14 +0100
committerJules Blok <jules.blok@gmail.com>2014-11-23 14:27:40 +0100
commitee76c03160b72731facbce135be26d7ef8cebba5 (patch)
treeb03e45c1fc917f3a53fcebdaccdb75bfd5ceb95b /Source/Core/VideoCommon/TextureCacheBase.h
parent4d075c2efb4c1dda695cd8044b42cf7894b52e5a (diff)
TextureCache: Recompile EFB2Tex shaders when stereo 3D is toggled.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index 77bdec14fa..7fc3e49a2f 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -102,6 +102,9 @@ public:
unsigned int expanded_width, unsigned int tex_levels, PC_TexFormat pcfmt) = 0;
virtual TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h) = 0;
+ virtual void CompileShaders() = 0; // currently only implemented by OGL
+ virtual void DeleteShaders() = 0; // currently only implemented by OGL
+
static TCacheEntryBase* Load(unsigned int stage, u32 address, unsigned int width, unsigned int height,
int format, unsigned int tlutaddr, int tlutfmt, bool use_mipmaps, unsigned int maxlevel, bool from_tmem);
static void CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat, PEControl::PixelFormat srcFormat,
@@ -141,6 +144,7 @@ private:
bool s_texfmt_overlay_center;
bool s_hires_textures;
bool s_copy_cache_enable;
+ bool s_stereo_3d;
} backup_config;
};