From b3348d9cd99b9ed694093ebae5966a7919585604 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 31 May 2016 10:03:29 +0300 Subject: testpat: print FB IDs --- utils/testpat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/testpat.cpp b/utils/testpat.cpp index d12e209..31029ad 100644 --- a/utils/testpat.cpp +++ b/utils/testpat.cpp @@ -575,7 +575,7 @@ static void print_outputs(const vector& outputs) videomode_to_string(o.mode).c_str()); if (!o.fbs.empty()) { auto fb = o.fbs[0]; - printf(" Fb %ux%u-%s\n", fb->width(), fb->height(), + printf(" Fb %u %ux%u-%s\n", fb->id(), fb->width(), fb->height(), PixelFormatToFourCC(fb->format()).c_str()); } @@ -584,7 +584,7 @@ static void print_outputs(const vector& outputs) auto fb = p.fbs[0]; printf(" Plane %u/@%u: %u,%u-%ux%u\n", p.plane->id(), p.plane->idx(), p.x, p.y, p.w, p.h); - printf(" Fb %ux%u-%s\n", fb->width(), fb->height(), + printf(" Fb %u %ux%u-%s\n", fb->id(), fb->width(), fb->height(), PixelFormatToFourCC(fb->format()).c_str()); } } -- cgit v1.2.3