1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]
2
3extern crate block;
4#[macro_use]
5extern crate core_foundation;
6extern crate core_graphics2 as core_graphics;
7extern crate io_surface;
8extern crate libc;
9#[cfg(feature = "metal")]
10extern crate metal;
11#[cfg(feature = "objc")]
12extern crate objc2;
13
14#[cfg(any(target_os = "macos", target_os = "ios"))]
15#[cfg_attr(feature = "link", link(name = "CoreVideo", kind = "framework"))]
16extern "C" {}
17
18pub type CGLContextObj = *mut libc::c_void;
19pub type CGLPixelFormatObj = *mut libc::c_void;
20pub type GLenum = libc::c_uint;
21pub type GLsizei = libc::c_int;
22pub type GLint = libc::c_int;
23pub type GLuint = libc::c_uint;
24pub type OSType = u32;
25
26pub mod base;
27pub mod buffer;
28#[cfg(all(target_os = "macos", feature = "display-link"))]
29pub mod display_link;
30pub mod host_time;
31pub mod image_buffer;
32#[cfg(feature = "metal")]
33pub mod metal_texture;
34#[cfg(feature = "metal")]
35pub mod metal_texture_cache;
36#[cfg(target_os = "macos")]
37pub mod opengl_buffer;
38#[cfg(target_os = "macos")]
39pub mod opengl_buffer_pool;
40#[cfg(target_os = "ios")]
41pub mod opengl_es_texture;
42#[cfg(target_os = "ios")]
43pub mod opengl_es_texture_cache;
44#[cfg(target_os = "macos")]
45pub mod opengl_texture;
46#[cfg(target_os = "macos")]
47pub mod opengl_texture_cache;
48pub mod pixel_buffer;
49pub mod pixel_buffer_io_surface;
50pub mod pixel_buffer_pool;
51pub mod pixel_format_description;
52pub mod r#return;