Go to the documentation of this file.
21 #include "../../SDL_internal.h"
23 #ifndef SDL_rpiopengles_h_
24 #define SDL_rpiopengles_h_
26 #if SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL
28 #include "../SDL_sysvideo.h"
29 #include "../SDL_egl_c.h"
32 #define RPI_GLES_GetAttribute SDL_EGL_GetAttribute
33 #define RPI_GLES_GetProcAddress SDL_EGL_GetProcAddress
34 #define RPI_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
35 #define RPI_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
36 #define RPI_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
37 #define RPI_GLES_DeleteContext SDL_EGL_DeleteContext
43 extern void RPI_GLES_DefaultProfileConfig(
_THIS,
int *
mask,
int *major,
int *minor);
void * SDL_GLContext
An opaque handle to an OpenGL context.
int RPI_GLES_SwapWindow(_THIS, SDL_Window *window)
int RPI_GLES_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
GLsizei const GLchar *const * path
The type used to identify a window.
static screen_context_t context
EGLSurface EGLNativeWindowType * window
int RPI_GLES_LoadLibrary(_THIS, const char *path)
SDL_GLContext RPI_GLES_CreateContext(_THIS, SDL_Window *window)