GLDisplay.connectCreateContext
gulong connectCreateContext(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gstgl.glcontext.GLContext)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gstgl.glcontext.GLContext)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstgl.gldisplay.GLDisplay)))
&& Parameters!T.length < 3)Connect to CreateContext signal.
Overrides the GstGLContext creation mechanism. It can be called in any thread and it is emitted with display's object lock held.
Parameters
callback | signal callback delegate or function to connect gstgl.glcontext.GLContext callback(gstgl.glcontext.GLContext context, gstgl.gldisplay.GLDisplay gLDisplay) context other context to share resources with. (optional) gLDisplay the instance the signal is connected to (optional) Returns the new context. |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID