Open Bug 1708491 Opened 3 years ago Updated 4 months ago

WebGL performance issue when rendering from an html video tag as RGB.

Categories

(Core :: Graphics: CanvasWebGL, defect, P2)

Firefox 88
defect

Tracking

()

UNCONFIRMED

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

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.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Component: DOM: Core & HTML → Canvas: WebGL
Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.