mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-05 01:46:25 +00:00
26d1c3e548
From: "Mike Gorchak" <mike@malva.com.ua> Subject: One more QNX patch Hi ! - Fixed graywin test application. Added properly support for window size not equal to 640x480. - Added support for not aligned pitch of image in SDL_SWSURFACE and SDL_HWSURFACE. Using Photon builtin alignes. - Added memory clear after each malloc to avoid problems in the future :) - Removed unused variables and static variables, fixed some warnings. - Updated readme.QNX file. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40381
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
|
|
|
|
OpenGL in window mode works well and stable, in fullscreen
|
|
mode too, but fullscreen mode has not been heavily tested.
|
|
If you have QNX RtP 6.1.0 w/ or w/o Patch A you must download
|
|
new Photon3D runtime from http://developers.qnx.com. The versions
|
|
of OS before 6.1.0 are not supported.
|
|
|
|
Problems:
|
|
1. While creating OpenGL context software renderer mode is
|
|
artificially selected (QSSL made acceleration only for Voodoo
|
|
boards in fullscreen mode, sorry but I don't have this board,
|
|
if you want acceleration - you may remove some line in source
|
|
code).
|
|
2. Photon has some errors in detecting how much bits per pixel
|
|
videomode has.
|
|
3. No shared libraries yet. We need manually set flag to
|
|
'configure' --disable-shared.
|
|
4. Due to Photon API limitation, flag SDL_HWSURFACE supported on-
|
|
ly in case of desktop bpp is equal requested bpp in window mo-
|
|
de.
|
|
|
|
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
|
|
|