21 #include "../SDL_internal.h" 23 #ifndef _SDL_sysvideo_h 24 #define _SDL_sysvideo_h 114 #define FULLSCREEN_VISIBLE(W) \ 115 (((W)->flags & SDL_WINDOW_FULLSCREEN) && \ 116 ((W)->flags & SDL_WINDOW_SHOWN) && \ 117 !((W)->flags & SDL_WINDOW_MINIMIZED)) 143 #define _THIS SDL_VideoDevice *_this 248 void *(*GL_GetProcAddress) (
_THIS,
const char *proc);
253 int (*GL_SetSwapInterval) (
_THIS,
int interval);
329 char driver_path[256];
348 #if SDL_VIDEO_OPENGL_EGL 349 struct SDL_EGL_VideoData *egl_data;
352 #if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2 369 #if SDL_VIDEO_DRIVER_COCOA 372 #if SDL_VIDEO_DRIVER_X11 375 #if SDL_VIDEO_DRIVER_MIR 378 #if SDL_VIDEO_DRIVER_DIRECTFB 381 #if SDL_VIDEO_DRIVER_WINDOWS 384 #if SDL_VIDEO_DRIVER_WINRT 387 #if SDL_VIDEO_DRIVER_HAIKU 390 #if SDL_VIDEO_DRIVER_PANDORA 393 #if SDL_VIDEO_DRIVER_UIKIT 396 #if SDL_VIDEO_DRIVER_ANDROID 399 #if SDL_VIDEO_DRIVER_PSP 402 #if SDL_VIDEO_DRIVER_RPI 405 #if SDL_VIDEO_DRIVER_DUMMY 408 #if SDL_VIDEO_DRIVER_WAYLAND 411 #if SDL_VIDEO_DRIVER_NACL 414 #if SDL_VIDEO_DRIVER_VIVANTE 417 #if SDL_VIDEO_DRIVER_EMSCRIPTEN
void SDL_UpdateWindowGrab(SDL_Window *window)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
SDL_DisplayMode fullscreen_mode
GLint GLint GLint GLint GLint x
SDL_TLSID current_glwin_tls
int SDL_AddBasicVideoDisplay(const SDL_DisplayMode *desktop_mode)
A collection of pixels used in software blitting.
void SDL_OnWindowResized(SDL_Window *window)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
The structure that defines a display mode.
SDL_HitTestResult(* SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data)
Callback used for hit-testing.
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
uint32_t Uint32
An unsigned 32-bit integer type.
void SDL_OnWindowEnter(SDL_Window *window)
GLdouble GLdouble GLdouble GLdouble top
int SDL_AddVideoDisplay(const SDL_VideoDisplay *display)
struct SDL_GLDriverData * gl_data
void * SDL_GetDisplayDriverData(int displayIndex)
void SDL_OnWindowHidden(SDL_Window *window)
struct SDL_WindowUserData * next
void SDL_OnWindowMinimized(SDL_Window *window)
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_GLContext current_glctx
int SDL_RecreateWindow(SDL_Window *window, Uint32 flags)
SDL_WindowShaper * shaper
uint8_t Uint8
An unsigned 8-bit integer type.
SDL_Window * SDL_GetFocusWindow(void)
SDL_DisplayMode * display_modes
SDL_DisplayMode current_mode
SDL_VideoDisplay * displays
void SDL_OnWindowLeave(SDL_Window *window)
int framebuffer_srgb_capable
MessageBox structure containing title, text, window, etc.
GLenum GLenum GLsizei const GLuint GLboolean enabled
SDL_Window * fullscreen_window
int share_with_current_context
SDL_bool SDL_ShouldAllowTopmost(void)
SDL_DisplayMode desktop_mode
Uint32 last_fullscreen_flags
static char text[MAX_TEXT_LENGTH]
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
SDL_VideoDisplay * SDL_GetDisplayForWindow(SDL_Window *window)
SDL_TLSID current_glctx_tls
The type used to identify a window.
SDL_Rect rects[MAX_RECTS]
void SDL_OnWindowFocusLost(SDL_Window *window)
uint16_t Uint16
An unsigned 16-bit integer type.
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
GLubyte GLubyte GLubyte GLubyte w
SDL_Window * current_glwin
float SDL_ComputeDiagonalDPI(int hpix, int vpix, float hinches, float vinches)
GLfloat GLfloat GLfloat GLfloat h
SDL_WindowUserData * data
A rectangle, with the origin at the upper left.
void SDL_OnWindowFocusGained(SDL_Window *window)