X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README.OMAP;h=b39fb33ec4c00a77c21a8fb7f05f62f6124d1772;hb=0bb19c41766026c798f9c2aa9dc433a9403c8e39;hp=d99cbc448517e442abfc496206820a613b6bba8e;hpb=50339c939c4c04514b99cf390044e9710381a605;p=sdl_omap.git diff --git a/README.OMAP b/README.OMAP index d99cbc4..b39fb33 100644 --- a/README.OMAP +++ b/README.OMAP @@ -34,15 +34,26 @@ export SDL_VIDEODRIVER=omapdss --- Other environment variables: + SDL_OMAP_LAYER_SIZE: Output layer size. Regardless what you set with SDL_SetVideoMode(), output will be scaled to this size using hardware. Valid values: "WxH", for example "640x480" - "fullscreen" for to cover whole screen. + "fullscreen" to cover whole screen. + SDL_OMAP_VSYNC: - Enables waiting for vertical sync on SDL_Flit() calls. + Enables waiting for vertical sync on SDL_Flip() calls. Set to "1" to enable, "0" to disable. +SDL_OMAP_DEFAULT_MODE: + If the app doesn't specify resolution in SDL_SetVideoMode(), then use this. + Should be specified in "WxH" format, for example "640x480". + +SDL_OMAP_FORCE_DOUBLEBUF: + This can force double buffering to on, which can help to eliminate tearing. + Note that if app isn't updating whole buffer each frame, it will glitch. + This is the same as specifying SDL_DOUBLEBUF to SDL_SetVideoMode. + Config file ----------- @@ -54,8 +65,17 @@ options (only when omapdss driver is active): # same as SDL_OMAP_VSYNC force_vsync = 1/0 +# same as SDL_OMAP_FORCE_DOUBLEBUF +force_doublebuf = 1/0 + # can be used to bind a key to SDL keysym, good for quick ports. # Example: # bind ev_home = sdlk_space bind ev_ = + +Source +------ + +Available at git://notaz.gp2x.de/~notaz/sdl_omap.git +