2021-04-11 13:55:54 +00:00
|
|
|
<!-- file * -->
|
|
|
|
<!-- struct GLDisplayWayland -->
|
|
|
|
the contents of a `GLDisplayWayland` are private and should only be accessed
|
|
|
|
through the provided API
|
|
|
|
|
|
|
|
# Implements
|
|
|
|
|
2021-04-19 19:55:01 +00:00
|
|
|
[`trait@gst_gl::GLDisplayExt`], [`trait@gst::ObjectExt`], [`trait@glib::object::ObjectExt`]
|
2021-04-11 13:55:54 +00:00
|
|
|
<!-- impl GLDisplayWayland::fn new -->
|
|
|
|
Create a new `GLDisplayWayland` from the wayland display name. See `wl_display_connect`()
|
|
|
|
for details on what is a valid name.
|
|
|
|
## `name`
|
|
|
|
a display name
|
|
|
|
|
|
|
|
# Returns
|
|
|
|
|
|
|
|
a new `GLDisplayWayland` or `None`
|
2021-04-19 19:55:01 +00:00
|
|
|
<!-- impl GLDisplayWayland::fn with_display -->
|
2021-04-11 13:55:54 +00:00
|
|
|
Creates a new display connection from a wl_display Display.
|
|
|
|
## `display`
|
|
|
|
an existing, wayland display
|
|
|
|
|
|
|
|
# Returns
|
|
|
|
|
|
|
|
a new `GLDisplayWayland`
|