aboutsummaryrefslogtreecommitdiffstats
path: root/components/webgpu/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)"revert-webrenderMukilan Thiyagarajan2023-09-141-2/+4
| | | | This reverts commit a9d37cb85ac2c55fc630fccffe1ba60ff00f555b.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-27/+24
| | | | | * strict imports formatting * Reformat all imports
* Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)Martin Robinson2023-09-101-4/+2
| | | | | | | | | | | | | | | | | | * Upgrade vendored version of WebRender * Patch WebRender: upgrade version of gleam * Restore hit testing implementation * Fix WebRender warnings * Adapt Servo to new WebRender * Update results * Add a workaround for #30313 This slightly expands text boundaries in order to take into account the fact that layout isn't measuring glyph boundaries.
* remove `extern crate` (#30311)Samson2023-09-081-5/+4
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update wgpu to 0.17 (#30147)Samson2023-08-211-3/+3
|
* Upgrade whole webgpu stack (#29795)Samson2023-08-201-169/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Try to `use` WebRender types moreMartin Robinson2023-07-101-18/+22
| | | | | The newer versions of WebRender move types around between `webrender` and `webrender_api` and this will reduce the churn during the upgrade.
* 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.