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