Sunshine master
Self-hosted game stream host for Moonlight.
egl::surface_descriptor_t Struct Reference

EGL surface descriptor used to import a captured DMA-BUF. More...

#include <src/platform/linux/graphics.h>

Public Attributes

int fds [4]
 DMA-BUF file descriptors for up to four planes.
 
std::uint32_t fourcc
 DRM fourcc pixel format for the buffer.
 
int height
 Frame or display height in pixels.
 
std::uint64_t modifier
 DRM format modifier describing the buffer layout.
 
std::uint32_t offsets [4]
 Byte offset to the first pixel for each DMA-BUF plane.
 
std::uint32_t pitches [4]
 Row stride in bytes for each DMA-BUF plane.
 
int width
 Frame or display width in pixels.
 

Detailed Description

EGL surface descriptor used to import a captured DMA-BUF.


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