|
@@ -333,6 +333,7 @@ struct SDL_VideoDevice
|
|
|
|
|
|
/* * * */
|
|
|
/* Data common to all drivers */
|
|
|
+ SDL_threadID thread;
|
|
|
SDL_bool checked_texture_framebuffer;
|
|
|
SDL_bool is_dummy;
|
|
|
SDL_bool suspend_screensaver;
|
|
@@ -461,6 +462,8 @@ extern VideoBootStrap NGAGE_bootstrap;
|
|
|
extern VideoBootStrap OS2DIVE_bootstrap;
|
|
|
extern VideoBootStrap OS2VMAN_bootstrap;
|
|
|
|
|
|
+/* Use SDL_OnVideoThread() sparingly, to avoid regressions in use cases that currently happen to work */
|
|
|
+extern SDL_bool SDL_OnVideoThread(void);
|
|
|
extern SDL_VideoDevice *SDL_GetVideoDevice(void);
|
|
|
extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);
|
|
|
extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display, SDL_bool send_event);
|