|
Hermes 0.7.0
Linux game streaming host
|
Which Wayland globals the running session advertises. More...
#include <src/platform/linux/wayland.h>
Public Attributes | |
| bool | connected |
| A Wayland display was reachable at all. | |
| bool | output_management |
| zwlr_output_manager_v1: enable/mode/position an output. | |
| bool | screencopy |
| zwlr_screencopy_manager_v1: the wlgrab capture backend. | |
| bool | image_copy_capture |
| ext_image_copy_capture_manager_v1: the successor to screencopy. | |
| bool | output_capture_source |
| ext_output_image_capture_source_manager_v1: names an output as a source. | |
| bool | linux_dmabuf |
| zwp_linux_dmabuf_v1: without it capture is a CPU copy. | |
| bool | xdg_output |
| zxdg_output_manager_v1: logical geometry of each output. | |
Which Wayland globals the running session advertises.
Hermes' features are not "Wayland" features. Each one needs particular protocols, and which of them a compositor implements is the whole difference between a working stream and a black one - COSMIC has wlr-output-management but no wlr-screencopy, Hyprland has both plus ext-image-copy-capture. Asking the registry once is cheaper and far more informative than attempting each feature and reading the failure, and it is the only way to say before a stream starts what this session can do.
| bool wl::session_protocols_t::connected |
| bool wl::session_protocols_t::image_copy_capture |
| bool wl::session_protocols_t::linux_dmabuf |
| bool wl::session_protocols_t::output_capture_source |
| bool wl::session_protocols_t::output_management |
| bool wl::session_protocols_t::screencopy |
| bool wl::session_protocols_t::xdg_output |