Heavy refactoring and cleanup is required for OpenGLRenderer
The OpenGL renderer has grown a lot in order to support zero-copy rendering on Linux and Windows. This has led to a huge source file that's hard to maintain.
Suggestions:
- move interop related stuff to separate methods in OpenGLRendererPrivate, which are then activated by preprocessor directives, depending on the OS
- create an OpenGLRenderer interface, OS specific implementations of this interface and
- a utility class that constructs the matching one for the current OS, or
- they are activated by CMake, depending on the OS
Edited by Silas Della Contrada