wgpu_native/lib.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5use std::sync::Arc;
6
7mod command;
8mod device;
9
10pub use self::command::*;
11pub use self::device::*;
12
13type Global = core::hub::Global<core::hub::IdentityManagerFactory>;
14
15lazy_static::lazy_static! {
16 static ref GLOBAL: Arc<Global> = Arc::new(Global::new("wgpu", core::hub::IdentityManagerFactory));
17}