mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 08:36:31 +00:00
1.1 KiB
1.1 KiB
the contents of a GLDisplayEGL
are private and should only be accessed
through the provided API
Implements
gst_gl::GLDisplayExt
, gst::ObjectExt
, glib::object::ObjectExt
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