mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
implement display capture for compute renderer
it's actually just all stolen from the regular OpenGL renderer
This commit is contained in:
@ -49,6 +49,7 @@ public:
|
||||
u32* GetLine(int line) override;
|
||||
|
||||
void SetupAccelFrame() override;
|
||||
void PrepareCaptureFrame() override;
|
||||
private:
|
||||
GLuint ShaderInterpXSpans[2];
|
||||
GLuint ShaderBinCombined;
|
||||
@ -240,6 +241,9 @@ private:
|
||||
u32 TextureDecodingBuffer[1024*1024];
|
||||
|
||||
GLuint Framebuffer;
|
||||
GLuint PixelBuffer;
|
||||
|
||||
u32 FramebufferCPU[256*192];
|
||||
|
||||
TexCacheEntry& GetTexture(u32 textureParam, u32 paletteParam);
|
||||
|
||||
|
Reference in New Issue
Block a user