Sunshine latest
Self-hosted game stream host for Moonlight.
platf::x11::cursor_t Class Reference
Collaboration diagram for platf::x11::cursor_t:
[legend]

Public Member Functions

void blend (img_t &img, int offsetX, int offsetY)
 
void capture (egl::cursor_t &img)
 

Static Public Member Functions

static std::optional< cursor_tmake ()
 

Public Attributes

cursor_ctx_t ctx
 

Member Function Documentation

◆ blend()

void platf::x11::cursor_t::blend ( img_t & img,
int offsetX,
int offsetY )

Capture and blend the cursor into the image

img <– destination image offsetX, offsetY <— Top left corner of the virtual screen


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