commit | fab30a30b68e0adea1da3a3fb9448f74ba9c60dd | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Feb 06 19:06:22 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 07 00:41:33 2017 +0000 |
tree | efa9d0724bbbf37ee2ec4b5c9c221b57803db2c6 | |
parent | a950a86d225b7912e9878ecaa47da71acc88a66d [diff] |
Add a fast case for copying vertices in GrDrawVerticesOp. Uses Sk2f to apply a translation-only matrix when the vertex attributes contain only positions and colors. We should look at how to generalize this for other draw vertices cases and other ops. Change-Id: I5eb692982dc216b1c0a71209c969672b0562143c Reviewed-on: https://skia-review.googlesource.com/8103 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>