aboutsummaryrefslogtreecommitdiffstats
path: root/components/webgpu
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)"revert-webrenderMukilan Thiyagarajan2023-09-142-3/+4
| | | | This reverts commit a9d37cb85ac2c55fc630fccffe1ba60ff00f555b.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-112-37/+35
| | | | | * strict imports formatting * Reformat all imports
* Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)Martin Robinson2023-09-102-4/+3
| | | | | | | | | | | | | | | | | | * 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-082-11/+10
| | | | | | | | | | | * 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-213-9/+9
|
* Upgrade whole webgpu stack (#29795)Samson2023-08-203-176/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Vendor the current version of WebRenderMartin Robinson2023-07-031-1/+1
| | | | | | | | This is a step toward upgrading WebRender, which will be upgraded and patched in the `third_party` directory. This change vendors the current private branch of WebRender that we use and adds a `patches` directory which tracks the changes on top of the upstream WebRender commit described by third_party/webrender/patches/head.
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-6/+6
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Bump euclid to 0.22Martin Robinson2023-01-261-1/+1
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* chore(deps): bump `smallvec` from 0.6 to 1.9 in all local packagesyvt2022-10-101-1/+1
| | | | | `smallvec ^0.6` no longer compiles after `nightly-2022-07-15` if the `union` feature is enabled.
* fixup! Update arrayvec.Josh Matthews2022-04-011-2/+4
|
* Update arrayvec.Josh Matthews2022-04-012-7/+7
|
* Pin git revisions of dependencies that aren't compatible in newer revisions.Josh Matthews2020-11-121-2/+2
|
* 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-222-2/+4
|
* 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-032-66/+22
| | | | 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-302-32/+61
| | | | Remove use of equivalent BGLs
* Implement GPURenderBundleEncoder and GPURenderBundleKunal Mohan2020-07-242-16/+48
|
* update wgpu, use serializable descriptorsKunal Mohan2020-07-222-151/+31
|
* 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-172-3/+41
|
* address review commentsKunal Mohan2020-07-171-97/+29
|
* Implement Async Error reporting for WebGPU and update wgpu-coreKunal Mohan2020-07-163-50/+170
|
* 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-272-28/+102
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-192-27/+49
|
* 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-132-3/+292
|
* Update wgpu-core and wgpu-typesKunal Mohan2020-06-041-24/+2
|