summaryrefslogtreecommitdiff
path: root/src/fb.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-09-14 17:48:42 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-09-14 17:52:39 -0700
commit8d54ec8249add0942e5cc989d1cb1b4d9a9aba2e (patch)
treec342ee14c7aa79e7a5bcc531355eee64260ef522 /src/fb.h
parent7e999e37a5cf65e466091f4d8eeb36a6cea20f52 (diff)
fb: implement a tiling fragmenter
Diffstat (limited to 'src/fb.h')
-rw-r--r--src/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fb.h b/src/fb.h
index 35d5865..055c609 100644
--- a/src/fb.h
+++ b/src/fb.h
@@ -37,6 +37,7 @@ 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);
void fb_fragment_divide(fb_fragment_t *fragment, unsigned n_fragments, fb_fragment_t fragments[]);
int fb_fragment_divide_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);
/* checks if a coordinate is contained within a fragment */
© All Rights Reserved