GLDisplayEGL.getFromNative

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.

class GLDisplayEGL
static
void*
getFromNative

Parameters

type gstgl.types.GLDisplayType

a #GstGLDisplayType

display size_t

pointer to a display (or 0)

Return Value

Type: void*

A EGLDisplay or EGL_NO_DISPLAY