angle/scripts
Jamie Madill 2e9706d80d Vulkan: Use angle::FormatID instead of VkFormat.
This change switches the internal enums we pass around from VkFormat
to FormatID. The end goal of the refactor is to allow the Vulkan
back-end to store packed tables indexed by FormatID. Because VkFormat
has large gaps in its enum space we'd otherwise need to use unordered
data structures like unordered_map.

The change removes the redundant VkFormat storage from vk::Format and
uses a new table query to return the VkFormat that 1:1 matches an
angle::FormatID. We also include a reverse mapping for use with native
Vulkan get functions for Android.

Also moves sRGB conversion functions into renderer_utils. A couple
sRGB formats that don't exist in GL are no longer handled by the sRGB
conversion functions. These formats should be extremely rare.

Bug: angleproject:5438
Change-Id: Id8b49773ca0c556f9f5a6a10fcf0d9762b93bbea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618204
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
2021-01-12 00:18:01 +00:00
..
code_generation_hashes Vulkan: Use angle::FormatID instead of VkFormat. 2021-01-12 00:18:01 +00:00
angle_presubmit_utils.py Add unittests of ANGLE commit message format check 2020-08-14 17:24:18 +00:00
angle_presubmit_utils_unittest.py First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00
apply_clang_format_on_all_sources.py Add script to apply clang-format on all sources 2019-07-19 20:10:28 +00:00
bmp_to_nv12.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
bootstrap.py Pull in Android-only dependencies behind a condition 2020-06-02 03:03:27 +00:00
egl.xml EGL: Update EGL headers/xml 2020-12-10 14:46:28 +00:00
egl_angle_ext.xml EGL: Update EGL headers/xml 2020-12-10 14:46:28 +00:00
entry_point_packed_egl_enums.json EGL: Generate entry points. 2020-11-30 21:29:39 +00:00
entry_point_packed_gl_enums.json Vulkan: Add EXT_external_buffer entry points 2020-11-09 16:21:53 +00:00
export_targets.py Roll third_party/vulkan-deps/ b08eace32..cbab63796 (17 commits; 1 trivial rolls) 2021-01-06 18:40:58 +00:00
file_exists.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
gen_angle_gn_info_json.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
gen_gl_enum_utils.py Output unknown enum to aid debugging 2020-10-30 16:36:47 +00:00
gen_proc_table.py Entry Points: Combine desktop GL minor versions. 2020-12-01 16:58:50 +00:00
gen_vk_gl_cts_build.py Vulkan: Update dEQP source for test fixes 2020-01-06 22:52:57 +00:00
generate_android_bp.py Add an option to copy the artifact to vendor partition 2020-12-10 17:57:38 +00:00
generate_entry_points.py Entry Points: Add egl:: namespace to Display. 2020-12-01 20:32:20 +00:00
generate_loader.py Remove duplicate entry of glProgramUniformMatrix4fvEXT in gl.xml 2020-11-17 01:23:07 +00:00
generate_new_renderer.py Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
generate_stats.py Fix issue with missing step info in generate_stats.py 2020-05-04 19:34:01 +00:00
gl.xml Remove duplicate entry of glProgramUniformMatrix4fvEXT in gl.xml 2020-11-17 01:23:07 +00:00
gl_angle_ext.xml Expose glGetTexLevelParameter{if}v before ES 3.1. 2020-10-21 17:23:46 +00:00
msvs_projects.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
perf_test_runner.py Perf Tests: Add --max-steps-performed argument. 2020-11-06 16:32:14 +00:00
registry_xml.py Vulkan: Add GL_EXT_clip_control entry points 2021-01-08 17:55:59 +00:00
remove_files.py First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00
roll_aosp.sh Add an option to copy the artifact to vendor partition 2020-12-10 17:57:38 +00:00
roll_chromium_deps.py Re-land "Link C++ histogram support into angle_perftests." 2020-10-25 16:42:09 +00:00
run_code_generation.py code gen: Be more robust to dirty hashes. 2020-11-30 14:26:25 +00:00
run_gtest_angle_test.py Fix trigger.py using deprecated parameters. 2020-11-06 01:38:43 +00:00
trigger.bat Add a helper script for triggering tests on swarming. 2019-03-18 18:22:57 +00:00
trigger.py Fix trigger.py using deprecated parameters. 2020-11-06 01:38:43 +00:00
update_canary_angle.py Format all of ANGLE's python code. 2019-05-06 18:56:09 +00:00
vk_mandatory_format_support_capture_to_json.js Vulkan: Autogen mandatory texture caps 2018-02-14 20:45:37 +00:00
wgl.xml First pass at increasing inclusivity 2020-10-02 19:49:38 +00:00