Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
VDISPLAY::HermesKmsCursor Struct Reference

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

Public Member Functions

void close ()
 Close all owned fds (dma_buf_fd[] and sync_file_fd).

Public Attributes

bool visible {false}
bool position_valid {false}
bool geometry_valid {false}
bool buffer_valid {false}
int32_t position_x {0}
int32_t position_y {0}
int32_t crtc_x {0}
int32_t crtc_y {0}
uint32_t crtc_w {0}
uint32_t crtc_h {0}
uint32_t src_x {0}
 DRM 16.16 fixed point.
uint32_t src_y {0}
 DRM 16.16 fixed point.
uint32_t src_w {0}
 DRM 16.16 fixed point.
uint32_t src_h {0}
 DRM 16.16 fixed point.
int32_t hotspot_x {0}
int32_t hotspot_y {0}
uint32_t width {0}
uint32_t height {0}
uint32_t fourcc {0}
uint64_t modifier {0}
uint32_t plane_count {0}
int dma_buf_fd [4] {-1, -1, -1, -1}
uint32_t pitch [4] {0, 0, 0, 0}
uint32_t offset [4] {0, 0, 0, 0}
int sync_file_fd {-1}
uint64_t sequence {0}
uint64_t image_sequence {0}

Detailed Description

Latest cursor-plane state exported by the generic Hermes-KMS UAPI.

Definition at line 1227 of file virtual_display.h.

Member Function Documentation

◆ close()

void VDISPLAY::HermesKmsCursor::close ( )

Close all owned fds (dma_buf_fd[] and sync_file_fd).

Definition at line 8852 of file virtual_display.cpp.

Member Data Documentation

◆ buffer_valid

bool VDISPLAY::HermesKmsCursor::buffer_valid {false}

Definition at line 1231 of file virtual_display.h.

◆ crtc_h

uint32_t VDISPLAY::HermesKmsCursor::crtc_h {0}

Definition at line 1237 of file virtual_display.h.

◆ crtc_w

uint32_t VDISPLAY::HermesKmsCursor::crtc_w {0}

Definition at line 1236 of file virtual_display.h.

◆ crtc_x

int32_t VDISPLAY::HermesKmsCursor::crtc_x {0}

Definition at line 1234 of file virtual_display.h.

◆ crtc_y

int32_t VDISPLAY::HermesKmsCursor::crtc_y {0}

Definition at line 1235 of file virtual_display.h.

◆ dma_buf_fd

int VDISPLAY::HermesKmsCursor::dma_buf_fd[4] {-1, -1, -1, -1}

Definition at line 1249 of file virtual_display.h.

◆ fourcc

uint32_t VDISPLAY::HermesKmsCursor::fourcc {0}

Definition at line 1246 of file virtual_display.h.

◆ geometry_valid

bool VDISPLAY::HermesKmsCursor::geometry_valid {false}

Definition at line 1230 of file virtual_display.h.

◆ height

uint32_t VDISPLAY::HermesKmsCursor::height {0}

Definition at line 1245 of file virtual_display.h.

◆ hotspot_x

int32_t VDISPLAY::HermesKmsCursor::hotspot_x {0}

Definition at line 1242 of file virtual_display.h.

◆ hotspot_y

int32_t VDISPLAY::HermesKmsCursor::hotspot_y {0}

Definition at line 1243 of file virtual_display.h.

◆ image_sequence

uint64_t VDISPLAY::HermesKmsCursor::image_sequence {0}

Definition at line 1254 of file virtual_display.h.

◆ modifier

uint64_t VDISPLAY::HermesKmsCursor::modifier {0}

Definition at line 1247 of file virtual_display.h.

◆ offset

uint32_t VDISPLAY::HermesKmsCursor::offset[4] {0, 0, 0, 0}

Definition at line 1251 of file virtual_display.h.

◆ pitch

uint32_t VDISPLAY::HermesKmsCursor::pitch[4] {0, 0, 0, 0}

Definition at line 1250 of file virtual_display.h.

◆ plane_count

uint32_t VDISPLAY::HermesKmsCursor::plane_count {0}

Definition at line 1248 of file virtual_display.h.

◆ position_valid

bool VDISPLAY::HermesKmsCursor::position_valid {false}

Definition at line 1229 of file virtual_display.h.

◆ position_x

int32_t VDISPLAY::HermesKmsCursor::position_x {0}

Definition at line 1232 of file virtual_display.h.

◆ position_y

int32_t VDISPLAY::HermesKmsCursor::position_y {0}

Definition at line 1233 of file virtual_display.h.

◆ sequence

uint64_t VDISPLAY::HermesKmsCursor::sequence {0}

Definition at line 1253 of file virtual_display.h.

◆ src_h

uint32_t VDISPLAY::HermesKmsCursor::src_h {0}

DRM 16.16 fixed point.

Definition at line 1241 of file virtual_display.h.

◆ src_w

uint32_t VDISPLAY::HermesKmsCursor::src_w {0}

DRM 16.16 fixed point.

Definition at line 1240 of file virtual_display.h.

◆ src_x

uint32_t VDISPLAY::HermesKmsCursor::src_x {0}

DRM 16.16 fixed point.

Definition at line 1238 of file virtual_display.h.

◆ src_y

uint32_t VDISPLAY::HermesKmsCursor::src_y {0}

DRM 16.16 fixed point.

Definition at line 1239 of file virtual_display.h.

◆ sync_file_fd

int VDISPLAY::HermesKmsCursor::sync_file_fd {-1}

Definition at line 1252 of file virtual_display.h.

◆ visible

bool VDISPLAY::HermesKmsCursor::visible {false}

Definition at line 1228 of file virtual_display.h.

◆ width

uint32_t VDISPLAY::HermesKmsCursor::width {0}

Definition at line 1244 of file virtual_display.h.


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