I display live video using OpenGl. So, I do YUV=>RGB transform on GPU and display it, using shaders. Evrything works fine until I want to draw some text on the video (like fps or smth).
I’ve looked at QT example opengl/overpainting. But it does’t work in my case. It seems like drawText/renderText uses the same mechanisms to draw text as I use to draw video.
So as the result I do not see text at all. But at the same time I can draw lines on the video and smth like that… I’m not very good ( not good at all in GL). So can you please help me.
Here is minimized code( it is still big, sorry for that)…
I think that my shaders some how corrilates( broke ) with renderText.