commit | cd2f96dd681d2892361395f08146a0e02c4382f6 | [log] [tgz] |
---|---|---|
author | Adlai Holler <adlai@google.com> | Fri Apr 09 17:58:14 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Apr 09 22:52:07 2021 +0000 |
tree | e0d63768cfa07fdde245e9386066979cfa4349a2 | |
parent | ee2837ba09af2462fe47c2df278f5005e8e29345 [diff] |
Add GrResourceAllocator::makeBudgetHeadroom This allows the caller to decide whether a plan is feasible before committing to it. In this CL the drawing manager doesn't actually call it, but we test it. We'll call it in a follow-up CL Bug: skia:10877 Change-Id: Ie3a6c14a0196f595c522a0c961aba7b10c980711 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/394157 Commit-Queue: Adlai Holler <adlai@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>