In Firefox hardware acceleration support for video decoding in sessions based on WebRTC technology, used in web applications for video conferencing. The acceleration is implemented using VA-API (Video Acceleration API) and FFmpegDataDecoder, and is available for both Wayland and X11. The implementation for X11 is based on the use of , using EGL.
To enable acceleration in about:config, the media.ffmpeg.low-latency.enabled setting should be set to true, and prior to that, enable VA-API support ("widget.wayland-dmabuf-vaapi.enabled=true", "gfx.webrender.all=true" or "layers.acceleration.force-enabled=true" and launch with the environment variable MOZ_ENABLE_WAYLAND=1 for Wayland and MOZ_X11_EGL=1 for X11).
Additionally, it can be noted in the Firefox 81 branch with WebRender compositing system for mobile devices with Adreno 5xx GPUs, Adreno 505 and 506. WebRender is written in Rust and allows for significant increases in rendering speed and reduction in CPU load by offloading page content rendering operations to the GPU, which are executed through shaders run on the GPU.
Source: opennet.ru
