fbtestpat: draw "/dev/fb0" text
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Aug 2016 07:54:50 +0000 (10:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Aug 2016 07:54:50 +0000 (10:54 +0300)
utils/fbtestpat.cpp

index 0538ed071a93678a52533296125ebdee57c787f0..4fe0d41757497a3512417790d340623e61b31e52 100644 (file)
@@ -49,6 +49,7 @@ int main(int argc, char** argv)
               fix.line_length);
 
        draw_test_pattern(buf);
+       draw_text(buf, buf.width() / 2, 0, fbdev, RGB(255, 255, 255));
 
        for (unsigned y = 0; y < var.yres_virtual; ++y)
                memcpy(ptr + fix.line_length * y, buf.map(0) + buf.stride(0) * y, buf.stride(0));