Xcode-iPhoneOS/Test/README
author Sam Lantinga <slouken@libsdl.org>
Thu, 06 Jan 2011 16:11:21 -0800
changeset 4964 6c645018741e
parent 3277 20326ba2bda2
child 5508 60b63c32f06d
permissions -rw-r--r--
Build the SDL library as a shared object on Android, so it will work correctly with SDL_image and SDL_ttf.
     1 TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS.  Most of these test programs work fine, with the following exceptions:
     2 
     3 testalpha:
     4 	Program crashes.  Problem appears to effect Mac OS X as well.
     5 
     6 testhread:
     7 	SIGTERM kills the process immediately without executing the 'kill' function.  The posix standard says this shouldn't happen.  Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?)
     8 
     9 testlock:
    10 	Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT.
    11 
    12 testpalette:
    13 	"SDL error: blitting boat: Blit combination not supported."  Happens on Mac OS X as well.
    14 
    15 testsprite2: 
    16 	SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR.
    17 
    18 testwin:
    19 	Behaves as it does under Mac OS X ... not sure if that is correctly or not.
    20 
    21 threadwin:
    22 	Works if -threaded is not on.  Otherwise it doesn't work, but this is true under Mac OS X as well.