From a688d32d209a45627da3e80128a933d70f5d48b6 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 7 Jun 2016 17:00:08 +0300 Subject: util: add simple text drawing --- utils/testpat.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'utils') diff --git a/utils/testpat.cpp b/utils/testpat.cpp index b72d26d..094e22a 100644 --- a/utils/testpat.cpp +++ b/utils/testpat.cpp @@ -721,6 +721,7 @@ private: int new_xpos = get_bar_pos(fb, frame_num); draw_color_bar(*fb, old_xpos, new_xpos, bar_width); + draw_text(*fb, fb->width() / 2, 0, to_string(frame_num), RGB(255, 255, 255)); } static void do_flip_output(AtomicReq& req, unsigned frame_num, const OutputInfo& o) -- cgit v1.2.3