As in the previous questions, I am trying to connect an arbitrary OpenGL application to overlay it. I hooked up SwapBuffers and created a separate context on the first call to draw. See this SO question / answer for a general idea.
There are two big problems that I face. Firstly, calls to wglMakeCurrent to set / restore context before / after painting absolutely ruin performance. Is this expected? I need to take a closer look at using _ARB_context_flush_control, as @datenwolf mentioned in the comment on this answer to SO question .
Secondly, overlay only works on one of my two machines. On my machine with an AMD graphics card, the overlay flickers in that it is present only in some frames. The technology used is the same as in the Mumble VOIP server project , and this project demonstrates the same overlay flicker problem. Any ideas what might cause this?
source
share