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