Closed
Bug 1693329
Opened 4 years ago
Closed 4 years ago
Unify the mechanics of dropping WebGPU objects
Categories
(Core :: Graphics: WebGPU, task)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: kvark, Assigned: kvark)
References
Details
Attachments
(1 file)
We currently have 2 mechanisms in place:
- (old mechanism) there are individual messages from client to server: FreeBuffer, FreeTexture, etc
- (new mechanism) the
DropAction
message that encodes the freeing in byte buffers.
We should port all the old logic over to the DropAction
Assignee | ||
Comment 1•4 years ago
|
||
Instead of having a separate IPC message type for every kind of object ID freeing,
we are encoding this into Rust enums and passing under the same DropAction.
This saves a bunch of lines of code, and allows us to free IDs in bulk where we need it.
Updated•4 years ago
|
Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01995db56a15
Update WebGPU code to use the new drop IPC r=jgilbert
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•