summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/FramebufferManager.h
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-05-01 12:45:05 +0200
committerdegasus <wickmarkus@web.de>2014-05-19 09:29:40 +0200
commitc1b6fcc00baaf877401b9f70a24520c14d8c124b (patch)
treeef3cf524b61e4739375d24aca79b896636720776 /Source/Core/VideoBackends/OGL/FramebufferManager.h
parente150d307a675e58909b6f3cbdc3caf9e4db541d3 (diff)
ogl: pixel format shader without resolving
v2: Don't use std::to_string as this function is broken on android.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/FramebufferManager.h')
-rw-r--r--Source/Core/VideoBackends/OGL/FramebufferManager.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.h b/Source/Core/VideoBackends/OGL/FramebufferManager.h
index 583684b352..2025fc5b6b 100644
--- a/Source/Core/VideoBackends/OGL/FramebufferManager.h
+++ b/Source/Core/VideoBackends/OGL/FramebufferManager.h
@@ -100,17 +100,19 @@ private:
static int m_targetHeight;
static int m_msaaSamples;
+ static GLenum m_textureType;
+
static GLuint m_efbFramebuffer;
- static GLuint m_efbColor; // Renderbuffer in MSAA mode; Texture otherwise
- static GLuint m_efbDepth; // Renderbuffer in MSAA mode; Texture otherwise
+ static GLuint m_xfbFramebuffer;
+ static GLuint m_efbColor;
+ static GLuint m_efbDepth;
+ static GLuint m_efbColorSwap;// will be hot swapped with m_efbColor when reinterpreting EFB pixel formats
- // Only used in MSAA mode and to convert pixel format
- static GLuint m_resolvedFramebuffer; // will be hot swapped with m_efbColor on non-msaa pixel format change
+ // Only used in MSAA mode, TODO: try to avoid them
+ static GLuint m_resolvedFramebuffer;
static GLuint m_resolvedColorTexture;
static GLuint m_resolvedDepthTexture;
- static GLuint m_xfbFramebuffer; // Only used in MSAA mode
-
// For pixel format draw
static SHADER m_pixel_format_shaders[2];
};