lib/igt_fb: igt_create_fb_with_bo_size

Useful for testing bigger/smaller fb-wrapped buffer objects.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Oscar Mateo
2014-05-16 14:07:11 +01:00
committed by Ville Syrjälä
parent ace8a9e10c
commit 5bdd4d9b5e
2 changed files with 41 additions and 7 deletions
+3
View File
@@ -62,6 +62,9 @@ enum igt_text_align {
align_hcenter = 0x08,
};
unsigned int igt_create_fb_with_bo_size(int fd, int width, int height,
uint32_t format, bool tiled,
struct igt_fb *fb, unsigned bo_size);
unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,
bool tiled, struct igt_fb *fb);
unsigned int igt_create_color_fb(int fd, int width, int height,