diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-02-02 21:54:14 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-02-02 21:54:14 +0100 |
| commit | 811a6bd572f4c6b26e99b4e746f5d710947ee934 (patch) | |
| tree | 3ff6375ce2d7ea13e0d49f7800757a1b42604884 /src/screen/drm/request/connector.zig | |
| parent | 3f4375a14218796cbd7bfff1c8cfff0f7bb1f6df (diff) | |
screen: drm change struct layout
Diffstat (limited to 'src/screen/drm/request/connector.zig')
| -rw-r--r-- | src/screen/drm/request/connector.zig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/screen/drm/request/connector.zig b/src/screen/drm/request/connector.zig new file mode 100644 index 0000000..7f0b788 --- /dev/null +++ b/src/screen/drm/request/connector.zig @@ -0,0 +1,24 @@ +const drm = @import("../root.zig"); +const Mode = drm.Connector.Mode; +const Kind = drm.Connector.Kind; +const Status = drm.Connector.Status; + +pub const Connector = extern struct { + encoder_ids: ?*u32, + modes: ?*Mode, + prop_ids: ?*u32, + prop_value_ids: ?*u64, + count_modes: u32, + count_props: u32, + count_encoders: u32, + encoder_id: u32, + id: u32, + type: Kind, + type_id: u32, + connection: Status, + mm_width: u32, + mm_height: u32, + subpixel: u32, + pad: u32, +}; + |