willReadFrequently
Newly Available (since 2024-09-16)
Expected to be Widely Available on 2027-03-16
The optional willReadFrequently parameter of a canvas's getContext() method permits the browser to optimize for frequent getImageData() calls by avoiding hardware acceleration. Also known as multiple readback.
Browser support
- Chrome 99 Released on 2022-03-01
- Chrome Android 99 Released on 2022-03-01
- Edge 99 Released on 2022-03-03
- Firefox 28 Released on 2014-03-18
- Firefox for Android 28 Released on 2014-03-18
- Safari 18 Released on 2024-09-16
- Safari on iOS 18 Released on 2024-09-16
MDN documentation
Specifications
- HTML (#concept-canvas-will-read-frequently), from HTML Workstream (WHATWG).
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist