don't force double buffering
[sdl_omap.git] / README.OMAP
index 0b5bb4c..b39fb33 100644 (file)
@@ -39,7 +39,7 @@ 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_Flip() calls.
@@ -49,6 +49,11 @@ 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
 -----------
@@ -60,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