Sunshine master
Self-hosted game stream host for Moonlight.
wayland.h File Reference

Declarations for Wayland capture. More...

#include <bitset>
#include <cstdint>
#include <map>
#include <vector>
#include <linux-dmabuf-unstable-v1.h>
#include <wlr-screencopy-unstable-v1.h>
#include <xdg-output-unstable-v1.h>
#include "graphics.h"
Include dependency graph for wayland.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wl::display_t
 Wayland display connection used to dispatch capture events. More...
 
class  wl::dmabuf_t
 Listener state for Wayland screencopy frames backed by DMA-BUFs. More...
 
class  wl::frame_t
 Captured Wayland frame metadata and DMA-BUF surface state. More...
 
class  wl::interface_t
 Wayland registry state for screencopy, DMA-BUF, and output globals. More...
 
class  wl::monitor_t
 Wayland output metadata used to match a configured display name. More...
 

Namespaces

namespace  wl
 

Typedefs

using wl::display_internal_t = util::safe_ptr<wl_display, wl_display_disconnect>
 Owning pointer for a Wayland display connection.
 

Functions

int wl::init ()
 Initialize Wayland registry interfaces required for capture.
 
std::vector< std::unique_ptr< monitor_t > > wl::monitors (const char *display_name)
 Refresh the monitor list reported by the display server.
 

Detailed Description

Declarations for Wayland capture.