aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpudevice.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement GPUBuffer.mapAsync and update wgpu-coreKunal Mohan2020-06-271-110/+37
|
* Remove validation for GPUBindGroup, GPUBindGroupLayout, GPUPipelineLayoutKunal Mohan2020-06-191-441/+82
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-191-208/+139
|
* Add GPUSampler and GPUTextureView to BindingResourceKunal Mohan2020-06-171-58/+364
| | | | Add validation for BindGroups
* Implement GPUSwapChain and GPUCanvasContext and interface with WebrenderKunal Mohan2020-06-131-0/+4
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-041-11/+13
|
* Implement GPURenderPassEncoderKunal Mohan2020-06-041-2/+7
| | | | | Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods.
* Implement GPUTexture and GPUTextureViewKunal Mohan2020-06-011-7/+156
|
* Implement GPURenderPipelineKunal Mohan2020-05-301-19/+257
| | | | Add webidl for GPURenderPipeline and implement GPUDevice.createRenderPipeline()
* Make WebGPU resource creation fully asyncKunal Mohan2020-05-261-31/+17
| | | | | Remove some garbage code in adapter id checks Prevent panic during shutdown if using WebGPU
* Add GPUSampler to WebGPU implementationKunal Mohan2020-05-261-21/+89
| | | | Add dom_struct and webidl for GPUSampler, implement GPUDevice.createSampler() method.
* Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu ↵Kunal Mohan2020-05-211-23/+30
| | | | | | id recycling Remove current implementation of MapReadAsync
* Validate copybuffertobuffer() + some spec updateKunal Mohan2020-05-151-8/+8
| | | | | The spec update includes renaming bindings to entries and adding CommandEncoderState.
* Share single gpu_id_hub among all threads in a processKunal Mohan2020-05-151-0/+8
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+1
|
* Fixing some style related issues in WebGPU.Istvan Miklos2020-02-271-50/+66
| | | | | | 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-36/+27
| | | | | | 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-2/+13
| | | | | Added WebIDL bindings for `GPUQueue`. Implemented the `submit` function of `GPUQueue` and `defaultQueue` function of `GPUDevice`.
* Initial implementation of GPUCommandEncoderZakor Gyula2020-02-111-1/+21
| | | | | | Added WebIDL bindings for `GPUCommandEncoder`, `GPUCommandBuffer`, `GPUComputePassEncoder`, `GPUProgrammablePassEncoder`. Implemented the `beginComputePass`, `copyBufferToBuffer` and `finish` functions of `GPUCommandEncoder`. Implemented the `createCommandEncoder` function of `GPUDevice`.
* Initial implementation of GPUComputePipelineIstvan Miklos2020-02-111-0/+30
| | | | | Added WebIDL bindings for `GPUComputePipeline`. Implemented the `createComputePipeline` function of `GPUDevice`.
* Initial implementation of GPUShaderModuleIstvan Miklos2020-02-111-1/+32
| | | | | Added WebIDL bindings for `GPUShaderModule`. Implemented the `createShaderModule` function of `GPUDevice`.
* Initial implementation of GPUBindGroup for WebGPUIstvan Miklos2020-01-301-1/+66
| | | | | Added WebIDL bindings for `GPUBindGroup`. Implemented the `createBindGroup` function of `GPUDevice`
* Support worker for WebGPUIstvan Miklos2020-01-231-61/+47
| | | | | 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`.
* Initial implementation of GPUPipelineLayout for WebGPUIstvan Miklos2020-01-211-0/+67
| | | | | Added WebIDL bindings for `GPUPipelineLayout`. Implemented the createPipelineLayout function of `GPUDevice`.
* Modify `script` to prevent further violations of snake_caseKunal Mohan2020-01-181-0/+1
|
* Initial implementation of GPUBindGroupLayout for WebGPUIstvan Miklos2020-01-161-0/+180
| | | | | | Added WebIDL bindings for `GPUBindGroupLayout`, `GPUBindGroupLayoutDescriptor`, `GPUBindingType`, `GPUShaderStage` and `GPUBindGroupLayoutBinding` (Note: The servo's codegen doesn't like the name, because its already occupied). Implemented the `createBindGroupLayout` function of `GPUDevice`.
* Fix returned error types in WebGPUZakor Gyula2020-01-131-2/+2
|
* Only start WebGPU thread if an adapter is requestedZakor Gyula2020-01-131-45/+28
|
* Initial implementation of GPUBuffer for WebGPUIstvan Miklos2019-12-171-3/+161
| | | | | Added WebIDL bindings for GPUBuffer, GPUBufferDescriptor, GPUBufferUsage Implemented the `createBuffer` and `createBufferMapped` functions of GPUDevice
* Initial implementation of GPUDevice for WebGPUIstvan Miklos2019-12-051-0/+91
Added the WebIDL bindigs for GPUDevice, GPUObjectDescriptorBase, GPUDeviceDescriptor, GPUObjectBase Implemented the `requestDevice` function of `GPUAdapter`