mirror of
https://github.com/libretro/Play-.git
synced 2024-12-12 11:05:36 +00:00
33 lines
852 B
C++
33 lines
852 B
C++
#pragma once
|
|
|
|
#include "../gs/GSH_OpenGL/GSH_OpenGL.h"
|
|
#include "win32/Window.h"
|
|
#include "SettingsDialogProvider.h"
|
|
|
|
class CGSH_OpenGLWin32 : public CGSH_OpenGL, public CSettingsDialogProvider
|
|
{
|
|
public:
|
|
CGSH_OpenGLWin32(Framework::Win32::CWindow*);
|
|
virtual ~CGSH_OpenGLWin32();
|
|
|
|
static FactoryFunction GetFactoryFunction(Framework::Win32::CWindow*);
|
|
|
|
void InitializeImpl() override;
|
|
void ReleaseImpl() override;
|
|
|
|
Framework::Win32::CWindow* CreateSettingsDialog(HWND) override;
|
|
void OnSettingsDialogDestroyed() override;
|
|
|
|
protected:
|
|
void PresentBackbuffer() override;
|
|
|
|
private:
|
|
static CGSHandler* GSHandlerFactory(Framework::Win32::CWindow*);
|
|
|
|
Framework::Win32::CWindow* m_outputWnd = nullptr;
|
|
|
|
HGLRC m_context = nullptr;
|
|
HDC m_dc = nullptr;
|
|
static PIXELFORMATDESCRIPTOR m_pfd;
|
|
};
|