Go to the documentation of this file.
22 #include "../../SDL_internal.h"
24 #if SDL_VIDEO_DRIVER_PSP
27 #include "../SDL_sysvideo.h"
32 #include "../../events/SDL_mouse_c.h"
33 #include "../../events/SDL_keyboard_c.h"
70 status = PSP_Available();
100 device->driverdata = phdata;
109 device->free = PSP_Destroy;
170 current_mode.
w = 480;
171 current_mode.
h = 272;
206 #define EGLCHK(stmt) \
211 err = eglGetError(); \
212 if (err != EGL_SUCCESS) { \
213 SDL_SetError("EGL error %d", err); \
230 window->driverdata = wdata;
void PSP_GL_DeleteContext(_THIS, SDL_GLContext context)
SDL_GLContext PSP_GL_CreateContext(_THIS, SDL_Window *window)
A collection of pixels used in software blitting.
void PSP_SetWindowTitle(_THIS, SDL_Window *window)
void PSP_SetWindowSize(_THIS, SDL_Window *window)
void * PSP_GL_GetProcAddress(_THIS, const char *proc)
int PSP_GL_SetSwapInterval(_THIS, int interval)
void PSP_ShowScreenKeyboard(_THIS, SDL_Window *window)
void PSP_SetWindowPosition(_THIS, SDL_Window *window)
void PSP_RaiseWindow(_THIS, SDL_Window *window)
SDL_bool PSP_GetWindowWMInfo(_THIS, SDL_Window *window, struct SDL_SysWMinfo *info)
int PSP_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
SDL_DisplayMode desktop_mode
SDL_bool PSP_IsScreenKeyboardShown(_THIS, SDL_Window *window)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
The type used to identify a window.
The structure that defines a display mode.
int PSP_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode)
int PSP_CreateWindowFrom(_THIS, SDL_Window *window, const void *data)
int PSP_GL_LoadLibrary(_THIS, const char *path)
void PSP_SetWindowIcon(_THIS, SDL_Window *window, SDL_Surface *icon)
void PSP_GetDisplayModes(_THIS, SDL_VideoDisplay *display)
void PSP_MaximizeWindow(_THIS, SDL_Window *window)
void PSP_HideScreenKeyboard(_THIS, SDL_Window *window)
#define SDL_MINOR_VERSION
EGLSurface EGLNativeWindowType * window
int PSP_GL_SwapWindow(_THIS, SDL_Window *window)
void PSP_ShowWindow(_THIS, SDL_Window *window)
void PSP_HideWindow(_THIS, SDL_Window *window)
void PSP_PumpEvents(_THIS)
void PSP_DestroyWindow(_THIS, SDL_Window *window)
void PSP_VideoQuit(_THIS)
int SDL_AddVideoDisplay(const SDL_VideoDisplay *display)
VideoBootStrap PSP_bootstrap
#define SDL_OutOfMemory()
int PSP_CreateWindow(_THIS, SDL_Window *window)
void PSP_RestoreWindow(_THIS, SDL_Window *window)
void PSP_SetWindowGrab(_THIS, SDL_Window *window, SDL_bool grabbed)
int PSP_GL_GetSwapInterval(_THIS)
void PSP_GL_UnloadLibrary(_THIS)
#define SDL_Unsupported()
SDL_DisplayMode current_mode
#define SDL_MAJOR_VERSION
static SDL_AudioDeviceID device
@ SDL_PIXELFORMAT_ABGR8888
void PSP_MinimizeWindow(_THIS, SDL_Window *window)
SDL_bool PSP_HasScreenKeyboardSupport(_THIS)