smithay/smithay-drm-extras
Ian Douglas Scott 2848e7f9f9 Update drm, gbm, image; xkbcommon/x11rb deps of Anvil
There's also a new `ash` release, but that seems to require some changes
to use. So I left that for now.
2024-04-22 10:47:42 +02:00
..
examples Fix build of smithay-drm-extras example 2023-10-19 12:48:25 -07: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, gbm, image; xkbcommon/x11rb deps of Anvil 2024-04-22 10:47:42 +02:00
LICENSE DRM Extras license 2024-01-29 22:56:38 +01: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.