mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-01 15:16:22 +00:00
Merge Platform.h into GLInterface.h
This commit is contained in:
parent
75020b9b51
commit
4b3c338930
8 changed files with 101 additions and 188 deletions
|
@ -19,8 +19,29 @@
|
|||
|
||||
#include <EGL/egl.h>
|
||||
#include "InterfaceBase.h"
|
||||
#include "ConfigManager.h"
|
||||
|
||||
class cPlatform;
|
||||
|
||||
class cPlatform
|
||||
{
|
||||
private:
|
||||
#if HAVE_X11
|
||||
cXInterface XInterface;
|
||||
#endif
|
||||
#if HAVE_WAYLAND
|
||||
cWaylandInterface WaylandInterface;
|
||||
#endif
|
||||
public:
|
||||
enum egl_platform platform;
|
||||
bool SelectDisplay(void);
|
||||
bool Init(EGLConfig config);
|
||||
EGLDisplay EGLGetDisplay(void);
|
||||
EGLNativeWindowType CreateWindow(void);
|
||||
void DestroyWindow(void);
|
||||
void UpdateFPSDisplay(const char *text);
|
||||
void ToggleFullscreen(bool fullscreen);
|
||||
void SwapBuffers();
|
||||
};
|
||||
|
||||
class cInterfaceEGL : public cInterfaceBase
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue