|
Hermes 0.7.0
Linux game streaming host
|
Declarations for Wayland capture. More...
#include <bitset>#include <cstdint>#include <map>#include <vector>#include <ext-image-capture-source-v1.h>#include <ext-image-copy-capture-v1.h>#include <linux-dmabuf-unstable-v1.h>#include <wlr-output-management-unstable-v1.h>#include <wlr-screencopy-unstable-v1.h>#include <xdg-output-unstable-v1.h>#include "graphics.h"Go to the source code of this file.
Classes | |
| class | wl::frame_t |
| class | wl::dmabuf_t |
| class | wl::monitor_t |
| class | wl::interface_t |
| class | wl::display_t |
| struct | wl::output_rect_t |
| struct | wl::input_geometry_t |
| struct | wl::session_protocols_t |
| Which Wayland globals the running session advertises. More... | |
Namespaces | |
| namespace | wl |
Typedefs | |
| using | wl::display_internal_t = util::safe_ptr<wl_display, wl_display_disconnect> |
Functions | |
| std::vector< std::unique_ptr< monitor_t > > | wl::monitors (const char *display_name) |
| std::string | wl::compositor_render_node (display_t &display, zwp_linux_dmabuf_v1 *dmabuf_interface) |
| Ask the compositor which GPU it renders on. | |
| void | wl::logical_size (int mode_width, int mode_height, int transform, wl_fixed_t scale, int &width, int &height) |
| Size of a head in the compositor's logical coordinates, the wlr counterpart of mutter::state_t::logical_size. | |
| output_rect_t | wl::desktop_envelope (const std::vector< output_rect_t > &outputs) |
| The desktop envelope: the bounding box of every output in logical coordinates, origin included. wlroots-style compositors (Hyprland, sway) spread an absolute input device across exactly this box. | |
| input_geometry_t | wl::input_geometry (const output_rect_t &envelope, const output_rect_t &output, int mode_width, int mode_height) |
| Express an output's offset within the envelope, and the envelope, in that output's own capture pixels. | |
| bool | wl::configure_virtual_output (const std::string &output_name, int width, int height, int refresh_rate, bool exclusive) |
| bool | wl::restore_virtual_output_layout () |
| bool | wl::output_management_supported () |
| bool | wl::render_node_can_allocate (const char *node) |
| Whether GBM can actually allocate a buffer on this render node. | |
| session_protocols_t | wl::probe_protocols () |
| Probe the session's globals in a single registry roundtrip. | |
| bool | wl::dmabuf_capture_exhausted () |
| Whether the dmabuf capture path has failed too often to be retried. | |
| int | wl::init () |
Declarations for Wayland capture.
Definition in file wayland.h.