Open Bug 1109332 Opened 5 years ago Updated 5 years ago

Image rendering is still blocking by JS after OMT HTTP and OMT image decoding

Categories

(Core :: ImageLib, defect)

x86
macOS
defect
Not set

Tracking

()

People

(Reporter: schien, Unassigned)

References

()

Details

Image rendering is still not completely off-main-thread after OMT Http (Bug 867755) and OMT image decoding (Bug 716140)

[steps to reproduce]
1. open http://people.mozilla.org/~schien/omt-perf.html in non-e10s window.

[expected behavior]
continuously image rendering while running JS

[actual behavior]
image rendering is blocking while running JS
I think this would work if the image got its own layer. (It'd be worth verifying that, though.) An ImageLayer can be asynchronously updated via its ImageContainer, but if we're just drawing the image into a PaintedLayer, we do that drawing on the main thread, which obviously competes with JS.
You need to log in before you can comment on or make changes to this bug.