ogl: pixel format shader without resolving

v2: Don't use std::to_string as this function is broken on android.
This commit is contained in:
degasus
2014-05-01 12:45:05 +02:00
parent e150d307a6
commit c1b6fcc00b
3 changed files with 128 additions and 120 deletions

View File

@ -100,17 +100,19 @@ private:
static int m_targetHeight;
static int m_msaaSamples;
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 GLenum m_textureType;
// 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
static GLuint m_efbFramebuffer;
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, 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];
};