smithay/smithay-drm-extras
Bartłomiej Maryńczak 17ed34bf27
Remove null bytes from manufacturer string (#974)
WlOutput can't use manufacturer name that contains \u{0} char
2023-04-20 14:09:01 +02:00
..
examples Update drm-rs 2023-03-30 15:31:04 +02:00
src Remove null bytes from manufacturer string (#974) 2023-04-20 14:09:01 +02:00
build.rs Init drm extras crate 2023-03-29 22:38:52 +02:00
Cargo.toml Update drm-rs 2023-03-30 15:31:04 +02:00
README.md Init drm extras crate 2023-03-29 22:38:52 +02:00

Smithay DRM Extras

This crate contains some extra abstractions and helpers over DRM

  • edid 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.