Sunshine latest
Self-hosted game stream host for Moonlight.
wl::dmabuf_t Class Reference
Collaboration diagram for wl::dmabuf_t:
[legend]

Public Types

enum  status_e { WAITING , READY , REINIT }
 

Public Member Functions

void cancel (zwlr_export_dmabuf_frame_v1 *frame, std::uint32_t reason)
 
 dmabuf_t (const dmabuf_t &)=delete
 
 dmabuf_t (dmabuf_t &&)=delete
 
void frame (zwlr_export_dmabuf_frame_v1 *frame, std::uint32_t width, std::uint32_t height, std::uint32_t x, std::uint32_t y, std::uint32_t buffer_flags, std::uint32_t flags, std::uint32_t format, std::uint32_t high, std::uint32_t low, std::uint32_t obj_count)
 
frame_tget_next_frame ()
 
void listen (zwlr_export_dmabuf_manager_v1 *dmabuf_manager, wl_output *output, bool blend_cursor=false)
 
void object (zwlr_export_dmabuf_frame_v1 *frame, std::uint32_t index, std::int32_t fd, std::uint32_t size, std::uint32_t offset, std::uint32_t stride, std::uint32_t plane_index)
 
dmabuf_toperator= (const dmabuf_t &)=delete
 
dmabuf_toperator= (dmabuf_t &&)=delete
 
void ready (zwlr_export_dmabuf_frame_v1 *frame, std::uint32_t tv_sec_hi, std::uint32_t tv_sec_lo, std::uint32_t tv_nsec)
 

Public Attributes

frame_tcurrent_frame
 
std::array< frame_t, 2 > frames
 
zwlr_export_dmabuf_frame_v1_listener listener
 
status_e status
 

Member Enumeration Documentation

◆ status_e

Enumerator
WAITING 

Waiting for a frame.

READY 

Frame is ready.

REINIT 

Reinitialize the frame.


The documentation for this class was generated from the following files: