mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user