diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-07 17:00:08 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-07 17:02:08 +0300 |
commit | a688d32d209a45627da3e80128a933d70f5d48b6 (patch) | |
tree | 2bc9ab299010cae6abc4dc7f5342c6a5cc4c29b7 /utils | |
parent | d697a9546fa293df113fa9eec5ae82ca7ac2d192 (diff) |
util: add simple text drawing
Diffstat (limited to 'utils')
-rw-r--r-- | utils/testpat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |