WEBGL_compressed_texture_etc1 WebGL extensionBaseline · Widely available
The WEBGL_compressed_texture_etc1 extension for WebGL 1.0 and 2.0 contexts adds the ETC1 compressed texture format to compressedTexImage2D() and compressedTexSubImage2D().
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 24, 2020. Widely available since Sep 24, 2022.
Browser support
DesktopChrome
1–48Not supported
49+Supportedsince Mar 2, 2016
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–54Not supported
55+Supportedsince Aug 8, 2017
Current: 157Safari
1–13Not supported
13.1+Supportedsince Mar 24, 2020
Current: 27MobileChrome Android
18–48Not supported
49+Supportedsince Mar 9, 2016
Current: 155Firefox Android
4–29Not supported
30+Supportedsince Jun 10, 2014
Current: 157Safari iOS
1–13Not supported
13.4+Supportedsince Mar 24, 2020
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: WEBGL compressed texture etc1.
Feature detection
JS · check before using
if ("WEBGL_compressed_texture_etc1" in globalThis) {
// WEBGL_compressed_texture_etc1 is available
} else {
// load a polyfill or use a fallback
}