commit | d1b8a166db27ffb8e550c4e853afbd67025948bf | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Wed Aug 08 13:22:05 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Aug 08 17:48:53 2018 +0000 |
tree | 8ace4c35f1ff208ab43158f8cba8697d657ab60f | |
parent | c7ef51787549249f12d516185eafe4e09b7284dc [diff] |
Add ability to specify different GP textures for each mesh in a draw. Uses GrPipeline::DynamicStateArrays to allow per-mesh GP textures when drawing an array of GrMeshes. Uses this along with op-chaining to make drawing multiple TextureOps with different textures faster. Change-Id: Iec4da1b72a13d0e0c94c8a8568fe4221c539dfcf Reviewed-on: https://skia-review.googlesource.com/145960 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>