|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Definitions for wlgrab capture. More...
#include <thread>#include "cuda.h"#include "src/logging.h"#include "src/platform/common.h"#include "src/video.h"#include "vaapi.h"#include "wayland.h"Classes | |
| struct | wl::img_t |
| Captured frame buffer shared between capture and encode stages. More... | |
| class | wl::wlr_ram_t |
| Wayland screencopy backend that copies frames into system memory. More... | |
| class | wl::wlr_t |
| Wayland screencopy capture backend shared by RAM and VRAM paths. More... | |
| class | wl::wlr_vram_t |
| Wayland screencopy backend that exports frames as GPU resources. More... | |
Namespaces | |
| namespace | wl |
Functions | |
| std::shared_ptr< display_t > | platf::wl_display (mem_type_e hwdevice_type, const std::string &display_name, const video::config_t &config) |
| Create a Wayland display capture backend. | |
| std::vector< std::string > | platf::wl_display_names () |
| Enumerate displays available through the Wayland capture backend. | |
Definitions for wlgrab capture.
| std::shared_ptr< display_t > platf::wl_display | ( | mem_type_e | hwdevice_type, |
| const std::string & | display_name, | ||
| const video::config_t & | config ) |
Create a Wayland display capture backend.
Create a Wayland capture backend for the requested memory type.
| hwdevice_type | Hardware device type requested for capture or encode. |
| display_name | Display name. |
| config | Configuration values to apply. |
| std::vector< std::string > platf::wl_display_names | ( | ) |
Enumerate displays available through the Wayland capture backend.
Enumerate capture display names reported by the Wayland compositor.