src/video/SDL_sysvideo.h
changeset 8535 e8ee0708ef5c
parent 8477 ad08f0d710f3
parent 7853 4861edda71d1
child 8543 b9dd3cf38585
     1.1 --- a/src/video/SDL_sysvideo.h	Sun Oct 27 14:31:57 2013 -0400
     1.2 +++ b/src/video/SDL_sysvideo.h	Sun Oct 27 21:26:46 2013 -0400
     1.3 @@ -224,6 +224,7 @@
     1.4      void (*GL_UnloadLibrary) (_THIS);
     1.5        SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window);
     1.6      int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context);
     1.7 +    void (*GL_GetDrawableSize) (_THIS, SDL_Window * window, int *w, int *h);
     1.8      int (*GL_SetSwapInterval) (_THIS, int interval);
     1.9      int (*GL_GetSwapInterval) (_THIS);
    1.10      void (*GL_SwapWindow) (_THIS, SDL_Window * window);
    1.11 @@ -291,8 +292,8 @@
    1.12          int minor_version;
    1.13          int flags;
    1.14          int profile_mask;
    1.15 -        int use_egl;
    1.16          int share_with_current_context;
    1.17 +        int framebuffer_srgb_capable;
    1.18          int retained_backing;
    1.19          int driver_loaded;
    1.20          char driver_path[256];
    1.21 @@ -313,7 +314,11 @@
    1.22      /* Data private to this driver */
    1.23      void *driverdata;
    1.24      struct SDL_GLDriverData *gl_data;
    1.25 -
    1.26 +    
    1.27 +#if SDL_VIDEO_OPENGL_EGL
    1.28 +    struct SDL_EGL_VideoData *egl_data;
    1.29 +#endif
    1.30 +    
    1.31  #if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
    1.32      struct SDL_PrivateGLESData *gles_data;
    1.33  #endif
    1.34 @@ -361,6 +366,9 @@
    1.35  #if SDL_VIDEO_DRIVER_PSP
    1.36  extern VideoBootStrap PSP_bootstrap;
    1.37  #endif
    1.38 +#if SDL_VIDEO_DRIVER_RPI
    1.39 +extern VideoBootStrap RPI_bootstrap;
    1.40 +#endif
    1.41  #if SDL_VIDEO_DRIVER_DUMMY
    1.42  extern VideoBootStrap DUMMY_bootstrap;
    1.43  #endif
    1.44 @@ -370,6 +378,7 @@
    1.45  extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display);
    1.46  extern SDL_bool SDL_AddDisplayMode(SDL_VideoDisplay *display, const SDL_DisplayMode * mode);
    1.47  extern SDL_VideoDisplay *SDL_GetDisplayForWindow(SDL_Window *window);
    1.48 +extern void *SDL_GetDisplayDriverData( int displayIndex );
    1.49  
    1.50  extern int SDL_RecreateWindow(SDL_Window * window, Uint32 flags);
    1.51