README.QNX
author Sam Lantinga <slouken@libsdl.org>
Tue, 28 May 2002 19:31:32 +0000
changeset 380 bce7171e7a85
parent 320 66f815c147ed
child 663 8bedd6d61642
permissions -rw-r--r--
Date: Wed, 22 May 2002 22:30:58 +0300
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.
     1 README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
     2 
     3     OpenGL in window mode  works well  and  stable, in fullscreen
     4 mode too, but fullscreen mode has not been heavily tested.
     5     If you have QNX RtP 6.1.0 w/ or w/o Patch A you must download
     6 new Photon3D runtime from http://developers.qnx.com. The versions
     7 of OS before 6.1.0 are not supported.
     8 
     9 Problems:
    10 1. While  creating  OpenGL  context  software  renderer  mode  is
    11    artificially selected (QSSL made acceleration only for  Voodoo
    12    boards in fullscreen mode, sorry but I don't have  this board,
    13    if you want acceleration - you may remove some line  in source
    14    code).
    15 2. Photon has some errors in detecting  how  much bits  per pixel
    16    videomode has.
    17 3. No  shared  libraries  yet.  We  need  manually  set  flag  to
    18    'configure' --disable-shared.
    19 4. Due to Photon API limitation, flag SDL_HWSURFACE supported on-
    20    ly in case of desktop bpp is equal requested bpp in window mo-
    21    de.
    22 
    23 Some building issues:
    24 
    25     Run configure script without x11 support, e.g.:
    26 
    27     a) for OpenGL support:
    28     ./configure --prefix=/usr/local \
    29                 --disable-video-x11 \
    30                 --disable-shared
    31 
    32     b) without OpenGL support:
    33     ./configure --prefix=/usr/local \
    34                 --disable-video-x11 \
    35                 --disable-shared    \
    36                 --disable-video-opengl
    37 
    38     In test directory  also run  ./configure  script  without x11
    39 support, e.g.:
    40 
    41     ./configure  --with-sdl-prefix=/usr/local      \
    42                  --with-sdl-exec-prefix=/usr/local \
    43                  --prefix=/usr/local --without-x
    44