commit | a7d9f30f4a620614949745270fc3e3dcdd421e80 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Wed Jul 15 13:25:30 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jul 16 18:59:04 2020 +0000 |
tree | f17878f4544df981e83bf41d3bc34e5215cd1733 | |
parent | 268e48b938705e2fb808c4f3d89bd5c6176d6b3e [diff] |
Consolidate sampler->index/key conversion Share code between GL and other backends. Prepare for separate GrSamplerState field to control mip mapping. Bug: skia:10344 Change-Id: I16adae3512e11971f98c63ae08fb8cde31332520 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302910 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>