summaryrefslogtreecommitdiff
path: root/src/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fb.h')
-rw-r--r--src/fb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fb.h b/src/fb.h
index 5b21cc8..4ca5a49 100644
--- a/src/fb.h
+++ b/src/fb.h
@@ -3,8 +3,6 @@
#include <stdint.h>
#include <string.h>
-#include <sys/types.h>
-#include <xf86drmMode.h> /* for drmModeModeInfoPtr */
/* All renderers should target fb_fragment_t, which may or may not represent
* a full-screen mmap. Helpers are provided for subdividing fragments for
@@ -43,7 +41,7 @@ fb_page_t * fb_page_get(fb_t *fb);
void fb_page_put(fb_t *fb, fb_page_t *page);
void fb_free(fb_t *fb);
void fb_get_put_pages_count(fb_t *fb, unsigned *count);
-fb_t * fb_new(int drm_fd, uint32_t crtc_id, uint32_t *connectors, int n_connectors, drmModeModeInfoPtr mode, int n_pages);
+fb_t * fb_new(const fb_ops_t *ops, void *context, int n_pages);
void fb_fragment_divide(fb_fragment_t *fragment, unsigned n_fragments, fb_fragment_t fragments[]);
int fb_fragment_slice_single(const fb_fragment_t *fragment, unsigned n_fragments, unsigned num, fb_fragment_t *res_fragment);
int fb_fragment_tile_single(const fb_fragment_t *fragment, unsigned tile_size, unsigned num, fb_fragment_t *res_fragment);
© All Rights Reserved