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