← Back to release summary

OffscreenCanvas

Category
Graphics
Type
New or changed feature
Status
Enabled by default (Chrome 69)
Intent stage
None

Summary

OffscreenCanvas is a new interface that allows canvas rendering contexts (2D and WebGL) to be used in Workers. Making canvas rendering contexts available to workers increases parallelism in web applications, leading to improved performance on multi-core systems. As part of the required tooling for this to work, this also launches DedicatedWorker.requestAnimationFrame(), allowing animation-like events to be triggered the same on dedicated workers as they are in Window.

Standards & signals

Docs: https://wiki.whatwg.org/wiki/OffscreenCanvas https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/OffscreenCanvas

Samples: https://ebidel.github.io/demos/offscreencanvas.html

View on chromestatus.com