Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1332)

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 2366453002: remove ETC2/EAC texture support in core WebGL 2 (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 5c070f1f2252fc1f344cd021d4572991fa1356cc..21f8b65626abc6141764d6c69f4d06f4ba7dae56 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -10948,7 +10948,6 @@ extern const NameToFunc g_gles2_function_table[] = {
f.write(code % {
'name': ToUnderscore(name),
})
- f.write("UpdateETCCompressedTextureFormats();");
f.write("}\n\n");
f.write("void Validators::UpdateETCCompressedTextureFormats() {\n")
@@ -11022,12 +11021,6 @@ const size_t GLES2Util::enum_to_string_table_len_ =
for es3_enum in _NAMED_TYPE_INFO[enum]['valid_es3']:
if not es3_enum in valid_list:
valid_list.append(es3_enum)
- if enum in [
- 'CompressedTextureFormat',
- 'TextureInternalFormatStorage',
- ]:
- for es3_enum in _ETC_COMPRESSED_TEXTURE_FORMATS:
- valid_list.append(es3_enum)
assert len(valid_list) == len(set(valid_list))
if len(valid_list) > 0:
f.write(" static const EnumToString string_table[] = {\n")

Powered by Google App Engine
This is Rietveld 408576698