WebGL performance issue when rendering from an html video tag as RGB.
Categories
(Core :: Graphics: CanvasWebGL, defect, P2)
Tracking
()
People
(Reporter: jakelivak, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
Use an HTML video element as a texture source (in this case using Three.js) in RGB format.
Actual results:
Performance degrades significantly with frametimes ~200x slower than if you use RGBA format.
Example of video texture as RGB: https://codepen.io/jakelivak/pen/WNRByPJ
Expected results:
Performance should be comparable to when RGBA format is used.
Example of video texture as RGBA: https://codepen.io/jakelivak/pen/QWdRxZr
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This ticket may be related https://bugzilla.mozilla.org/show_bug.cgi?id=1680851
Updated•2 years ago
|
Description
•