X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Ffbdev.h;h=88cd519f7478055b8dfa842b45856a7f130cfd41;hb=323db7293410a1245667e01dda1514aef3327c38;hp=1e5d28bb450a25fb94743c339f507d024458ac50;hpb=b188c2b6d0448a9c328a9dcae5ba5c8c8b5273f3;p=libpicofe.git diff --git a/linux/fbdev.h b/linux/fbdev.h index 1e5d28b..88cd519 100644 --- a/linux/fbdev.h +++ b/linux/fbdev.h @@ -1,5 +1,14 @@ -int vout_fbdev_init(int *w, int *h); -void vout_fbdev_finish(void); +struct vout_fbdev; -extern void *fbdev_buffers[]; -extern int fbdev_buffer_count; +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); +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 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);