aboutsummaryrefslogtreecommitdiffstats
path: root/components/webgpu/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* fixup! Update arrayvec.Josh Matthews2022-04-011-2/+4
|
* Update arrayvec.Josh Matthews2022-04-011-6/+6
|
* Use Device limits and features provided by userKunal Mohan2020-09-231-2/+2
| | | | Spec update
* prevent unconditional cloning of resultsKunal Mohan2020-08-271-9/+9
|
* Prevent redundant texture and buffer destroy callsKunal Mohan2020-08-251-7/+5
|
* fix presentation beltKunal Mohan2020-08-231-6/+9
|
* defer encoding errors to finish()Kunal Mohan2020-08-221-26/+34
|
* upgrade wgpu to v0.6Kunal Mohan2020-08-221-0/+2
|
* Implement GPUPipelineBase for implicit pipeline layoutsKunal Mohan2020-08-191-4/+45
|
* update wgpuKunal Mohan2020-08-161-70/+26
|
* Remove entries from error_command_buffers on dropKunal Mohan2020-08-081-0/+4
|
* Record errors in GPUCommandEncoder.BeginPass() and EncoderPass.endPass()Kunal Mohan2020-08-071-17/+43
|
* Register invalid resources separatelyKunal Mohan2020-08-061-51/+115
|
* update wgpuKunal Mohan2020-08-061-11/+10
|
* Change ErrorScopeId type to NonZeroU64Kunal Mohan2020-08-031-58/+12
| | | | And extract it from WebGPURequest
* Record validation error in mapAsync()Kunal Mohan2020-08-021-1/+6
|
* Error handling for promise returning operationsKunal Mohan2020-08-021-15/+31
|
* Report errors from void returning operationsKunal Mohan2020-08-011-11/+55
|
* Refactor and improve GPUErrorScopesKunal Mohan2020-07-301-31/+60
| | | | Remove use of equivalent BGLs
* Implement GPURenderBundleEncoder and GPURenderBundleKunal Mohan2020-07-241-14/+46
|
* update wgpu, use serializable descriptorsKunal Mohan2020-07-221-149/+29
|
* Implement GPUCommandEncoder.copy commandsKunal Mohan2020-07-211-0/+60
|
* Update GPUObjectBase webidl and cleanup valid flagsKunal Mohan2020-07-201-18/+60
|
* Ensure GPUDevice cleanup in GlobalScopeKunal Mohan2020-07-171-0/+12
|
* address review commentsKunal Mohan2020-07-171-97/+29
|
* Implement Async Error reporting for WebGPU and update wgpu-coreKunal Mohan2020-07-161-48/+152
|
* Auto merge of #27180 - kunalmohan:segfault, r=kvarkbors-servo2020-07-061-36/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove segfaults in WebGPU threads <!-- Please describe your changes on the following line: --> I have also increased the number of staging buffers for presentation. Segfault occurred at 2 places- 1. RenderPipeline descriptor. 2. BufferMapAsync callback. r?@kvark --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * Remove segfaults in WebGPU threadsKunal Mohan2020-07-071-36/+41
| |
* | Implement GPUQueue.writeBuffer and GPUQueue.writeTextureKunal Mohan2020-07-041-0/+43
| |
* | Update wgpu-core and wgpu-typesKunal Mohan2020-07-041-1/+1
|/
* WebGPU update presentation data asynchronouslyKunal Mohan2020-07-031-62/+138
|
* Ensure proper unmap of bufferKunal Mohan2020-06-271-16/+13
|
* address review commentsKunal Mohan2020-06-271-574/+599
|
* Implement GPUBuffer.mapAsync and update wgpu-coreKunal Mohan2020-06-271-27/+101
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-191-25/+45
|
* Add GPUSampler and GPUTextureView to BindingResourceKunal Mohan2020-06-171-8/+8
| | | | Add validation for BindGroups
* Implement GPUSwapChain and GPUCanvasContext and interface with WebrenderKunal Mohan2020-06-131-3/+289
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-041-24/+2
|
* Implement GPURenderPassEncoderKunal Mohan2020-06-041-0/+14
| | | | | Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods.
* Implement GPUTexture and GPUTextureViewKunal Mohan2020-06-011-0/+40
|
* Implement GPURenderPipelineKunal Mohan2020-05-301-0/+93
| | | | Add webidl for GPURenderPipeline and implement GPUDevice.createRenderPipeline()
* Make WebGPU resource creation fully asyncKunal Mohan2020-05-261-123/+32
| | | | | Remove some garbage code in adapter id checks Prevent panic during shutdown if using WebGPU
* Add GPUSampler to WebGPU implementationKunal Mohan2020-05-261-58/+71
| | | | Add dom_struct and webidl for GPUSampler, implement GPUDevice.createSampler() method.
* Implement client-side logic for WebGPU id recyclingKunal Mohan2020-05-221-4/+4
|
* Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu ↵Kunal Mohan2020-05-211-79/+62
| | | | | | id recycling Remove current implementation of MapReadAsync
* Fixing some style related issues in WebGPU.Istvan Miklos2020-02-271-270/+369
| | | | | | 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-14/+58
| | | | | | 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.
* Implement GPUComputePassEncoder functionsIstvan Miklos2020-02-191-0/+8
| | | | Implement the `dispatch`, `endPass`, `setBindGroup`, `setPipeline` functions of `GPUComputePassEncoder`.
* Initial implementation of GPUQueueZakor2020-02-131-2/+14
| | | | | Added WebIDL bindings for `GPUQueue`. Implemented the `submit` function of `GPUQueue` and `defaultQueue` function of `GPUDevice`.
* Initial implementation of GPUCommandEncoderZakor Gyula2020-02-111-0/+64
| | | | | | Added WebIDL bindings for `GPUCommandEncoder`, `GPUCommandBuffer`, `GPUComputePassEncoder`, `GPUProgrammablePassEncoder`. Implemented the `beginComputePass`, `copyBufferToBuffer` and `finish` functions of `GPUCommandEncoder`. Implemented the `createCommandEncoder` function of `GPUDevice`.