mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add support for framedumping to OpenGL ES.
This commit is contained in:
parent
af9beecc10
commit
3f15aa4b57
4 changed files with 66 additions and 56 deletions
|
@ -13,7 +13,13 @@ private:
|
|||
static void CloseFile();
|
||||
|
||||
public:
|
||||
static bool Start(int w, int h);
|
||||
enum class DumpFormat
|
||||
{
|
||||
FORMAT_BGR,
|
||||
FORMAT_RGBA
|
||||
};
|
||||
|
||||
static bool Start(int w, int h, DumpFormat format);
|
||||
static void AddFrame(const u8* data, int width, int height);
|
||||
static void Stop();
|
||||
static void DoState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue