commit | bbf85f951ce1b5a90d46a0cfd92b79fa721ef698 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Thu Jun 20 12:38:38 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jun 20 17:09:44 2019 +0000 |
tree | 42896dd65843d5e238360f681e5294e906cd70ec | |
parent | f30b1c1bd54da767902182c7774f5fd51a29d455 [diff] |
Switch Metal dynamic buffer allocations to use a ring buffer. Buffer creation is a big hit on Metal. This allows us to recycle more of the buffer. Bug: skia:8243 Change-Id: If2e3b13d8175dfe370bd61771af0a59cce277340 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221120 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Osman <brianosman@google.com>