aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpubuffer.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-4/+1
|
* Fixing some style related issues in WebGPU.Istvan Miklos2020-02-271-12/+12
| | | | | | 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.
* Implement mapReadAsync function of GPUBufferIstvan Miklos2020-02-251-11/+163
| | | | | | Implemented the `mapReadAsync` and fixed the `unmap` functions of `GPUBuffer`. Added `mapped` internal slot for tracking the ArrayBuffer/Promise. Added more states to the `GPUBufferState` enum.
* Initial implementation of GPUQueueZakor2020-02-131-1/+6
| | | | | Added WebIDL bindings for `GPUQueue`. Implemented the `submit` function of `GPUQueue` and `defaultQueue` function of `GPUDevice`.
* Initial implementation of GPUBindGroup for WebGPUIstvan Miklos2020-01-301-0/+14
| | | | | Added WebIDL bindings for `GPUBindGroup`. Implemented the `createBindGroup` function of `GPUDevice`
* Only start WebGPU thread if an adapter is requestedZakor Gyula2020-01-131-5/+6
|
* Initial implementation of GPUBuffer for WebGPUIstvan Miklos2019-12-171-0/+120
Added WebIDL bindings for GPUBuffer, GPUBufferDescriptor, GPUBufferUsage Implemented the `createBuffer` and `createBufferMapped` functions of GPUDevice