X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README.OMAP;h=96af2405c0b6d0f2fe6be59487f1a85ed2ba6d59;hb=5cc6dcb71c2f2f24e54bf1ab9f09d8e560e8e4d9;hp=29cbac23ef72b33286d907c104b8c98be97a4cc3;hpb=371f4cfdab9f3415920c78c2e670d6f4662f2b3c;p=sdl_omap.git diff --git a/README.OMAP b/README.OMAP index 29cbac2..96af240 100644 --- a/README.OMAP +++ b/README.OMAP @@ -52,6 +52,8 @@ SDL_OMAP_LAYER_SIZE: Valid values: "WxH", for example "640x480" "fullscreen" to cover whole screen. + "scaled" to upscale the screen proportionally, letterboxing or pillarboxing. + "pixelperfect" to upscale by a whole-number factor (e.g. 2x or 3x size). SDL_OMAP_BORDER_CUT: This can be used to move parts of SDL surface out of screen, in other @@ -73,10 +75,23 @@ SDL_OMAP_FORCE_DOUBLEBUF: 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_FORCE_DIRECTBUF: + When double buffering is not used, this option forces all blits to go + directly to the framebuffer (SDL_UpdateRect[s]() has no effect), which will + give speed but may cause flickering. Otherwise all blits will go to offscreen + buffer and SDL_UpdateRect[s]() is needed to update the screen (this is how + standard SDL works too). + When double buffering is used, this option has no effect (all blits always + go to back buffer that's displayed after flip). + SDL_OMAP_NO_TS_TRANSLATE: Disable automatic touchscreen screen -> layer coordinate translation, return real screen coordinates. +SDL_OMAP_TS_FORCE_TSLIB: + Always use tslib to read touchscreen. Without this, use X events when they + are available (this gives external input device support). + Config file ----------- @@ -91,9 +106,15 @@ force_vsync = 1/0 # same as SDL_OMAP_FORCE_DOUBLEBUF force_doublebuf = 1/0 +# same as SDL_OMAP_FORCE_DIRECTBUF +force_directbuf = 1/0 + # same as SDL_OMAP_NO_TS_TRANSLATE no_ts_translate = 1/0 +# same as SDL_OMAP_TS_FORCE_TSLIB +ts_force_tslib = 1/0 + # can be used to bind a key to SDL keysym, good for quick ports. # Example: # bind ev_home = sdlk_space