Closed Bug 1851270 Opened 2 years ago Closed 2 months ago

Canvas demo takes forever to progress further (waiting on the D2DBitmap::Map in the canvas worker thread to read back data for getImageData)

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

Attachments

(1 file)

Go to https://www.fxhash.xyz/generative/slug/%22-rekka-%22
Click on run
After the initial circles are drawn, it takes forever for the demo to progress further. I tried, and gave up after 1 minute of no progress.
Chrome starts progressing further quite quickly.

https://share.firefox.dev/3OZJXRi

Attached file about:support
Summary: Canvas demo takes forever to progress further → Canvas demo takes forever to progress further (looks like 80% of the time is spent in canvas ring buffer)

And profile with gpu-cavas: https://share.firefox.dev/3qVzWwu

I don't think we're mainly waiting on the ring buffer here.
We're waiting on the D2DBitmap::Map in the canvas worker thread to read back data for getImageData.

Summary: Canvas demo takes forever to progress further (looks like 80% of the time is spent in canvas ring buffer) → Canvas demo takes forever to progress further (waiting on the D2DBitmap::Map in the canvas worker thread to read back data for getImageData)

Still reproduces though the profile has changed a bit: https://share.firefox.dev/40X4ZpL

Type: enhancement → defect

The severity field is not set for this bug.
:ahale, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahale)

Looks OK now

Status: NEW → RESOLVED
Closed: 2 months ago
Flags: needinfo?(ahale)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: