src/video/uikit/SDL_uikitvideo.m
branchgsoc2008_iphone
changeset 2451 28286ecb3f15
parent 2425 491958a6c881
equal deleted inserted replaced
2450:96124abbcede 2451:28286ecb3f15
    18 
    18 
    19     Sam Lantinga
    19     Sam Lantinga
    20     slouken@libsdl.org
    20     slouken@libsdl.org
    21 */
    21 */
    22 #include "SDL_config.h"
    22 #include "SDL_config.h"
    23 
       
    24 /* Dummy SDL video driver implementation; this is just enough to make an
       
    25  *  SDL-based application THINK it's got a working video driver, for
       
    26  *  applications that call SDL_Init(SDL_INIT_VIDEO) when they don't need it,
       
    27  *  and also for use as a collection of stubs when porting SDL to a new
       
    28  *  platform for which you haven't yet written a valid video driver.
       
    29  *
       
    30  * This is also a great way to determine bottlenecks: if you think that SDL
       
    31  *  is a performance problem for a given platform, enable this driver, and
       
    32  *  then see if your application runs faster without video overhead.
       
    33  *
       
    34  * Initial work by Ryan C. Gordon (icculus@icculus.org). A good portion
       
    35  *  of this was cut-and-pasted from Stephane Peter's work in the AAlib
       
    36  *  SDL video driver.  Renamed to "DUMMY" by Sam Lantinga.
       
    37  */
       
    38 
    23 
    39 #include "SDL_video.h"
    24 #include "SDL_video.h"
    40 #include "SDL_mouse.h"
    25 #include "SDL_mouse.h"
    41 #include "../SDL_sysvideo.h"
    26 #include "../SDL_sysvideo.h"
    42 #include "../SDL_pixels_c.h"
    27 #include "../SDL_pixels_c.h"