aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11/ffi.rs
blob: 2fcda3b69ea0fb1bd36dd863cac82425abab4d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[cfg(feature="headless")]
pub use osmesa_sys::*;
pub use x11::keysym::*;
pub use x11::xcursor::*;
pub use x11::xf86vmode::*;
pub use x11::xlib::*;
pub use x11::xlib::xkb::*;

pub use self::glx::types::GLXContext;

/// GLX bindings
pub mod glx {
    include!(concat!(env!("OUT_DIR"), "/glx_bindings.rs"));
}

/// Functions that are not necessarly always available
pub mod glx_extra {
    include!(concat!(env!("OUT_DIR"), "/glx_extra_bindings.rs"));
}