Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
wl::session_protocols_t Struct Reference

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.

Detailed Description

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.

Definition at line 395 of file wayland.h.

Member Data Documentation

◆ connected

bool wl::session_protocols_t::connected

A Wayland display was reachable at all.

Definition at line 396 of file wayland.h.

◆ image_copy_capture

bool wl::session_protocols_t::image_copy_capture

ext_image_copy_capture_manager_v1: the successor to screencopy.

Definition at line 399 of file wayland.h.

◆ linux_dmabuf

bool wl::session_protocols_t::linux_dmabuf

zwp_linux_dmabuf_v1: without it capture is a CPU copy.

Definition at line 401 of file wayland.h.

◆ output_capture_source

bool wl::session_protocols_t::output_capture_source

ext_output_image_capture_source_manager_v1: names an output as a source.

Definition at line 400 of file wayland.h.

◆ output_management

bool wl::session_protocols_t::output_management

zwlr_output_manager_v1: enable/mode/position an output.

Definition at line 397 of file wayland.h.

◆ screencopy

bool wl::session_protocols_t::screencopy

zwlr_screencopy_manager_v1: the wlgrab capture backend.

Definition at line 398 of file wayland.h.

◆ xdg_output

bool wl::session_protocols_t::xdg_output

zxdg_output_manager_v1: logical geometry of each output.

Definition at line 402 of file wayland.h.


The documentation for this struct was generated from the following file: