diff options
author | Thomas Wood <thomas.wood@intel.com> | 2014-08-04 16:14:51 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-09-05 16:52:51 +0100 |
commit | 4cb194669782d759e60bad3fa61e3efc0ee7c7ec (patch) | |
tree | 7994d1fbceab1fad45f74859770e29691d8d29b0 /lib/igt_fb.h | |
parent | a124b1a430bf47f31fcff0614dbc00dbe2794dcf (diff) |
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 <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r-- | lib/igt_fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |