If an error occurs, major and minor are not modified and gstgl.types.GLAPI.None is returned.
the #GstGLPlatform to retrieve the API for
the major version
the minor version
The version supported by the OpenGL context current in the calling thread or gstgl.types.GLAPI.None
If an error occurs, major and minor are not modified and gstgl.types.GLAPI.None is returned.