Implement client-side logic for WebGPU id recycling

This commit is contained in:
Kunal Mohan 2020-05-22 17:49:35 +05:30
parent 94063d67a8
commit 39f336b527
10 changed files with 118 additions and 19 deletions

View file

@ -159,7 +159,7 @@ pub struct WorkletGlobalScopeInit {
pub is_headless: bool,
/// An optional string allowing the user agent to be set for testing
pub user_agent: Cow<'static, str>,
/// Channel to WebGPU
/// Identity manager for WebGPU resources
pub gpu_id_hub: Arc<Mutex<Identities>>,
}