upgrade SDL to version 2.0.8
[platform/upstream/SDL.git] / src / video / SDL_sysvideo.h
index 9df71c9..0467236 100755 (executable)
@@ -112,6 +112,7 @@ struct SDL_Window
 
     SDL_Window *prev;
     SDL_Window *next;
+
 };
 #define FULLSCREEN_VISIBLE(W) \
     (((W)->flags & SDL_WINDOW_FULLSCREEN) && \
@@ -349,6 +350,9 @@ struct SDL_VideoDevice
         int driver_loaded;
         char driver_path[256];
         void *dll_handle;
+#ifdef __TIZEN__
+        int context_priority_level;
+#endif
     } gl_config;
 
     /* * * */
@@ -388,6 +392,13 @@ struct SDL_VideoDevice
     /* * * */
     /* The function used to dispose of this structure */
     void (*free) (_THIS);
+
+
+
+
+#if __TIZEN__
+    void (*GetWindowSize) (_THIS, SDL_Window * window, int *w, int *h);
+#endif
 };
 
 typedef struct VideoBootStrap
@@ -418,6 +429,7 @@ extern VideoBootStrap NACL_bootstrap;
 extern VideoBootStrap VIVANTE_bootstrap;
 extern VideoBootStrap Emscripten_bootstrap;
 extern VideoBootStrap QNX_bootstrap;
+extern VideoBootStrap TIZEN_bootstrap;
 
 extern SDL_VideoDevice *SDL_GetVideoDevice(void);
 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);