We are adding ImageBitmapRendererContext as a valid context for OffscreenCanvas. ImageBitmapRenderingContext allows direct transfer of an ImageBitmap to the canvas surface. This is particularly important as a way to render an ImageBitmap to a Canvas from a Worker (without transferring the ImageBitmap to the main thread). This is also currently the spec-defined way to render WebGPU content to the screen.

Motivation

We want to be able to move away from CPU to GPU the operations involving ImageBitmap rendering context. This is also currently the spec-defined way to render WebGPU content to the screen.

Documentation

Specification

Specification link


Unknown standards status - check spec link for status

Status in Chromium

Blink>Canvas


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Intent to Prototype url

Intent to Prototype thread

Search tags

ImageBitmap canvas OffscreenCanvas,

Last updated on 2021-11-26