← Back to release summary

DisplayList2D, display lists for 2D canvas contexts

Category
Graphics
Type
New or changed feature
Status
No active development (Chrome No active development)
Intent stage
None

Summary

This API allows 2D canvas command streams to be recorded, played back, serialized and deserialized. The primary goal of this API is to increase app performance by minimizing the amount of script and API calls that need to be executed in animation updates. A secondary purpose is to improve development workflows by handling command streams as assets that are easy to inspect, edit and debug.

Motivation

CPU time on the main thread is often the main bottleneck in graphics-intensive web apps. This new API aims to greatly reduce script and API overhead by allowing rendering command streams to be batch into "display lists". Browser implementation may even cache display on a separate thread, thus completely displacing the computational burden of display list playback off the main thread.

Standards & signals

Ecosystem

View on chromestatus.com