README.QNX
author Sam Lantinga <slouken@libsdl.org>
Sat, 02 Mar 2002 16:50:35 +0000
changeset 291 68a8a8237c09
parent 279 04351f59b051
child 309 2de77f7b7a28
permissions -rw-r--r--
Date: Thu, 21 Feb 2002 09:18:24 +0200
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. ;-)
slouken@291
     1
README by Mike Gorchak <mike@malva.ua>
slouken@266
     2
slouken@291
     3
    OpenGL support was experimentally added in window mode (in
slouken@291
     4
fullscreen mode not yet). If you have QNX RtP v6.1.0 w/ or w/o
slouken@291
     5
Patch A you must download new Photon3D runtime from http://de-
slouken@291
     6
velopers.qnx.com. The versions of OS before 6.1.0 are not sup-
slouken@291
     7
ported.
slouken@279
     8
slouken@279
     9
Problems:
slouken@291
    10
1. Fullscreen mode (in OpenGL mode) has not been  written yet.
slouken@291
    11
2. Photon has some errors in detecting  how much bits  per pi-
slouken@291
    12
   xel videomode has.
slouken@291
    13
3. No  shared  libraries  yet. We  need  manually  set flag to
slouken@291
    14
   'configure' --disable-shared.
slouken@266
    15
slouken@266
    16
Some building issues:
slouken@266
    17
slouken@266
    18
    Run configure script without x11 support, e.g.:
slouken@266
    19
slouken@279
    20
    a) for OpenGL support:
slouken@279
    21
    ./configure --prefix=/usr/local \
slouken@279
    22
                --disable-video-x11 \
slouken@279
    23
                --disable-shared
slouken@279
    24
slouken@291
    25
    b) without OpenGL support:
slouken@279
    26
    ./configure --prefix=/usr/local \
slouken@279
    27
                --disable-video-x11 \
slouken@279
    28
                --disable-shared    \
slouken@279
    29
                --disable-video-opengl
slouken@266
    30
slouken@266
    31
    In test directory also run ./configure script without x11 support, e.g.:
slouken@266
    32
slouken@266
    33
    ./configure  --with-sdl-prefix=/usr/local      \
slouken@266
    34
                 --with-sdl-exec-prefix=/usr/local \
slouken@266
    35
                 --prefix=/usr/local --without-x
slouken@279
    36