From 4cb194669782d759e60bad3fa61e3efc0ee7c7ec Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 4 Aug 2014 16:14:51 +0100 Subject: lib: move create_stereo_fb from testdisplay to igt_fb Move create_stereo_fb from testdisplay to igt_create_stereo_fb in igt_fb so that it can be used in other tests. v2: update for new igt_create_fb API add parameters for format and tiling remove some old debug code Signed-off-by: Thomas Wood --- lib/igt_fb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_fb.h') diff --git a/lib/igt_fb.h b/lib/igt_fb.h index 4295df9a..e6f72e95 100644 --- a/lib/igt_fb.h +++ b/lib/igt_fb.h @@ -75,6 +75,8 @@ unsigned int igt_create_color_fb(int fd, int width, int height, uint32_t format, unsigned int tiling, double r, double g, double b, struct igt_fb *fb /* out */); +unsigned int igt_create_stereo_fb(int drm_fd, drmModeModeInfo *mode, + uint32_t format, unsigned int tiling); void igt_remove_fb(int fd, struct igt_fb *fb); /* cairo-based painting */ -- cgit v1.2.3