aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpu.rs
Commit message (Collapse)AuthorAgeFilesLines
* Codegen support multiple interfaces in single webidl file & WebGPU single ↵Samson2023-09-301-2/+2
| | | | | | | | | webidl (#30448) * Codegen support multiple interfaces in single webidl file * Merge GPU*.webidl into WebGPU.webidl * Update gpu files to use WebGPUBinding module file
* Add GPUSupportedFeatures and update GPUSupportedLimits (#30359)Samson2023-09-141-0/+2
| | | | | | | * GPUSupportedFeatures * New supported limits * Update expectations
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-12/+14
| | | | | * strict imports formatting * Reformat all imports
* Upgrade whole webgpu stack (#29795)Samson2023-08-201-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow noidl files in script/dom/webidls * Upgrade wgpu to 0.16 and refresh whole webgpu implementation * Update WebGPU test expectations * misc * MutNullableDom -> DomRefCell<Option<Dom for GPUTexture * Direct use of GPUTextureDescriptor * Remove config from GPUCanvasContext * misc * finally blue color * gpubuffer "handle" error * GPU object have non-null label * gpu limits and info * use buffer_size * fix warnings * Cleanup * device destroy * fallback adapter * mach update-webgpu write webgpu commit hash in file * Mising deps in CI for webgpu tests * Updated expectations * Fixups * early reject * DomRefCell<Option<Dom -> MutNullableDom for GPUTexture
* Remove global argument from Promise::new_in_current_realm.Josh Matthews2023-05-201-1/+1
|
* Error handling for promise returning operationsKunal Mohan2020-08-021-12/+13
|
* Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu ↵Kunal Mohan2020-05-211-8/+9
| | | | | | id recycling Remove current implementation of MapReadAsync
* Share single gpu_id_hub among all threads in a processKunal Mohan2020-05-151-1/+1
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+2
|
* Fixing some style related issues in WebGPU.Istvan Miklos2020-02-271-4/+8
| | | | | | Changed the Requests/Response from tuples to named struct variants and also sorted in alphabetical order. Replaced the ID generator functions from `globalscope` with a single function, which returns a `RefMut` and can call the appropriate method to generate resource IDs.
* rename compartment to realmKunal Mohan2020-01-241-7/+3
|
* Support worker for WebGPUIstvan Miklos2020-01-231-7/+5
| | | | | To create resource ids for the WebGPU we need to access the `IdentityHub`. In order to access the `IdentityHub` from a `Window` or a `Worker` as well, I've moved the `IdentityHub` to the `GlobalScope` from the `Navigator`.
* Fix returned error types in WebGPUZakor Gyula2020-01-131-7/+2
|
* Only start WebGPU thread if an adapter is requestedZakor Gyula2020-01-131-21/+20
|
* Replace wgpu-native with wgpu-coreZakor Gyula2019-12-061-7/+9
|
* Add WebGPU identity managementIstvan Miklos2019-11-281-0/+3
| | | | Issue: https://github.com/servo/servo/issues/24706#issuecomment-557891841
* Initial implementation of WebGPU APIZakor Gyula2019-11-211-0/+158