the contents of a `GLDisplayEGL` are private and should only be accessed through the provided API # Implements [`gst_gl::GLDisplayExt`](../gst_gl/trait.GLDisplayExt.html), [`gst::ObjectExt`](../gst/trait.ObjectExt.html), [`glib::object::ObjectExt`](../glib/object/trait.ObjectExt.html) Create a new `GLDisplayEGL` using the default EGL_DEFAULT_DISPLAY. # Returns a new `GLDisplayEGL` or `None` Creates a EGL display connection from a native Display. This function will return the same value for multiple calls with the same `display`. ## `display` an existing `gst_gl::GLDisplay` # Returns a new `GLDisplayEGL` Attempts to create a new `EGLDisplay` from `display`. If `type_` is `gst_gl::GLDisplayType::Any`, then `display` must be 0. `type_` must not be `gst_gl::GLDisplayType::None`. ## `type_` a `gst_gl::GLDisplayType` ## `display` pointer to a display (or 0) # Returns A `EGLDisplay` or `EGL_NO_DISPLAY`