[Graphite] Create Texture and Sampler arrays once in DrawPass command creation.
Instead of allocating new texture and sampler arrays for each draw we can reuse
the memory by just creating them for the max size for any draws at the start.
Bug: skia:13357
Change-Id: Ibf0fc20cbbd3e03501f8e202cba5986e5e345cbe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558722
Auto-Submit: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
1 file changed