X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README.OMAP;h=2da9e26cb24d5f769842a2cc5acdf659c3d03308;hb=455c8c43b353b60ebbb70caa09ae87be49520838;hp=0b5bb4cbdce09fa0bdd6aaccd347309b177c30de;hpb=5d957fa546b1d2df1ccebc98c1a45cae38092f5e;p=sdl_omap.git diff --git a/README.OMAP b/README.OMAP index 0b5bb4c..2da9e26 100644 --- a/README.OMAP +++ b/README.OMAP @@ -37,9 +37,19 @@ 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: + will be scaled to this size using hardware with zero processing cost. + Note: scaling amount range is limited to roughly 1/4x-8x. The exact range + depends on various factors like version of the driver or OMAP hardware itself. + Valid values: "WxH", for example "640x480" - "fullscreen" for to cover whole screen. + "fullscreen" to cover whole screen. + +SDL_OMAP_BORDER_CUT: + This can be used to move parts of SDL surface out of screen, in other + words cut borders and zoom in. Format: ,,, + For example, "0,0,16,0" would hide top 16 lines offscreen, making 17th + (16th if you count from 0) line the first visible. + Note: like for layer size ranges are limited. SDL_OMAP_VSYNC: Enables waiting for vertical sync on SDL_Flip() calls. @@ -49,6 +59,15 @@ 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. + +SDL_OMAP_NO_TS_TRANSLATE: + Disable automatic touchscreen screen -> layer coordinate translation, + return real screen coordinates. + Config file ----------- @@ -60,6 +79,12 @@ 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 + +# same as SDL_OMAP_NO_TS_TRANSLATE +no_ts_translate = 1/0 + # can be used to bind a key to SDL keysym, good for quick ports. # Example: # bind ev_home = sdlk_space