Wraps an existing OpenGL context into a #GstGLContext.
Note: The caller is responsible for ensuring that the OpenGL context represented by handle stays alive while the returned #GstGLContext is active.
context_type must not be gstgl.types.GLPlatform.None or gstgl.types.GLPlatform.Any
available_apis must not be gstgl.types.GLAPI.None or gstgl.types.GLAPI.Any
a #GstGLDisplay
the OpenGL context to wrap
a #GstGLPlatform specifying the type of context in handle
a #GstGLAPI containing the available OpenGL apis in handle
a #GstGLContext wrapping handle
Wraps an existing OpenGL context into a #GstGLContext.
Note: The caller is responsible for ensuring that the OpenGL context represented by handle stays alive while the returned #GstGLContext is active.
context_type must not be gstgl.types.GLPlatform.None or gstgl.types.GLPlatform.Any
available_apis must not be gstgl.types.GLAPI.None or gstgl.types.GLAPI.Any