-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.1
-
None
When functions like QOpenGLWindow:paintGL are called by other QT functions, makeCurrent and doneCurrent might be called before/after calling.
When decoupling QT from context handling or when enhancing context handling one might define own functions that attach/detach a context.
For example one might implement a function, that pushes the previous context on a stack when switching context and restoring that previous context afterwards.
For this usecase it would be creat to be able to register a callback that is called by QT when makeCurrent or doneCurrent are called.
When this feature is not implemented it would be great if at least the documentation specified where exectly makeCurrent/doneCurrent is called, so one knows when additional context handling must take place after leaving QT calls.