зеркало из https://github.com/AvaloniaUI/angle.git
2e9706d80d
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> |
||
---|---|---|
.. | ||
code_generation_hashes | ||
angle_presubmit_utils.py | ||
angle_presubmit_utils_unittest.py | ||
apply_clang_format_on_all_sources.py | ||
bmp_to_nv12.py | ||
bootstrap.py | ||
egl.xml | ||
egl_angle_ext.xml | ||
entry_point_packed_egl_enums.json | ||
entry_point_packed_gl_enums.json | ||
export_targets.py | ||
file_exists.py | ||
gen_angle_gn_info_json.py | ||
gen_gl_enum_utils.py | ||
gen_proc_table.py | ||
gen_vk_gl_cts_build.py | ||
generate_android_bp.py | ||
generate_entry_points.py | ||
generate_loader.py | ||
generate_new_renderer.py | ||
generate_stats.py | ||
gl.xml | ||
gl_angle_ext.xml | ||
msvs_projects.py | ||
perf_test_runner.py | ||
registry_xml.py | ||
remove_files.py | ||
roll_aosp.sh | ||
roll_chromium_deps.py | ||
run_code_generation.py | ||
run_gtest_angle_test.py | ||
trigger.bat | ||
trigger.py | ||
update_canary_angle.py | ||
vk_mandatory_format_support_capture_to_json.js | ||
wgl.xml |