mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #2357 from degasus/ogl_efb_poke_merge
ogl: efb poke merge
This commit is contained in:
@ -26,6 +26,12 @@
|
||||
|
||||
class PostProcessingShaderImplementation;
|
||||
|
||||
struct EfbPokeData
|
||||
{
|
||||
u16 x,y;
|
||||
u32 data;
|
||||
};
|
||||
|
||||
// TODO: Move these out of here.
|
||||
extern int frameCount;
|
||||
extern int OSDChoice;
|
||||
@ -104,6 +110,7 @@ public:
|
||||
static void RenderToXFB(u32 xfbAddr, const EFBRectangle& sourceRc, u32 fbWidth, u32 fbHeight, float Gamma = 1.0f);
|
||||
|
||||
virtual u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) = 0;
|
||||
virtual void PokeEFB(EFBAccessType type, const std::vector<EfbPokeData>& data);
|
||||
|
||||
virtual u16 BBoxRead(int index) = 0;
|
||||
virtual void BBoxWrite(int index, u16 value) = 0;
|
||||
|
Reference in New Issue
Block a user