glHandleSetContext
fn
bool glHandleSetContext(gst.element.Element element, gst.context.Context context, out gstgl.gldisplay.GLDisplay display, out gstgl.glcontext.GLContext otherContext)Helper function for implementing #GstElementClass.set_context() in OpenGL capable elements.
Retrieve's the #GstGLDisplay or #GstGLContext in context and places the result in display or other_context respectively.
Parameters
element | a #GstElement |
context | a #GstContext |
display | location of a #GstGLDisplay |
otherContext | location of a #GstGLContext |
Returns
whether the display or other_context could be set successfully