src/video/SDL_egl_c.h
changeset 12376 cfc65d4d49ae
parent 12269 754cd2042e21
child 12503 806492103856
equal deleted inserted replaced
12375:d9a16c76d8d1 12376:cfc65d4d49ae
    35     EGLDisplay egl_display;
    35     EGLDisplay egl_display;
    36     EGLConfig egl_config;
    36     EGLConfig egl_config;
    37     int egl_swapinterval;
    37     int egl_swapinterval;
    38     int egl_surfacetype;
    38     int egl_surfacetype;
    39     int egl_version_major, egl_version_minor;
    39     int egl_version_major, egl_version_minor;
       
    40     EGLint egl_required_visual_id;
    40     
    41     
    41     EGLDisplay(EGLAPIENTRY *eglGetDisplay) (NativeDisplayType display);
    42     EGLDisplay(EGLAPIENTRY *eglGetDisplay) (NativeDisplayType display);
    42     EGLDisplay(EGLAPIENTRY *eglGetPlatformDisplay) (EGLenum platform,
    43     EGLDisplay(EGLAPIENTRY *eglGetPlatformDisplay) (EGLenum platform,
    43                                 void *native_display,
    44                                 void *native_display,
    44                                 const EGLint *attrib_list);
    45                                 const EGLint *attrib_list);
   100  * or, if 0 is passed, let the implementation decide.
   101  * or, if 0 is passed, let the implementation decide.
   101  */
   102  */
   102 extern int SDL_EGL_LoadLibrary(_THIS, const char *path, NativeDisplayType native_display, EGLenum platform);
   103 extern int SDL_EGL_LoadLibrary(_THIS, const char *path, NativeDisplayType native_display, EGLenum platform);
   103 extern void *SDL_EGL_GetProcAddress(_THIS, const char *proc);
   104 extern void *SDL_EGL_GetProcAddress(_THIS, const char *proc);
   104 extern void SDL_EGL_UnloadLibrary(_THIS);
   105 extern void SDL_EGL_UnloadLibrary(_THIS);
       
   106 extern void SDL_EGL_SetRequiredVisualId(_THIS, int visual_id);
   105 extern int SDL_EGL_ChooseConfig(_THIS);
   107 extern int SDL_EGL_ChooseConfig(_THIS);
   106 extern int SDL_EGL_SetSwapInterval(_THIS, int interval);
   108 extern int SDL_EGL_SetSwapInterval(_THIS, int interval);
   107 extern int SDL_EGL_GetSwapInterval(_THIS);
   109 extern int SDL_EGL_GetSwapInterval(_THIS);
   108 extern void SDL_EGL_DeleteContext(_THIS, SDL_GLContext context);
   110 extern void SDL_EGL_DeleteContext(_THIS, SDL_GLContext context);
   109 extern EGLSurface *SDL_EGL_CreateSurface(_THIS, NativeWindowType nw);
   111 extern EGLSurface *SDL_EGL_CreateSurface(_THIS, NativeWindowType nw);