21#include "SDL_config.h"
23#ifndef SDL_winrtopengles_h_
24#define SDL_winrtopengles_h_
26#if SDL_VIDEO_DRIVER_WINRT && SDL_VIDEO_OPENGL_EGL
28#include "../SDL_sysvideo.h"
29#include "../SDL_egl_c.h"
32#define WINRT_GLES_GetAttribute SDL_EGL_GetAttribute
33#define WINRT_GLES_GetProcAddress SDL_EGL_GetProcAddress
34#define WINRT_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
35#define WINRT_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
36#define WINRT_GLES_DeleteContext SDL_EGL_DeleteContext
38extern int WINRT_GLES_LoadLibrary(
_THIS,
const char *
path);
39extern void WINRT_GLES_UnloadLibrary(
_THIS);
50typedef Microsoft::WRL::ComPtr<IUnknown> WINRT_EGLNativeWindowType_Old;
57typedef HRESULT (
EGLAPIENTRY *CreateWinrtEglWindow_Old_Function)(Microsoft::WRL::ComPtr<IUnknown>, int, IUnknown **
result);
GLsizei const GLchar *const * path
void * SDL_GLContext
An opaque handle to an OpenGL context.
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
static screen_context_t context