X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README.OMAP;h=b39fb33ec4c00a77c21a8fb7f05f62f6124d1772;hb=f151701dfcb28c9ce6adb5f5c8c89a97d74a5076;hp=4c6be5d544dcae169b8bdaee77967f1e56dd813e;hpb=7b66578c38502c173e310eb68f0cddc2e7b5031e;p=sdl_omap.git diff --git a/README.OMAP b/README.OMAP index 4c6be5d..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,6 +65,9 @@ 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