The GLenum was already mostly packed. There were just a few missing values because of the exclusion of things like GL_QUADS and GL_POLYGON from GLES. Also update the PackedEnumMap initialization to take an intializer. The initializer is a list of key/values which is much more robust to changes in the packed map. Improves draw call speed slightly as there is no conversion needed any more for the mode enum. Bug: angleproject:2966 Change-Id: Icae658272c6234f29335f6a57a63cf341cf5b2a0 Reviewed-on: https://chromium-review.googlesource.com/c/1346529 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by:Shahbaz Youssefi <syoussefi@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bmp_to_nv12.py | Loading commit data... | |
| bootstrap.py | Loading commit data... | |
| entry_point_packed_gl_enums.json | Loading commit data... | |
| gen_angle_gn_info_json.py | Loading commit data... | |
| generate_entry_points.py | Loading commit data... | |
| generate_new_renderer.py | Loading commit data... | |
| generate_vulkan_layers_json.py | Loading commit data... | |
| gl.xml | Loading commit data... | |
| gl_angle_ext.xml | Loading commit data... | |
| msvs_projects.py | Loading commit data... | |
| perf_test_runner.py | Loading commit data... | |
| remove_file_if_exists.py | Loading commit data... | |
| run_code_generation.py | Loading commit data... | |
| run_code_generation_hashes.json | Loading commit data... | |
| update_canary_angle.py | Loading commit data... | |
| vk_mandatory_format_support_capture_to_json.js | Loading commit data... |