mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Atomic modesetting
This commit is contained in:
parent
913829e381
commit
af67966d92
11 changed files with 350 additions and 72 deletions
|
|
@ -27,6 +27,8 @@ static const struct prop_info connector_info[] = {
|
|||
|
||||
static const struct prop_info crtc_info[] = {
|
||||
#define INDEX(name) (offsetof(union wlr_drm_crtc_props, name) / sizeof(uint32_t))
|
||||
{ "ACTIVE", INDEX(active) },
|
||||
{ "MODE_ID", INDEX(mode_id) },
|
||||
{ "rotation", INDEX(rotation) },
|
||||
{ "scaling mode", INDEX(scaling_mode) },
|
||||
#undef INDEX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue