21 #include "../SDL_internal.h" 23 #ifndef SDL_sysvideo_h_ 24 #define SDL_sysvideo_h_ 116 #define FULLSCREEN_VISIBLE(W) \ 117 (((W)->flags & SDL_WINDOW_FULLSCREEN) && \ 118 ((W)->flags & SDL_WINDOW_SHOWN) && \ 119 !((W)->flags & SDL_WINDOW_MINIMIZED)) 145 #define _THIS SDL_VideoDevice *_this 255 void *(*GL_GetProcAddress) (
_THIS,
const char *proc);
260 int (*GL_SetSwapInterval) (
_THIS,
int interval);
350 char driver_path[256];
371 char loader_path[256];
380 #if SDL_VIDEO_OPENGL_EGL 381 struct SDL_EGL_VideoData *egl_data;
384 #if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
void SDL_UpdateWindowGrab(SDL_Window *window)
void SDL_OnApplicationWillTerminate(void)
void SDL_OnApplicationDidEnterBackground(void)
VideoBootStrap X11_bootstrap
SDL_DisplayMode fullscreen_mode
GLint GLint GLint GLint GLint x
VideoBootStrap KMSDRM_bootstrap
GLuint GLuint GLsizei count
VideoBootStrap MIR_bootstrap
SDL_TLSID current_glwin_tls
VideoBootStrap Wayland_bootstrap
GLfloat GLfloat GLfloat GLfloat h
int SDL_AddBasicVideoDisplay(const SDL_DisplayMode *desktop_mode)
A collection of pixels used in software blitting.
void SDL_OnWindowResized(SDL_Window *window)
VideoBootStrap QNX_bootstrap
static screen_context_t context
The structure that defines a display mode.
VideoBootStrap DirectFB_bootstrap
SDL_HitTestResult(* SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data)
Callback used for hit-testing.
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void SDL_OnApplicationDidBecomeActive(void)
VideoBootStrap Emscripten_bootstrap
void SDL_OnWindowEnter(SDL_Window *window)
GLdouble GLdouble GLdouble GLdouble top
VideoBootStrap NACL_bootstrap
PFN_vkVoidFunction(VKAPI_PTR * PFN_vkGetInstanceProcAddr)(VkInstance instance, const char *pName)
int SDL_AddVideoDisplay(const SDL_VideoDisplay *display)
VideoBootStrap HAIKU_bootstrap
struct SDL_GLDriverData * gl_data
void * SDL_GetDisplayDriverData(int displayIndex)
void SDL_OnWindowHidden(SDL_Window *window)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
struct SDL_WindowUserData * next
void SDL_OnWindowMinimized(SDL_Window *window)
VideoBootStrap Android_bootstrap
VideoBootStrap VIVANTE_bootstrap
void * SDL_GLContext
An opaque handle to an OpenGL context.
VideoBootStrap WINRT_bootstrap
SDL_GLContext current_glctx
void SDL_OnApplicationDidReceiveMemoryWarning(void)
VideoBootStrap WINDOWS_bootstrap
int SDL_RecreateWindow(SDL_Window *window, Uint32 flags)
SDL_WindowShaper * shaper
SDL_Window * SDL_GetFocusWindow(void)
SDL_DisplayMode * display_modes
void SDL_GL_DeduceMaxSupportedESProfile(int *major, int *minor)
SDL_DisplayMode current_mode
GLubyte GLubyte GLubyte GLubyte w
SDL_VideoDisplay * displays
void SDL_OnWindowLeave(SDL_Window *window)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
int framebuffer_srgb_capable
MessageBox structure containing title, text, window, etc.
VideoBootStrap PSP_bootstrap
void SDL_OnApplicationWillResignActive(void)
GLenum GLenum GLsizei const GLuint GLboolean enabled
SDL_Window * fullscreen_window
int share_with_current_context
SDL_bool SDL_ShouldAllowTopmost(void)
VideoBootStrap RPI_bootstrap
SDL_DisplayMode desktop_mode
Uint32 last_fullscreen_flags
VideoBootStrap DUMMY_bootstrap
static char text[MAX_TEXT_LENGTH]
SDL_bool SDL_HasWindows(void)
SDL_VideoDisplay * SDL_GetDisplayForWindow(SDL_Window *window)
EGLSurface EGLNativeWindowType * window
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties
SDL_TLSID current_glctx_tls
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
The type used to identify a window.
VideoBootStrap PND_bootstrap
VideoBootStrap COCOA_bootstrap
void SDL_OnWindowFocusLost(SDL_Window *window)
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr
SDL_bool SDL_AddDisplayMode(SDL_VideoDisplay *display, const SDL_DisplayMode *mode)
SDL_Window * grabbed_window
SDL_VideoDevice * SDL_GetVideoDevice(void)
SDL_ShapeDriver shape_driver
SDL_bool suspend_screensaver
union SDL_SysWMinfo::@18 info
void SDL_OnWindowRestored(SDL_Window *window)
void SDL_OnWindowShown(SDL_Window *window)
A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents...
GLsizei const GLchar *const * path
VideoBootStrap UIKIT_bootstrap
EGLSurface EGLint * rects
VkResult(VKAPI_PTR * PFN_vkEnumerateInstanceExtensionProperties)(const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
SDL_Window * current_glwin
float SDL_ComputeDiagonalDPI(int hpix, int vpix, float hinches, float vinches)
SDL_WindowUserData * data
A rectangle, with the origin at the upper left.
void SDL_OnApplicationWillEnterForeground(void)
void SDL_OnWindowFocusGained(SDL_Window *window)