Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
wl::gbm_bo_accessors_t Struct Reference

GBM buffer accessors used to export DMA-BUF plane metadata. More...

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

Public Attributes

int(*) get_fd_for_plane (gbm_bo *bo, int plane)
 Duplicate the DMA-BUF descriptor for one plane.
std::uint64_t(*) get_modifier (gbm_bo *bo)
 Return the DRM format modifier shared by the planes.
std::uint32_t(*) get_offset (gbm_bo *bo, int plane)
 Return the byte offset for one plane.
int(*) get_plane_count (gbm_bo *bo)
 Return the number of memory planes in the buffer.
std::uint32_t(*) get_stride_for_plane (gbm_bo *bo, int plane)
 Return the row stride for one plane.

Detailed Description

GBM buffer accessors used to export DMA-BUF plane metadata.


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