Canvas demo using animated emojis is pretty slow with gfx.direct2d.disabled=True
Categories
(Core :: Graphics: Text, enhancement)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
()
Details
Set gfx.direct2d.disabled= True
(The reason to disable D2d was to enable gpu-canvas)
Go to https://xem.github.io/codegolf/emojysics.html
AR: Very slow animation
gpu-canvas: https://share.firefox.dev/43Q4Nsw
skia-canvas: https://share.firefox.dev/3qW6dmR
D2d-canvas: https://share.firefox.dev/46fVwf3
This may be an obvious and known thing. So feel free to Wontfix etc.
Filing under graphics:text for now, but this may be a canvas bug.
Reporter | ||
Comment 1•1 year ago
|
||
Also I am curious that in the profile for gpu-canvas, a lot of the functions call ntdll and dwrite.dll. I thought that with d2d disabled, dwrite wouldnt be used at all.
Reporter | ||
Comment 2•9 months ago
|
||
Latest profile: https://share.firefox.dev/3wyj8xT
This works great now. Closing.
Comment 3•9 months ago
|
||
Possibly bug 1872545 and/or bug 1875670 may have helped here, or other optimizations. Thanks for re-testing and letting us know it's OK now!
Reporter | ||
Comment 4•9 months ago
|
||
Yeah, i have done a bisection now, and the biggest improvement by far is from bug 1875670.
Marking as a dupe.
Description
•