How to "draw" simple lines and bitmaps (logos) onto video

I am using a Jetson tx2 board, I downloaded jetpack 3.3 and I’m not sure what I’m doing… I have been able to draw rectangles and arrow and text on top of my video using the nvosd library

But I’m absolutely lost when it comes to drawing some simple lines (polygons) and displaying a few logos on my video. I see all these names and apis being thrown around and don’t even know where to start. Should I be looking at openGL? vulcan? cairo? cuda? Could someone please give me an idea on what I should be googling?

Thanks in advance!

This topic was very helpful. I don’t know if it’s exactly what I need, but it was enlightening!