diff options
| author | degasus <wickmarkus@web.de> | 2015-05-01 17:47:52 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-05-20 11:05:31 +0200 |
| commit | d91d93505710aaef711a2cbb1b3ca6b8cee66cfa (patch) | |
| tree | 48b64362840f1f137b8f54df827fc032c168fe08 /Source/Core/VideoBackends/OGL/FramebufferManager.h | |
| parent | c7bae5ad114061cc14084344a0f1761d3583334e (diff) | |
OGL: reimplement poke-color
Diffstat (limited to 'Source/Core/VideoBackends/OGL/FramebufferManager.h')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/FramebufferManager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.h b/Source/Core/VideoBackends/OGL/FramebufferManager.h index 9b26e32335..88909f4ff6 100644 --- a/Source/Core/VideoBackends/OGL/FramebufferManager.h +++ b/Source/Core/VideoBackends/OGL/FramebufferManager.h @@ -91,6 +91,8 @@ public: // convtype=0 -> rgb8->rgba6, convtype=2 -> rgba6->rgb8 static void ReinterpretPixelData(unsigned int convtype); + static void PokeEFB(EFBAccessType type, const std::vector<EfbPokeData>& data); + private: XFBSourceBase* CreateXFBSource(unsigned int target_width, unsigned int target_height, unsigned int layers) override; void GetTargetSize(unsigned int *width, unsigned int *height) override; @@ -115,6 +117,11 @@ private: // For pixel format draw static SHADER m_pixel_format_shaders[2]; + + // For EFB pokes + static GLuint m_EfbColorPokes_VBO; + static GLuint m_EfbColorPokes_VAO; + static SHADER m_EfbColorPokes; }; } // namespace OGL |
