When allocations are made from DynamicBuffer, they suballocate from a possibly larger BufferHelper. In BufferVk, the offset of the suballocation was discarded, which limited the use of DynamicBuffer to a pool of small buffers. This change applies any such offset that may arise from suballocations everywhere, and makes BufferVk use a larger buffer size when the GL_DYNAMIC_* buffer usage hints are provided. Bug: angleproject:5719 Change-Id: I3df3317f7acff1b1b06a5e3e2bb707616a7d0512 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2738650 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:Tim Van Patten <timvp@google.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ANGLE_format.json | Loading commit data... | |
| ANGLE_load_functions_table.json | Loading commit data... | |
| ANGLE_shader_preprocessor.json | Loading commit data... | |
| ANGLE_shader_translator.json | Loading commit data... | |
| D3D11_blit_shader_selection.json | Loading commit data... | |
| D3D11_format.json | Loading commit data... | |
| DXGI_format.json | Loading commit data... | |
| DXGI_format_support.json | Loading commit data... | |
| Emulated_HLSL_functions.json | Loading commit data... | |
| GL_CTS_(dEQP)_build_files.json | Loading commit data... | |
| GL_EGL_WGL_loader.json | Loading commit data... | |
| GL_EGL_entry_points.json | Loading commit data... | |
| GL_copy_conversion_table.json | Loading commit data... | |
| GL_format_map.json | Loading commit data... | |
| GLenum_value_to_string_map.json | Loading commit data... | |
| Metal_default_shaders.json | Loading commit data... | |
| Metal_format_table.json | Loading commit data... | |
| OpenGL_dispatch_table.json | Loading commit data... | |
| SPIR-V_helpers.json | Loading commit data... | |
| Static_builtins.json | Loading commit data... | |
| Test_spec_JSON.json | Loading commit data... | |
| Vulkan_format.json | Loading commit data... | |
| Vulkan_internal_shader_programs.json | Loading commit data... | |
| Vulkan_mandatory_format_support_table.json | Loading commit data... | |
| overlay_fonts.json | Loading commit data... | |
| overlay_widgets.json | Loading commit data... | |
| packed_enum.json | Loading commit data... | |
| proc_table.json | Loading commit data... | |
| restricted_traces.json | Loading commit data... | |
| uniform_type.json | Loading commit data... |