#![doc(test(attr(deny(warnings))))]
#[cfg(target_os = "fuchsia")]
macro_rules! duration {
($category:expr, $name:expr $(, $key:expr => $val:expr)*) => {
fuchsia_trace::duration!($category, $name $(, $key => $val)*)
}
}
#[cfg(not(target_os = "fuchsia"))]
macro_rules! duration {
($category:expr, $name:expr $(, $key:expr => $val:expr)*) => {};
}
pub mod buffer;
mod composition;
mod renderer;
mod small_bit_set;
mod utils;
pub use crate::renderer::CpuRenderer;
#[cfg(feature = "gpu")]
pub use crate::renderer::GpuRenderer;
pub use composition::{Composition, Layer};
pub use utils::clear_buffer;
pub use surpass::painter::{
BlendMode, Channel, Color, Fill, FillRule, Func, Gradient, GradientBuilder, GradientType,
Image, Props, Rect, Style, Texture, BGR0, BGR1, BGRA, RGB0, RGB1, RGBA,
};
pub use surpass::{
AffineTransform, GeomId, GeomPresTransform, GeomPresTransformError, Order, OrderError, Path,
PathBuilder, Point,
};