#ifndef SDL_pspvideo_h_
#define SDL_pspvideo_h_
#include <GLES/egl.h>
#include "SDL_internal.h"
#include "../SDL_sysvideo.h"
struct SDL_VideoData
{
bool egl_initialized; uint32_t egl_refcount;
};
struct SDL_WindowData
{
bool uses_gles;
};
extern bool PSP_VideoInit(SDL_VideoDevice *_this);
extern void PSP_VideoQuit(SDL_VideoDevice *_this);
extern bool PSP_GetDisplayModes(SDL_VideoDevice *_this, SDL_VideoDisplay *display);
extern bool PSP_SetDisplayMode(SDL_VideoDevice *_this, SDL_VideoDisplay *display, SDL_DisplayMode *mode);
extern bool PSP_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesID create_props);
extern void PSP_SetWindowTitle(SDL_VideoDevice *_this, SDL_Window *window);
extern bool PSP_SetWindowPosition(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_SetWindowSize(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_ShowWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_HideWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_RaiseWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_MaximizeWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_MinimizeWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_RestoreWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern void PSP_DestroyWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern bool PSP_GL_LoadLibrary(SDL_VideoDevice *_this, const char *path);
extern SDL_FunctionPointer PSP_GL_GetProcAddress(SDL_VideoDevice *_this, const char *proc);
extern void PSP_GL_UnloadLibrary(SDL_VideoDevice *_this);
extern SDL_GLContext PSP_GL_CreateContext(SDL_VideoDevice *_this, SDL_Window *window);
extern bool PSP_GL_MakeCurrent(SDL_VideoDevice *_this, SDL_Window *window, SDL_GLContext context);
extern bool PSP_GL_SetSwapInterval(SDL_VideoDevice *_this, int interval);
extern bool PSP_GL_GetSwapInterval(SDL_VideoDevice *_this, int *interval);
extern bool PSP_GL_SwapWindow(SDL_VideoDevice *_this, SDL_Window *window);
extern bool PSP_GL_DestroyContext(SDL_VideoDevice *_this, SDL_GLContext context);
extern bool PSP_HasScreenKeyboardSupport(SDL_VideoDevice *_this);
extern void PSP_ShowScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesID props);
extern void PSP_HideScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window);
#endif