commit | fc048525c4b49065cde5064c313dc19a7b660a33 | [log] [tgz] |
---|---|---|
author | Saifuddin Hitawala <hitawala@chromium.org> | Wed May 21 19:46:27 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 19:46:27 2025 |
tree | 5a861c8e22d40dd2ccae9360bc11d95183fcb13e | |
parent | 0648e0709d9d952472a11332e3f042b58ab3c02a [diff] |
[gpu] Add dedicated memory bit for Ganesh/Vulkan lazy allocations While investigating high GPU memory usage for Graphite/Dawn/Vulkan we found that transient lazy memory allocations in both Ganesh/Vulkan and Graphite/Danw/Vulkan are being tracked as part of total and used vulkan memory allocations. Since presumable Graphite allocates more transient memory and this memory is lazily allocated it is better to track this separately. This change adds a dedicated memory bit for lazily allocated memory so that the memory is a dedicated allocation. This will allow us to easily calculate the total real allocated and used memory that is not lazily allocated/sub-allocated from this memory. Follow-up CLs will update this tracking for ganesh and graphite. Bug: 407730048 Change-Id: I3bf2e9694f27d93efdc241f062c10a3e0f07c2b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574477 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Cr-Commit-Position: refs/heads/main@{#1463659}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.