Low performance on WebGLTexelConversion compared to other browsers.
Categories
(Core :: Graphics: Canvas2D, enhancement)
Tracking
()
People
(Reporter: martin, Unassigned)
Details
Steps to reproduce:
Hi,
You can very easily reproduce it via babylonjs https://playground.babylonjs.com/#5ZCGRM%234896
The firefox profiler points me to WebGLTexelConversion leading me to this issue.
There is already a forum post on babylonjs here: https://forum.babylonjs.com/t/performance-of-updating-dynamic-texture-on-firefox/47624
But it seems like they cannot do much from their end.
Test it out on chrome and firefox and you will see a great difference in fps. Especially increasing the resolution factor does not influence chrome as much as it does on firefox.
My use case is moving a canvas of a mapping library into babylonjs context. Another person mentioned the use of custom canvas element in a game. And I have also seen use cases on threejs.
Best!
The issue might be related to this one: https://bugzilla.mozilla.org/show_bug.cgi?id=1246410
Please have a look and close this issue if it is the same. But the issue is 8 years old, so I am not sure if it gets the right amount of attention.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•