Improve OpenGL performance on Windows
(Note: This is a separate issue from issue #105).
This is an issue to try to improve OpenGL performance on GTK4 on Windows, where we could only achieve only around 21-22 fps in gdkgears, whereas on GTK3, we are able to achive 60 fps with the gdkgears demo program.
Few questions to give thoughts, after trying to grasp the changes in the GDK GL implementations in the X11 and Wayland backends:
-Are we depending much on the GLX_EXT_buffer_age (GLX) or EGL_EXT_buffer_age (Wayland) extensions to get better performance, given that there are backend-specific ->get_damage() implementations for both X11 and Wayland? The unfortunate issue, if this is the case, is that the notion of getting the buffer age (hence the "damage", if I understood this correctly), is something that is not existant on Windows, and so it looks like we need to redraw/re-update everything on Windows.
Am I correct that unlike GTK3, we aren't using the GL blitting APIs/extensions to improve performance?
-I know I brought this up before--Am I correct to say that the EGL support is not complete at this point?
With blessings, and cheers!