commit | 6986c6539e8814fdc56e42a604fe8740238a0ee1 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Thu Dec 12 10:58:47 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Dec 12 20:33:40 2019 +0000 |
tree | c335ff0f8448b51e5de0bd56eb8f8959ebb4cb31 | |
parent | bb59dfa9e3b17ad3f97d3007a6a6452a39e41a80 [diff] |
Make Gr[Op]MemoryPool allocate itself into its initial block. Saves one heap allocation per DDL recorded. Change-Id: I9393aedc3b48031cd2ea5f0160b107915077099a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259419 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com>