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.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 76
- Chrome for Android release 76
Consensus & Standardization
Intent to Prototype urlIntent to Prototype thread
Search tagsImageBitmap canvas OffscreenCanvas,
Last updated on 2020-11-19