Closed Bug 2093088 Opened 14 days ago Closed 13 days ago

Wait ImageBrige task handled in ClientWebGLContext::OnDestroyChild()

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

WebGL has the same bug as WebGPU that we fixed in bug 2060449. When updating remote textures to better support accelerated canvas in DOM workers, we hit similar root cause intermittent failures at a higher rate.

An OffscreenCanvas's compositable updates are sent from the ImageBridge
thread, which is also where FwdTransactionTracker is updated. Destroying
the context could read the tracker before the last update was sent, so the
owner was unregistered before the compositor saw its last texture, as was
fixed for WebGPU in bug 2060449.

Pushed by aosmond@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f8eb10a7536a https://hg.mozilla.org/integration/autoland/rev/ad309f069e3d Wait for ImageBridge tasks before handing off the last remote texture transaction of an OffscreenCanvas WebGL context. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: