Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
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

std::array< int, 4 > fds
 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::array< std::uint32_t, 4 > offsets
 Byte offset to the first pixel for each DMA-BUF plane.
std::array< std::uint32_t, 4 > pitches
 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: