fbdev: save and restore support
[libpicofe.git] / linux / fbdev.h
CommitLineData
1f8b4b84 1struct vout_fbdev;
b188c2b6 2
4332e4bc 3struct vout_fbdev *vout_fbdev_init(const char *fbdev_name, int *w, int *h, int bpp, int buffer_count);
1f8b4b84 4void *vout_fbdev_flip(struct vout_fbdev *fbdev);
5void vout_fbdev_wait_vsync(struct vout_fbdev *fbdev);
87a68cdb 6void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp,
b6b7d1b1 7 int left_border, int right_border, int top_border, int bottom_border,
4332e4bc 8 int buffer_count);
1f8b4b84 9void vout_fbdev_clear(struct vout_fbdev *fbdev);
b6b7d1b1 10void vout_fbdev_clear_lines(struct vout_fbdev *fbdev, int y, int count);
11int vout_fbdev_get_fd(struct vout_fbdev *fbdev);
323db729 12int vout_fbdev_save(struct vout_fbdev *fbdev);
13int vout_fbdev_restore(struct vout_fbdev *fbdev);
1f8b4b84 14void vout_fbdev_finish(struct vout_fbdev *fbdev);