Closed Bug 1754302 Opened 3 years ago Closed 3 years ago

Replace uses of GetMainThreadSerialEventTarget with GetCurrentSerialEventTarget

Categories

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

defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file)

When WebGPU runs off the main thread, we will want to call GetCurrentSerialEventTarget for the worker thread. It should work the same as GetMainThreadSerialEventTarget on the main thread.

This is necessary for when WebGPU objects are accessed from a worker
thread instead of the main thread. It should be otherwise a
non-functional change.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6fbfac815e1b WebGPU should consistently use GetCurrentSerialEventTarget instead of GetMainThreadSerialEventTarget. r=kvark
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: