← Back to release summary

WebGL drawingBufferStorage

Category
Graphics
Type
Chromium catches up
Status
Enabled by default (Chrome 122)
Intent stage
None

WPT details: This feature is fully tested using WebGL conformance tests, which has been checked in.

Summary

WebGL allows rendering into textures and renderbuffers of many different pixel formats (e.g, 8-bit, floating-point, sRGB-encoded, etc). The drawing buffer of WebGL (the buffer that is passed to the compositor) is 8-bit by default. This feature allows WebGL to configure the pixel format of this drawing buffer. This feature enables WebGL developers to: * avoiding an an extra copy convert their rendering to the default drawing buffer pixel format * draw content that has a more than 8 bits of precision The latter feature unlocks several additional applications * very wide color gamut content without loss of precision * medical applications which require >8 bits of precision * high dynamic range applications (when available)

Standards & signals

Ecosystem

View on chromestatus.com