| Crates.io | smithay-drm-extras |
| lib.rs | smithay-drm-extras |
| version | 0.1.0 |
| created_at | 2025-01-22 20:27:55.309765+00 |
| updated_at | 2025-01-22 20:27:55.309765+00 |
| description | Smithay DRM utils for writing wayland compositors. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1527081 |
| size | 38,445 |
This crate contains some extra abstractions and helpers over DRM
display_info module is responsible for extraction of information from DRM connectors (model and manufacturer)drm_scanner module contains helpers for detecting connector connected and disconnected events as well as mapping crtc to them.
ConnectorScanner is responsible for tracking connected/disconnected events.CrtcMapper trait and SimpleCrtcMapper are meant for mapping crtc to connector.DrmScanner<CrtcMapper> combines two above into single abstraction. If it does not fit your needs you can always drop down to using ConnectoScanner alone.