commit | 0927dd65c40fc678d27d241d04cc9d0d3984ef0e | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Mon Jul 20 15:13:29 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jul 20 20:05:43 2020 +0000 |
tree | 7609b4b8c0860e73554bea10c0fcad368135a834 | |
parent | fe7aed63eaa05ee34561b37b5eb7612027a39724 [diff] |
Make sure we free secondary command buffers we don't cache. We weren't leaking previously cause when we free the command pool it frees all the buffers, but this allows us to reclaim the memory earlier. Bug: skia:10438 Change-Id: I1364f3dc123aa89ebb2280f3b9691cffbd67aa78 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304156 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>