X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=sdl_omap.git;a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Flinux%2Ffbdev.h;h=88cd519f7478055b8dfa842b45856a7f130cfd41;hp=fa163aa81a1bf750de1e7d9b1690743d6966bf53;hb=090bcb85b9cebd193299c9e93f4de8c5888094f4;hpb=83b5751b446734b65e83ed4210b3c5cba3435866 diff --git a/src/video/omapdss/linux/fbdev.h b/src/video/omapdss/linux/fbdev.h index fa163aa..88cd519 100644 --- a/src/video/omapdss/linux/fbdev.h +++ b/src/video/omapdss/linux/fbdev.h @@ -1,12 +1,14 @@ struct vout_fbdev; -struct vout_fbdev *vout_fbdev_init(const char *fbdev_name, int *w, int *h, int no_dblbuf); +struct vout_fbdev *vout_fbdev_init(const char *fbdev_name, int *w, int *h, int bpp, int buffer_count); void *vout_fbdev_flip(struct vout_fbdev *fbdev); void vout_fbdev_wait_vsync(struct vout_fbdev *fbdev); -int vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, +void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp, int left_border, int right_border, int top_border, int bottom_border, - int no_dblbuf); + int buffer_count); void vout_fbdev_clear(struct vout_fbdev *fbdev); void vout_fbdev_clear_lines(struct vout_fbdev *fbdev, int y, int count); int vout_fbdev_get_fd(struct vout_fbdev *fbdev); +int vout_fbdev_save(struct vout_fbdev *fbdev); +int vout_fbdev_restore(struct vout_fbdev *fbdev); void vout_fbdev_finish(struct vout_fbdev *fbdev);