README.QNX
changeset 753 b14fdadd8311
parent 718 cbc0f7fabd1c
child 821 30168104389f
     1.1 --- a/README.QNX	Wed Dec 10 12:32:38 2003 +0000
     1.2 +++ b/README.QNX	Wed Dec 10 12:35:56 2003 +0000
     1.3 @@ -1,5 +1,16 @@
     1.4  README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
     1.5 -Last changed at 12 Aug 2003.
     1.6 +Last changed at 30 Sep 2003.
     1.7 +
     1.8 +======================================================================
     1.9 +Table of Contents:
    1.10 +
    1.11 +1. OpenGL.
    1.12 +2. Wheel and multi-button mouses.
    1.13 +3. CDROM handling issues.
    1.14 +4. Hardware video overlays.
    1.15 +5. Shared library building.
    1.16 +6. Some building issues.
    1.17 +7. Environment variables.
    1.18  
    1.19  ======================================================================
    1.20  OpenGL:
    1.21 @@ -14,7 +25,7 @@
    1.22  cially selected (QSSL made acceleration  only  for  Voodoo  boards  in
    1.23  fullscreen mode, sorry but I don't have this board  to  test  OpenGL -
    1.24  maybe it works or maybe not :)). If you  want  acceleration - you  can
    1.25 -remove one line in the source code: find the  file SDL_ph_video.c  and
    1.26 +remove one line in the source code: find the  file SDL_ph_image.c  and
    1.27  remove the following
    1.28  
    1.29      OGLAttrib[OGLargc++]=PHOGL_ATTRIB_FORCE_SW;
    1.30 @@ -50,7 +61,7 @@
    1.31  root:root rights.
    1.32  
    1.33  ======================================================================
    1.34 -Video Overlays:
    1.35 +Hardware video overlays:
    1.36  
    1.37      Overlays can flicker  during  window  movement,  resizing, etc. It
    1.38  happens because the photon driver updates the real window contents be-
    1.39 @@ -77,8 +88,11 @@
    1.40  script you must manually delete the libtool.m4 stuff from the acinclu-
    1.41  de.m4 file (it comes after the ESD detection code up to the end of the
    1.42  file), because the libtool stuff in the acinclude.m4 file is very  old
    1.43 -and  doesn't  know  anything  about  QNX. Just   remove  it, then  run
    1.44 -"libtoolize --force --copy" and after that run the autogen.sh script.
    1.45 +in SDL distribution before the version 1.2.7 and doesn't know anything
    1.46 +about QNX. SDL 1.2.7 distribution contain  the  new libtool.m4 script,
    1.47 +but anyway  it  is  broken :), Just  remove  it, then  run "libtoolize
    1.48 +--force --copy",  delete the file aclocal.m4 and after  that  run  the
    1.49 +autogen.sh script.
    1.50  
    1.51  ======================================================================
    1.52  Some building issues:
    1.53 @@ -107,3 +121,24 @@
    1.54      ./configure  --with-sdl-prefix=/usr            \
    1.55                   --with-sdl-exec-prefix=/usr       \
    1.56                   --prefix=/usr --without-x
    1.57 +
    1.58 +======================================================================
    1.59 +Environment variables:
    1.60 +
    1.61 +    Please note that the photon driver  is  sensible to the  following
    1.62 +environmental variables:
    1.63 +
    1.64 + * SDL_VIDEO_WINDOW_POS - can be  set in the "X,Y" format.  If X and Y
    1.65 +coordinates are bigger than the current desktop resolution, then  win-
    1.66 +dow positioning across  virtual  consoles is activated. If X and Y are
    1.67 +smaller than the desktop resolution  then  window  positioning  in the
    1.68 +current console is activated. The word "center" can be used instead of
    1.69 +coordinates, it  produces  the  same  behavior  as  SDL_VIDEO_CENTERED
    1.70 +environmental variable.
    1.71 +
    1.72 + * SDL_VIDEO_CENTERED - if this environmental variable exists then the
    1.73 +window centering is perfomed in the current virtual console.
    1.74 +
    1.75 +    The SDL_VIDEO_CENTERED enviromental variable has greater  priority
    1.76 +than the SDL_VIDEO_WINDOW_POS in case if both variables  are  supplied
    1.77 +to the application.