Repository navigation
Remove ETC2/EAC compressed texture formats from WebGL 2.0 core - #2053
Conversation
|
Lint is failing because I touched a file which was already failing the lint (it has a weird mix of tabs and spaces). |
kenrussell
left a comment
There was a problem hiding this comment.
This is great -- thank you for making these changes.
@jdashg @zhenyao please NOTE that this pull request requires the browser to be updated to no longer advertise the ETC2 enums on WebGL2RenderingContextBase.
It's also basically dependent on: (1) WEBGL_compressed_texture_es3_0 being promoted to community approved; and (2) a pull request removing the enums from the core context and webgl2.idl.
| } else { | ||
| shouldBe("supportedFormats.length", "14"); | ||
| } | ||
| // There should be exactly 4 formats for both WebGL 1.0 WebGL 2.0. |
There was a problem hiding this comment.
typo: "WebGL 1.0 and WebGL 2.0"
|
Uploaded #2056 to address the lint problems. Please rebase once it lands. Thanks. |
80111de to
a731674
Compare
a731674 to
2be7b4f
Compare
|
I added the WebGL 2 spec changes to this PR. PTAL when you have a chance @kenrussell, thanks. Thanks @Zmo for help on the spec editing. |
2be7b4f to
4b2e930
Compare
|
LGTM |
kenrussell
left a comment
There was a problem hiding this comment.
Looks good overall after the fact. One small comment.
| COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, | ||
| COMPRESSED_RGBA8_ETC2_EAC, and COMPRESSED_SRGB8_ALPHA8_ETC2_EAC. | ||
|
|
||
| <p>These texture formats are not supported in WebGL 2.0. |
There was a problem hiding this comment.
I'd probably have said "not supported by default".
This fixes #2030.