comparison src/video/x11/SDL_x11yuv.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 /* This is the XFree86 Xv extension implementation of YUV video overlays */ 23 /* This is the XFree86 Xv extension implementation of YUV video overlays */
24 24
25 #ifdef XFREE86_XV 25 #include "SDL_config.h"
26
27 #if SDL_VIDEO_DRIVER_X11_XV
26 28
27 #include <X11/Xlib.h> 29 #include <X11/Xlib.h>
28 #ifndef NO_SHARED_MEMORY 30 #ifndef NO_SHARED_MEMORY
29 #include <sys/ipc.h> 31 #include <sys/ipc.h>
30 #include <sys/shm.h> 32 #include <sys/shm.h>
31 #include <X11/extensions/XShm.h> 33 #include <X11/extensions/XShm.h>
32 #endif 34 #endif
33 #include <Xext/extensions/Xvlib.h> 35 #include "../Xext/extensions/Xvlib.h"
34 36
35 #include "SDL_video.h"
36 #include "SDL_x11yuv_c.h" 37 #include "SDL_x11yuv_c.h"
37 #include "SDL_yuvfuncs.h" 38 #include "../SDL_yuvfuncs.h"
38 39
39 #define XFREE86_REFRESH_HACK 40 #define XFREE86_REFRESH_HACK
40 #ifdef XFREE86_REFRESH_HACK 41 #ifdef XFREE86_REFRESH_HACK
41 #include "SDL_x11image_c.h" 42 #include "SDL_x11image_c.h"
42 #endif 43 #endif
405 #ifdef XFREE86_REFRESH_HACK 406 #ifdef XFREE86_REFRESH_HACK
406 X11_EnableAutoRefresh(this); 407 X11_EnableAutoRefresh(this);
407 #endif 408 #endif
408 } 409 }
409 410
410 #endif /* XFREE86_XV */ 411 #endif /* SDL_VIDEO_DRIVER_X11_XV */