-
Emircan Uysaler authored
This CL sets the soft limit at 0 when we are in CRITICAL memory pressure. This enforces sync and cleanup in every submit call to reduce memory usage spikes. This CL only affects platforms that have soft limit. That happens if --vulkan-sync-cpu-memory-limit-mb flag is set, which is only enabled on fuchsia. Bug: 1166839 Change-Id: I9d38cba2479a8c912d6b1e1624e9f893be8188de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2629573 Commit-Queue: Emircan Uysaler <emircan@chromium.org> Reviewed-by:
kylechar <kylechar@chromium.org> Reviewed-by:
Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#845162}
58b07299