comparison include/SDL_syswm.h @ 3087:0b6f51c29267

Date: Wed, 4 Mar 2009 15:38:22 +0200 From: "Mike Gorchak" Subject: Re: About QNX support in SDL 1.3 Here is another batch of patches. 1) Makefile.in - added SDL_opengles.h header as header to install. 2) configure.in - Added special define to detect Common Lite OpenGL ES library in case if Common library is not installed. Added check for clock_gettime in libc (in QNX it is in libc). 3) SDL_config.h.in - Added SDL_VIDEO_RENDER_OPENGL_ES and SDL_VIDEO_OPENGL_ES declarations for configure script autodetection. 4) SDL_opengles.h - Added GL_API definition if it is not defined. Added extension GL_OES_draw_texture because OpenGL ES Renderer uses it without declaration. Added GL_OES_vertex_buffer_object extension, which is supported under QNX OpenGL ES. Added GL_OES_single_precision extension. 5) To the test directory I've added building OpenGL ES test applications through the autotools suite. Was support for iPhone IDE building only.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 04 Mar 2009 15:10:47 +0000
parents 99210400e8b9
children 979164e58723
comparison
equal deleted inserted replaced
3086:0102ed19c21a 3087:0b6f51c29267
167 int wimpVersion; /* Wimp version running under */ 167 int wimpVersion; /* Wimp version running under */
168 int taskHandle; /* The RISC OS task handle */ 168 int taskHandle; /* The RISC OS task handle */
169 int window; /* The RISC OS display window */ 169 int window; /* The RISC OS display window */
170 }; 170 };
171 171
172 #elif defined(SDL_VIDEO_DRIVER_PHOTON) 172 #elif defined(SDL_VIDEO_DRIVER_PHOTON) || defined(SDL_VIDEO_DRIVER_QNXGF)
173 #include <sys/neutrino.h> 173 #include <sys/neutrino.h>
174 #include <Ph.h> 174 #include <Ph.h>
175 175
176 /* The QNX custom event structure */ 176 /* The QNX custom event structure */
177 struct SDL_SysWMmsg 177 struct SDL_SysWMmsg
178 { 178 {
179 SDL_version version; 179 SDL_version version;
180 int data; 180 int data;
181 }; 181 };
182 182
183 /* The QNX custom window manager information structure */ 183 /* The QNX Photon custom window manager information structure */
184 struct SDL_SysWMinfo 184 struct SDL_SysWMinfo
185 { 185 {
186 SDL_version version; 186 SDL_version version;
187 int data; 187 int data;
188 }; 188 };