15extern "C" struct _XDisplay;
22 struct cursor_ctx_raw_t;
55 static std::optional<cursor_t>
make();
73 void blend(
img_t &img,
int offsetX,
int offsetY);
Cursor image and hotspot metadata captured from the window system.
Definition graphics.h:587
X11 cursor image and positioning state used during capture.
Definition x11grab.h:48
static std::optional< cursor_t > make()
Allocate the underlying object and wrap it in the owning handle.
Definition x11grab.cpp:1026
void blend(img_t &img, int offsetX, int offsetY)
Definition x11grab.cpp:1065
cursor_ctx_t ctx
X11 cursor context used to track and blend cursor images.
Definition x11grab.h:75
void capture(egl::cursor_t &img)
Run the capture loop for this backend.
Definition x11grab.cpp:1038
Unique pointer wrapper with customizable pointer and deleter types.
Definition utility.h:820
Declarations for common platform specific utilities.
Captured frame buffer shared between capture and encode stages.
Definition common.h:502
Declarations for utility functions.
void freeDisplay(_XDisplay *xdisplay)
Release display resources.
Definition x11grab.cpp:1079
void freeCursorCtx(cursor_ctx_t::pointer ctx)
Release cursor context resources.
Definition x11grab.cpp:1088