Skip to main content

core_video/
lib.rs

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