Merge "[SDL_Tizen] Add to support EGL_IMG_context_priority extension" into tizen
[platform/upstream/SDL.git] / src / video / SDL_sysvideo.h
index 13fea6c..99510b5 100755 (executable)
@@ -347,8 +347,20 @@ struct SDL_VideoDevice
     /* The function used to dispose of this structure */
     void (*free) (_THIS);
 
-    SDL_bool (*vulkan_GetInstanceExtensions) (const char* driver, unsigned int* count, char** names);
+    /* * * */
+    /* Data used by the Vulkan drivers */
+    struct {
+        int driver_loaded;
+    } vk_config;
+
+    SDL_bool (*vulkan_GetInstanceExtensions) (_THIS, const char* driver, unsigned int* count, char** names);
     SDL_bool (*vulkan_CreateSurface) (_THIS, SDL_Window* window, SDL_vulkanInstance instance, SDL_vulkanSurface* surface);
+    int      (*vulkan_LoadLibrary) (_THIS, const char *path);
+
+#if SDL_VIDEO_VULKAN
+    struct SDL_vulkan_Data *vk_data;
+#endif
+
 #if __TIZEN__
     void (*GetWindowSize) (_THIS, SDL_Window * window, int *w, int *h);
 #endif