summaryrefslogtreecommitdiff
path: root/lib/igt_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r--lib/igt_fb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index 37892b50..5cc8644d 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -80,6 +80,17 @@ unsigned int igt_create_color_fb(int fd, int width, int height,
uint32_t format, uint64_t tiling,
double r, double g, double b,
struct igt_fb *fb /* out */);
+unsigned int igt_create_pattern_fb(int fd, int width, int height,
+ uint32_t format, uint64_t tiling,
+ struct igt_fb *fb /* out */);
+unsigned int igt_create_color_pattern_fb(int fd, int width, int height,
+ uint32_t format, uint64_t tiling,
+ double r, double g, double b,
+ struct igt_fb *fb /* out */);
+unsigned int igt_create_image_fb(int drm_fd, int width, int height,
+ uint32_t format, uint64_t tiling,
+ const char *filename,
+ struct igt_fb *fb /* out */);
unsigned int igt_create_stereo_fb(int drm_fd, drmModeModeInfo *mode,
uint32_t format, uint64_t tiling);
void igt_remove_fb(int fd, struct igt_fb *fb);