1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]

extern crate block;
#[macro_use]
extern crate core_foundation;
extern crate core_graphics2 as core_graphics;
extern crate io_surface;
extern crate libc;
#[cfg(feature = "metal")]
extern crate metal;
#[cfg(feature = "objc")]
extern crate objc2;

#[cfg(any(target_os = "macos", target_os = "ios"))]
#[cfg_attr(feature = "link", link(name = "CoreVideo", kind = "framework"))]
extern "C" {}

pub type CGLContextObj = *mut libc::c_void;
pub type CGLPixelFormatObj = *mut libc::c_void;
pub type GLenum = libc::c_uint;
pub type GLsizei = libc::c_int;
pub type GLint = libc::c_int;
pub type GLuint = libc::c_uint;
pub type OSType = u32;

pub mod base;
pub mod buffer;
#[cfg(all(target_os = "macos", feature = "display-link"))]
pub mod display_link;
pub mod host_time;
pub mod image_buffer;
#[cfg(feature = "metal")]
pub mod metal_texture;
#[cfg(feature = "metal")]
pub mod metal_texture_cache;
#[cfg(target_os = "macos")]
pub mod opengl_buffer;
#[cfg(target_os = "macos")]
pub mod opengl_buffer_pool;
#[cfg(target_os = "ios")]
pub mod opengl_es_texture;
#[cfg(target_os = "ios")]
pub mod opengl_es_texture_cache;
#[cfg(target_os = "macos")]
pub mod opengl_texture;
#[cfg(target_os = "macos")]
pub mod opengl_texture_cache;
pub mod pixel_buffer;
pub mod pixel_buffer_io_surface;
pub mod pixel_buffer_pool;
pub mod pixel_format_description;
pub mod r#return;