Perform the steps necessary for retrieving a GstGL.GLDisplay and (optionally)
an application provided GstGL.GLContext from the surrounding elements or from
the application using the Gst.Context mechanism.
If the contents of display_ptr or other_context_ptr are not null, then no
Gst.Context query is necessary for GstGL.GLDisplay or GstGL.GLContext retrieval
or is performed.
This performs Gst.Context queries (if necessary) for a winsys display
connection with GST_GL_DISPLAY_CONTEXT_TYPE, "gst.x11.display.handle", and
"GstWaylandDisplayHandleContextType" stopping after the first successful
retrieval.
This also performs a Gst.Context query (if necessary) for an optional
application provided GstGL.GLContext using the name "gst.gl.app_context".
The returned GstGL.GLContext will be shared with a GStreamer created OpenGL context.
Perform the steps necessary for retrieving a GstGL.GLDisplay and (optionally) an application provided GstGL.GLContext from the surrounding elements or from the application using the Gst.Context mechanism.
If the contents of
display_ptrorother_context_ptrare notnull, then no Gst.Context query is necessary for GstGL.GLDisplay or GstGL.GLContext retrieval or is performed.This performs Gst.Context queries (if necessary) for a winsys display connection with
GST_GL_DISPLAY_CONTEXT_TYPE, "gst.x11.display.handle", and "GstWaylandDisplayHandleContextType" stopping after the first successful retrieval.This also performs a Gst.Context query (if necessary) for an optional application provided GstGL.GLContext using the name "gst.gl.app_context". The returned GstGL.GLContext will be shared with a GStreamer created OpenGL context.