| Summary: | Hide more ANGLE internal formats from WebGL | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Knyazev <lexa.knyazev> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 223352 | ||
| Bug Blocks: | |||
Committed 253718@main (8bd3169fe62b): <https://commits.webkit.org/253718@main> Reviewed commits have been landed. Closing PR #3579 and removing active labels. |
Some internal texture formats are either implicitly supported by ANGLE or explicitly enabled by WebKit even if they are not exposed to WebGL apps. Since ANGLE does not know whether a particular API call is done by WebKit itself or by a WebGL application, it cannot reject those extra formats. Affected entry points and internal formats: texImage GL_DEPTH_COMPONENT32_OES GL_RGBX8_ANGLE texStorage GL_BGRA4_ANGLEX GL_BGR5_A1_ANGLEX GL_DEPTH_COMPONENT32_OES GL_BGRA8_EXT GL_RGBX8_ANGLE copyTexImage2D GL_BGRA_EXT GL_BGRA8_EXT GL_RGBX8_ANGLE