lib/igt_kms: s/kmstest_create_fb2/kmstest_create_fb/

Simplify the name since the old _fb function is now gone.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-23 16:52:49 +01:00
parent 70182167d6
commit 2fc2fa5471
11 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -299,7 +299,7 @@ uint32_t drm_format_to_bpp(uint32_t drm_format)
abort();
}
unsigned int kmstest_create_fb2(int fd, int width, int height, uint32_t format,
unsigned int kmstest_create_fb(int fd, int width, int height, uint32_t format,
bool tiled, struct kmstest_fb *fb)
{
uint32_t handles[4];
@@ -346,7 +346,7 @@ unsigned int kmstest_create_color_fb(int fd, int width, int height,
unsigned int fb_id;
cairo_t *cr;
fb_id = kmstest_create_fb2(fd, width, height, format, tiled, fb);
fb_id = kmstest_create_fb(fd, width, height, format, tiled, fb);
igt_assert(fb_id);
cr = kmstest_get_cairo_ctx(fd, fb);
+2 -2
View File
@@ -77,8 +77,8 @@ int kmstest_cairo_printf_line(cairo_t *cr, enum kmstest_text_align align,
double yspacing, const char *fmt, ...)
__attribute__((format (printf, 4, 5)));
unsigned int kmstest_create_fb2(int fd, int width, int height, uint32_t format,
bool tiled, struct kmstest_fb *fb);
unsigned int kmstest_create_fb(int fd, int width, int height, uint32_t format,
bool tiled, struct kmstest_fb *fb);
unsigned int kmstest_create_color_fb(int fd, int width, int height,
uint32_t format, bool tiled,
double r, double g, double b,