mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #2357 from degasus/ogl_efb_poke_merge
ogl: efb poke merge
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user