Open Bug 1895598 Opened 9 months ago Updated 9 months ago

Make PImageBridge::NewCompositable async

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

People

(Reporter: bradwerth, Unassigned)

Details

It's not clear that PImageBridge::NewCompositable must be a sync call. There's no explanation for it in sync-messages.ini and it doesn't return anything. If it remains sync, then it makes the hosting thread vulnerable to deadlocks if other work on the thread triggers the call (due to a sync decode of an animated GIF, for example).

Component: IPC → Graphics: WebRender

It might be worth asking Kelsey about this, as I know there's some WebGL stuff that requires sync IPC for spec reasons. Maybe it ties into that somehow, with the disclaimer that I know nothing about graphics.

You need to log in before you can comment on or make changes to this bug.