diff README.QNX @ 821:30168104389f

Date: Sat, 14 Feb 2004 14:52:40 +0200 From: "Mike Gorchak" Subject: Batch of the QNX6 fixes for the SDL 1. Updated readme.QNX 2. Fixed crashes during intensive window updating under fast machines (got over 200 rectangles for update). 3. Fixed double-buffered fullscreen modes, now it works as needed. 4. Fixed Photon detection algorithm. 5. Fixed HWSURFACE update function. 6. Added SDL_PHOTON_FULLSCREEN_REFRESH environment variable support for control refresh rates under Photon. 7. Added 640x400 fullscreen mode emulation via 640x480 (if videodriver not supports original 640x400 mode of course) shifted by 40 vertical pixels from begin, to center it. It's needed for some old DOS games which ran in doubled 320x200 mode. 8. Added available video ram amount support. 8. Added hardware surface allocation/deallocation support if current videomode and videodriver supports it. 9. Added hardware filling support. 10. Added hardware blits support (simple and colorkeyed). And I've added to testvidinfo test color-keyed blits benchmark (maybe need to add alpha blits benchmark too ?). Currently Photon not supporting any alpha hardware blittings (all drivers lack of alpha blitting code support, only software alpha blitting exist in photon, which is hundreds times slowest than the SDL's one). So I've not added the alpha support. I suppose new QNX 6.3 will have the hardware alpha support, so when it will be done, I'll add alpha support.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 14 Feb 2004 20:22:21 +0000
parents b14fdadd8311
children 05c551e5bc64
line wrap: on
line diff
--- a/README.QNX	Sat Feb 14 10:12:27 2004 +0000
+++ b/README.QNX	Sat Feb 14 20:22:21 2004 +0000
@@ -1,5 +1,5 @@
 README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
-Last changed at 30 Sep 2003.
+Last changed at 14 Feb 2004.
 
 ======================================================================
 Table of Contents:
@@ -13,7 +13,7 @@
 7. Environment variables.
 
 ======================================================================
-OpenGL:
+1. OpenGL:
 
     OpenGL works well and is stable, but fullscreen mode has not  been
 heavily tested yet.
@@ -34,7 +34,7 @@
 PHOGL_ATTRIB_FORCE_HW or PHOGL_ATTRIB_FAVOR_HW.
 
 ======================================================================
-Wheel and multi-button mouses:
+2. Wheel and multi-button mouses:
 
     Photon emits  keyboard  events (key up and down)  when  the  mouse
 wheel is moved. The key_scan field appears valid, and it contains zero.
@@ -54,14 +54,14 @@
    front, but works not with any window, looks like bug-o-feature :).
 
 ======================================================================
-CDROM handling issues:
+3. CDROM handling issues:
 
     Access to CDROM can only be  provided  with  'root'  privileges. I
 can't do anything about that, /dev/cd0 has brw------- permissions  and
 root:root rights.
 
 ======================================================================
-Hardware video overlays:
+4. Hardware video overlays:
 
     Overlays can flicker  during  window  movement,  resizing, etc. It
 happens because the photon driver updates the real window contents be-
@@ -82,20 +82,20 @@
 negative coordinates.
 
 =======================================================================
-Shared library building:
+5. Shared library building:
 
     A shared library can be built, but before running  the  autogen.sh
 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
-in SDL distribution before the version 1.2.7 and doesn't know anything
+file), because the libtool stuff in the acinclude.m4 file was very old
+in SDL distribution before the version 1.2.7 and doesn't knew 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:
+6. Some building issues:
 
     Feel free to not use the --disable-shared configure option if you'
 ve read the above comment about 'Shared  library  building'. Otherwise
@@ -123,11 +123,16 @@
                  --prefix=/usr --without-x
 
 ======================================================================
-Environment variables:
+7. Environment variables:
 
     Please note that the photon driver  is  sensible to the  following
 environmental variables:
 
+ * SDL_PHOTON_FULLSCREEN_REFRESH - this environment variable controls
+the refresh rate in all fullscreen modes. Be carefull !!! Photon drivers
+usually do not checking the maximum refresh rate, which video adapter or
+monitor supports.
+
  * 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