Closed Bug 1881518 Opened 4 months ago Closed 4 months ago

Recycle wgpu resource ID indices

Categories

(Core :: Graphics: WebGPU, task, P3)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 file)

We used to recycle them and accidentally lost the ability to do so. https://github.com/gfx-rs/wgpu/pull/5244 reintroduces a simple way to recycle IDs. They can be reused as soon as the <resource>_drop function is called which, for Gecko means we can make the index reusable as soon as we have sent the corresponding <Resource>Drop IPDL message.

Summary: REcycle wgpu resource ID indices → Recycle wgpu resource ID indices
Assignee: nobody → nical.bugzilla
Status: NEW → ASSIGNED
Depends on: 1879989

This has been resolved! 🎉

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Blocks: 1863872
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dd10bf41fcea
Recycle indices again. r=webgpu-reviewers,bradwerth
Target Milestone: --- → 126 Branch
See Also: → 1610902
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: