GLDisplayEGL.getFromNative

void * getFromNative(gstgl.types.GLDisplayType type, size_t display)

Attempts to create a new EGLDisplay from display. If type is [gstgl.types.GLDisplayType.Any] or [gstgl.types.GLDisplayType.EglSurfaceless], then display must be 0. type must not be [gstgl.types.GLDisplayType.None].

Parameters

typea #GstGLDisplayType
displaypointer to a display (or 0)

Returns

A EGLDisplay or EGL_NO_DISPLAY