X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fomapsdl.h;h=d6314d6f42abd28881917da0b7bbfdb0e9ae2d8b;hb=455c8c43b353b60ebbb70caa09ae87be49520838;hp=1f937c0cfc265f2e3c9659e6596dc866124b0e56;hpb=5f4b1fd346a57d90ffda9eaba68c7b0b0aa8acab;p=sdl_omap.git diff --git a/src/video/omapdss/omapsdl.h b/src/video/omapdss/omapsdl.h index 1f937c0..d6314d6 100644 --- a/src/video/omapdss/omapsdl.h +++ b/src/video/omapdss/omapsdl.h @@ -32,6 +32,8 @@ struct SDL_PrivateVideoData { int phys_w, phys_h; /* layer */ int layer_x, layer_y, layer_w, layer_h; + /* SDL surface borders to hide */ + int border_l, border_r, border_t, border_b; /* phys -> layer coord multipliers (16.16) */ int ts_xmul, ts_ymul; /* misc/config */ @@ -41,7 +43,8 @@ struct SDL_PrivateVideoData { unsigned int cfg_no_ts_translate:1; }; -int osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, +void *osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, + int border_l, int border_r, int border_t, int border_b, int width, int height, int bpp, int doublebuf); void *osdl_video_flip(struct SDL_PrivateVideoData *pdata); int osdl_video_detect_screen(struct SDL_PrivateVideoData *pdata);