There is no automatic support for overlays in OpenGL. You need to render to offscreen buffers and merge with some sort of blit. Do you know how to render to an off-screen buffer?
Often you don’t need to do this - for some thing like with a HUD you render your objects, then disable depth buffer tests and render your HUD
Let’s not get confused here. Blitting is not meant for compositing - blitting is scaling or non-scaling, partial or full a copy operation. You copy contents of one or multiple attachments to all active draw buffers.
EDIT: Scratch that. It wasn’t thought through - and I don’t mean the blitting part.