Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.h @ 292:eadc0746dfaf
Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 05 Mar 2002 19:55:32 +0000 |
parents | 37fa1484f71b |
children | f6ffac90895c |
comparison
equal
deleted
inserted
replaced
291:68a8a8237c09 | 292:eadc0746dfaf |
---|---|
35 #include <sys/ipc.h> | 35 #include <sys/ipc.h> |
36 #include <sys/shm.h> | 36 #include <sys/shm.h> |
37 #include <X11/extensions/XShm.h> | 37 #include <X11/extensions/XShm.h> |
38 #endif | 38 #endif |
39 #ifdef XFREE86_DGAMOUSE | 39 #ifdef XFREE86_DGAMOUSE |
40 #include <X11/extensions/xf86dga.h> | 40 #include <XFree86/extensions/xf86dga.h> |
41 #endif | 41 #endif |
42 #ifdef XFREE86_VM | 42 #ifdef XFREE86_VM |
43 #include <X11/extensions/xf86vmode.h> | 43 #include <XFree86/extensions/xf86vmode.h> |
44 #ifdef XFREE86_VM_DYNAMIC_HACK | |
45 #define XVidMode(func, args) XF40VidMode##func args | |
46 #else | |
47 #define XVidMode(func, args) XF86VidMode##func args | |
48 #endif | 44 #endif |
49 #endif /* XFREE86_VM */ | |
50 #ifdef HAVE_XIGXME | 45 #ifdef HAVE_XIGXME |
51 #include <X11/extensions/xme.h> | 46 #include <X11/extensions/xme.h> |
52 #endif | 47 #endif |
53 | 48 |
54 #include <string.h> | 49 #include <string.h> |
116 Visual *vis; /* current visual in use */ | 111 Visual *vis; /* current visual in use */ |
117 int depth; /* current visual depth (not bpp) */ | 112 int depth; /* current visual depth (not bpp) */ |
118 | 113 |
119 /* Variables used by the X11 video mode code */ | 114 /* Variables used by the X11 video mode code */ |
120 #ifdef XFREE86_VM | 115 #ifdef XFREE86_VM |
121 XF86VidModeModeInfo saved_mode; | 116 SDL_NAME(XF86VidModeModeInfo) saved_mode; |
122 struct { | 117 struct { |
123 int x, y; | 118 int x, y; |
124 } saved_view; | 119 } saved_view; |
125 #endif | 120 #endif |
126 #ifdef HAVE_XIGXME /* XiG XME fullscreen */ | 121 #ifdef HAVE_XIGXME /* XiG XME fullscreen */ |