gl: clear w, h on reinit
[libpicofe.git] / fbdev.h
... / ...
CommitLineData
1struct vout_fbdev;
2
3struct vout_fbdev *vout_fbdev_init(const char *fbdev_name, int *w, int *h, int bpp, int buffer_count);
4void *vout_fbdev_flip(struct vout_fbdev *fbdev);
5void vout_fbdev_wait_vsync(struct vout_fbdev *fbdev);
6void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp,
7 int left_border, int right_border, int top_border, int bottom_border,
8 int buffer_cnt, int first_write_to_front);
9void vout_fbdev_clear(struct vout_fbdev *fbdev);
10void vout_fbdev_clear_lines(struct vout_fbdev *fbdev, int y, int count);
11int vout_fbdev_get_fd(struct vout_fbdev *fbdev);
12int vout_fbdev_save(struct vout_fbdev *fbdev);
13int vout_fbdev_restore(struct vout_fbdev *fbdev);
14void vout_fbdev_finish(struct vout_fbdev *fbdev);