Bug 244252 - Hide more ANGLE internal formats from WebGL
Summary: Hide more ANGLE internal formats from WebGL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 223352
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-23 07:25 PDT by Alexey Knyazev
Modified: 2022-08-24 00:57 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Knyazev 2022-08-23 07:25:22 PDT
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
Comment 1 EWS 2022-08-24 00:56:22 PDT
Committed 253718@main (8bd3169fe62b): <https://commits.webkit.org/253718@main>

Reviewed commits have been landed. Closing PR #3579 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-08-24 00:57:17 PDT
<rdar://problem/99072542>