From: "Mike Gorchak" <mike@malva.ua> Subject: Re: Patches for QNX RtP again. SDL_ph_image.c - Added OpenGL update functions - fixed some application crashes. Some dead code removed, reformatting some functions. SDL_ph_image_c.h - Added OpenGL update function prototype. SDL_ph_video.c - Added GL_GetAttribute and GL_SetAttribute functions with next supported flags: SDL_GL_DOUBLEBUFFER, SDL_GL_STENCIL_SIZE, SDL_GL_DEPTH_SIZE GetWMInfo function (stub) has been implemented by me, but not listed in device structure - fixed. SDL_ph_wm.c - fixed warning 'no return in non-void function'. README.QNX - Updating readme. Some spellcheck. ;-) --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40292
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
README by Mike Gorchak <mike@malva.ua>
|
|
|
|
OpenGL support was experimentally added in window mode (in
|
|
fullscreen mode not yet). If you have QNX RtP v6.1.0 w/ or w/o
|
|
Patch A you must download new Photon3D runtime from http://de-
|
|
velopers.qnx.com. The versions of OS before 6.1.0 are not sup-
|
|
ported.
|
|
|
|
Problems:
|
|
1. Fullscreen mode (in OpenGL mode) has not been written yet.
|
|
2. Photon has some errors in detecting how much bits per pi-
|
|
xel videomode has.
|
|
3. No shared libraries yet. We need manually set flag to
|
|
'configure' --disable-shared.
|
|
|
|
Some building issues:
|
|
|
|
Run configure script without x11 support, e.g.:
|
|
|
|
a) for OpenGL support:
|
|
./configure --prefix=/usr/local \
|
|
--disable-video-x11 \
|
|
--disable-shared
|
|
|
|
b) without OpenGL support:
|
|
./configure --prefix=/usr/local \
|
|
--disable-video-x11 \
|
|
--disable-shared \
|
|
--disable-video-opengl
|
|
|
|
In test directory also run ./configure script without x11 support, e.g.:
|
|
|
|
./configure --with-sdl-prefix=/usr/local \
|
|
--with-sdl-exec-prefix=/usr/local \
|
|
--prefix=/usr/local --without-x
|
|
|