21 #include "../../SDL_internal.h" 23 #ifndef SDL_x11modes_h_ 24 #define SDL_x11modes_h_ 42 #if SDL_VIDEO_DRIVER_X11_XINERAMA 43 XineramaScreenInfo xinerama_info;
47 #if SDL_VIDEO_DRIVER_X11_XRANDR 48 RROutput xrandr_output;
51 #if SDL_VIDEO_DRIVER_X11_XVIDMODE 59 #if SDL_VIDEO_DRIVER_X11_XRANDR 63 #if SDL_VIDEO_DRIVER_X11_XVIDMODE 64 XF86VidModeModeInfo vm_mode;
Uint32 X11_GetPixelFormatFromVisualInfo(Display *display, XVisualInfo *vinfo)
int X11_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode)
The structure that defines a display mode.
int X11_GetDisplayBounds(_THIS, SDL_VideoDisplay *sdl_display, SDL_Rect *rect)
void X11_GetDisplayModes(_THIS, SDL_VideoDisplay *display)
int X11_GetDisplayDPI(_THIS, SDL_VideoDisplay *sdl_display, float *ddpi, float *hdpi, float *vdpi)
void X11_QuitModes(_THIS)
int X11_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay *sdl_display, SDL_Rect *rect)
int X11_GetVisualInfoFromVisual(Display *display, Visual *visual, XVisualInfo *vinfo)
A rectangle, with the origin at the upper left.