Closed Bug 1693329 Opened 4 years ago Closed 4 years ago

Unify the mechanics of dropping WebGPU objects

Categories

(Core :: Graphics: WebGPU, task)

task

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:

  1. (old mechanism) there are individual messages from client to server: FreeBuffer, FreeTexture, etc
  2. (new mechanism) the DropAction message that encodes the freeing in byte buffers.

We should port all the old logic over to the DropAction

See Also: → 1676916

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.

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
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: