Skip to main content

core_video/
lib.rs

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