smithay/src/backend/mod.rs

32 lines
646 B
Rust
Raw Normal View History

2017-03-07 10:53:57 +00:00
//! Backend (rendering/input) creation helpers
//!
//! Collection of common traits and implementation about
//! rendering onto various targets and receiving input
//! from various sources.
//!
//! Supported graphics backends:
//!
2017-05-18 20:28:02 +00:00
//! - winit
2017-09-14 12:00:11 +00:00
//! - drm
2017-03-07 10:53:57 +00:00
//!
//! Supported input backends:
//!
2017-05-18 20:28:02 +00:00
//! - winit
//! - libinput
2017-03-07 10:53:57 +00:00
pub mod graphics;
2018-09-24 22:32:09 +00:00
pub mod input;
2017-03-07 10:53:57 +00:00
#[cfg(feature = "backend_drm")]
pub mod drm;
#[cfg(feature = "backend_egl")]
pub mod egl;
2017-04-14 22:23:03 +00:00
#[cfg(feature = "backend_libinput")]
pub mod libinput;
2017-10-01 17:21:12 +00:00
#[cfg(feature = "backend_session")]
pub mod session;
#[cfg(feature = "backend_udev")]
pub mod udev;
2018-09-24 22:32:09 +00:00
#[cfg(feature = "backend_winit")]
pub mod winit;