1 | #![no_std] |
---|---|
2 | #![allow(non_upper_case_globals)] |
3 | #![allow(non_camel_case_types)] |
4 | #![allow(non_snake_case)] |
5 | |
6 | extern crate libc; |
7 | |
8 | #[cfg(feature = "use_bindgen")] |
9 | include!(concat!(env!("OUT_DIR"), "/bindings.rs")); |
10 | |
11 | #[cfg(not(feature = "use_bindgen"))] |
12 | include!(concat!( |
13 | "platforms/", |
14 | env!("DRM_SYS_BINDINGS_PATH"), |
15 | "/bindings.rs" |
16 | )); |
17 | |
18 | pub const DRM_PLANE_TYPE_OVERLAY: u32 = 0; |
19 | pub const DRM_PLANE_TYPE_PRIMARY: u32 = 1; |
20 | pub const DRM_PLANE_TYPE_CURSOR: u32 = 2; |
21 |