The ImageBitmap rendering context for <offscreenCanvas>

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.

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

Established standard

Status in Chromium

Blink>Canvas


Enabled by default (tracking bug) in:

  • Chrome for desktop release 76
  • Chrome for Android release 76
  • Android WebView release 76

Consensus & Standardization

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

Owners

Intent to Implement url

Intent to Implement thread

Last updated on 2019-06-20