Mercurial > sdl-ios-xcode
diff README.QNX @ 753:b14fdadd8311
Date: Thu, 4 Dec 2003 07:48:40 +0200
From: "Mike Gorchak"
Subject: SDL/QNX6 new patch
Here in attachment my patch for the SDL/QNX6 again :) It contain non-crtitical/cosmetic fixes:
1. Fixed window centering at other than the first consoles.
2. Fixed window centering algorithm in case when window height or width are greater than the desktop resolution.
3. Fixed window positioning on other than the first consoles.
4. Fixed occasional input focus lost when switching to fullscreen.
5. Removed the Photon's default chroma color for the overlays, added RGB(12, 6, 12) color instead (very dark pink).
6. Added more checks to the YUV overlay code (fixed crashes during resolution mode switches).
7. Added support for Enter/Backspace keys in unicode mode (used by Maelstrom and by other games).
8. Fixed window restore/maximize function. It works, finally.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Dec 2003 12:35:56 +0000 |
parents | cbc0f7fabd1c |
children | 30168104389f |
line wrap: on
line diff
--- a/README.QNX Wed Dec 10 12:32:38 2003 +0000 +++ b/README.QNX Wed Dec 10 12:35:56 2003 +0000 @@ -1,5 +1,16 @@ README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua> -Last changed at 12 Aug 2003. +Last changed at 30 Sep 2003. + +====================================================================== +Table of Contents: + +1. OpenGL. +2. Wheel and multi-button mouses. +3. CDROM handling issues. +4. Hardware video overlays. +5. Shared library building. +6. Some building issues. +7. Environment variables. ====================================================================== OpenGL: @@ -14,7 +25,7 @@ cially selected (QSSL made acceleration only for Voodoo boards in fullscreen mode, sorry but I don't have this board to test OpenGL - maybe it works or maybe not :)). If you want acceleration - you can -remove one line in the source code: find the file SDL_ph_video.c and +remove one line in the source code: find the file SDL_ph_image.c and remove the following OGLAttrib[OGLargc++]=PHOGL_ATTRIB_FORCE_SW; @@ -50,7 +61,7 @@ root:root rights. ====================================================================== -Video Overlays: +Hardware video overlays: Overlays can flicker during window movement, resizing, etc. It happens because the photon driver updates the real window contents be- @@ -77,8 +88,11 @@ script you must manually delete the libtool.m4 stuff from the acinclu- de.m4 file (it comes after the ESD detection code up to the end of the file), because the libtool stuff in the acinclude.m4 file is very old -and doesn't know anything about QNX. Just remove it, then run -"libtoolize --force --copy" and after that run the autogen.sh script. +in SDL distribution before the version 1.2.7 and doesn't know anything +about QNX. SDL 1.2.7 distribution contain the new libtool.m4 script, +but anyway it is broken :), Just remove it, then run "libtoolize +--force --copy", delete the file aclocal.m4 and after that run the +autogen.sh script. ====================================================================== Some building issues: @@ -107,3 +121,24 @@ ./configure --with-sdl-prefix=/usr \ --with-sdl-exec-prefix=/usr \ --prefix=/usr --without-x + +====================================================================== +Environment variables: + + Please note that the photon driver is sensible to the following +environmental variables: + + * SDL_VIDEO_WINDOW_POS - can be set in the "X,Y" format. If X and Y +coordinates are bigger than the current desktop resolution, then win- +dow positioning across virtual consoles is activated. If X and Y are +smaller than the desktop resolution then window positioning in the +current console is activated. The word "center" can be used instead of +coordinates, it produces the same behavior as SDL_VIDEO_CENTERED +environmental variable. + + * SDL_VIDEO_CENTERED - if this environmental variable exists then the +window centering is perfomed in the current virtual console. + + The SDL_VIDEO_CENTERED enviromental variable has greater priority +than the SDL_VIDEO_WINDOW_POS in case if both variables are supplied +to the application.