mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
hw/modesetting: Add required structs and data.
Will be used by the next commits.
This commit is contained in:
committed by
Enrico Weigelt
parent
a43941be91
commit
c390441ca9
@@ -51,6 +51,7 @@ enum drmmode_plane_property {
|
||||
DRMMODE_PLANE_CRTC_Y,
|
||||
DRMMODE_PLANE_CRTC_W,
|
||||
DRMMODE_PLANE_CRTC_H,
|
||||
DRMMODE_PLANE_SIZE_HINTS,
|
||||
DRMMODE_PLANE__COUNT
|
||||
};
|
||||
|
||||
@@ -183,6 +184,17 @@ typedef struct {
|
||||
uint32_t flip_seq;
|
||||
} drmmode_tearfree_rec, *drmmode_tearfree_ptr;
|
||||
|
||||
typedef struct {
|
||||
uint16_t width, height;
|
||||
} drmmode_cursor_dim_rec, *drmmode_cursor_dim_ptr;
|
||||
|
||||
typedef struct {
|
||||
uint16_t num_dimensions;
|
||||
|
||||
drmmode_cursor_dim_rec* dimensions;
|
||||
struct dumb_bo *bo;
|
||||
} drmmode_cursor_rec, *drmmode_cursor_ptr;
|
||||
|
||||
typedef struct {
|
||||
drmmode_ptr drmmode;
|
||||
drmModeCrtcPtr mode_crtc;
|
||||
|
||||
Reference in New Issue
Block a user