1 unstable release

0.1.0 Jan 22, 2025

#1062 in GUI

Download history 247/week @ 2025-01-22

247 downloads per month

MIT license

20KB
318 lines

Smithay DRM Extras

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.

lib.rs:

Smithay DRM Extras

This crate contains some extra abstractions and helpers over DRM

  • display_info is responsible for extraction of information from DRM connectors
  • drm_scanner is responsible for detecting connector connected and disconnected events, as well as mapping CRTC to them.

Features

  • display_info - If enabled display_info functionality is enabled through libdisplay-info integration

Dependencies

~2–11MB
~140K SLoC