I want to know the framenumber of the current frame at any time, regardless the bound window or if it was changed. I dont want to implement a framecounter in my window class, since that would 1. require every depending library to check which window is bound and only use frames from there and 2. Isnt independent of windows.
I am sure there is a way to simply know when A opengl context has something new send to it. Please help me find it!
I want a frame number that is in sync with other debugging tools so I can easily compare and contrast.