#[cfg(target_os = "android")]
mod android;
#[cfg(all(feature = "desktop", not(target_os = "android")))]
mod desktop;
#[cfg(any(
all(feature = "desktop", not(target_os = "android")),
target_os = "android"
))]
mod dev_window;
mod font_config;
mod frame_thread;
#[cfg(feature = "hardware")]
pub(crate) use font_config::offscreen_hardware_font_config;
pub use font_config::set_default_font_family;
mod generic;
mod handler;
mod host;
#[cfg(all(feature = "dev", not(target_os = "android")))]
mod hot_host;
mod multi;
fn resolved_window<A: crate::app::App + ?Sized>(
from_config: platform_core::WindowConfig,
app: &A,
) -> platform_core::WindowConfig {
app.window_config().unwrap_or(from_config)
}
const FRAME_BUDGET: std::time::Duration = std::time::Duration::from_nanos(1_000_000_000 / 60);
const HW_KEEPALIVE_GRACE: std::time::Duration = std::time::Duration::from_secs(3);
const HW_KEEPALIVE_INTERVAL: std::time::Duration = std::time::Duration::from_secs(1);
const COMMAND_BUF_POOL_CAP: usize = 3;
#[cfg(target_os = "android")]
pub use android::run_android_app_with_name;
#[cfg(all(feature = "desktop", not(target_os = "android")))]
pub use desktop::{open_window, run_app_windowed, run_app_with_name};
pub use generic::{run_with_platform, run_with_platform_and_renderer};
pub use host::SurfaceWindow;
#[cfg(all(feature = "dev", not(target_os = "android")))]
pub use hot_host::run_hot_reload_host;
pub use multi::{build_surface_handler, run_multi_with_platform};