mirror of
https://github.com/joel16/SDL2.git
synced 2025-01-22 03:15:32 +00:00
9ddae6eab1
From: "Mike Gorchak" <mike@malva.ua> Subject: New QNX patch. Hi ! 1. Removed warning (possible bug) with invalid type, passing to the function in ph_WarpedMotion. 2. Rewritten handler of Ph_WM_RESIZE message, now works, but buggy (old handler doesn't work at all). 3. Added stub handler for Ph_WM_MAX (maximize) message. 4. Added more #ifdef HAVE_OPENGL to disable OpenGL stuff when it not needed. 5. Added support for SDL_NOFRAME and SDL_RESIZABLE flags (in OpenGL windows too). 6. Added cosmetic changes, if no SDL_RESIZABLE flag defined, disable resize handlers in window border and maximize button at caption. 7. Fixed my bug with invalid arguments count passed to PtCreateWidget call. 8. Fixed some palette problems. 9. Updated README.QNX file. And I changed testgl.c test application: 10. Added in testgl.c application support for SDL_NOFRAME flag and option -noframe. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40321
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
README by Mike Gorchak <mike@malva.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.
|
|
|
|
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
|
|
|