GLDisplay.newWithType

Will always return a #GstGLDisplay of a single type. This differs from [gstgl.gldisplay.GLDisplay.new_] and the seemingly equivalent call gst_gl_display_new_with_type (GST_GL_DISPLAY_TYPE_ANY) in that the latter may return NULL.

Parameters

type#GstGLDisplayType

Returns

a new #GstGLDisplay or null if type is

not supported