comparison include/SDL_syswm.h @ 471:26dafefeebb2

Date: Sat, 24 Aug 2002 22:20:01 -0600 From: "Greg Haerr" Subject: Announce: sdl-nanox-patch Sam, I've created an update patch for enhanced Nano-X support with SDL. I've created the patch against SDL-1.2.4. I'd appreciate it if you would apply it to the next SDL version. Enhancements include: 1. Small bugfixes to compile without errors 2. Support for direct client-side framebuffer access with configure option 3. Add dynamic pixel type support for hardware framebuffer; eliminating the need for compile-time configuration option. I've updated the README.NanoX file with the details. This version has been tested with Microwindows v0.89pre9 CVS and SMPEG 0.4.4. I've added multi-threading support to Microwindows to support the multi-threaded SMPEG, and all works fine. To turn on thread safety in Microwindows, use THREADSAFE=Y in the Microwindows config file. Thanks! Regards, Greg Founder, The Microwindows Project http://microwindows.org
author Sam Lantinga <slouken@libsdl.org>
date Sun, 25 Aug 2002 06:21:49 +0000
parents f9c5f135a8b9
children 550bccdf04bd
comparison
equal deleted inserted replaced
470:877b992f2d0c 471:26dafefeebb2
48 typedef struct SDL_SysWMinfo SDL_SysWMinfo; 48 typedef struct SDL_SysWMinfo SDL_SysWMinfo;
49 #else 49 #else
50 50
51 /* This is the structure for custom window manager events */ 51 /* This is the structure for custom window manager events */
52 #if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \ 52 #if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
53 (!defined(DISABLE_X11) && !defined(__CYGWIN32__)) 53 (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX))
54 /* AIX is unix, of course, but the native compiler CSet doesn't define unix */ 54 /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
55 #include <X11/Xlib.h> 55 #include <X11/Xlib.h>
56 #include <X11/Xatom.h> 56 #include <X11/Xatom.h>
57 57
58 /* These are the various supported subsystems under UNIX */ 58 /* These are the various supported subsystems under UNIX */