diff options
author | Brian Salomon <bsalomon@google.com> | 2017-02-06 19:06:22 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-07 00:41:33 +0000 |
commit | fab30a30b68e0adea1da3a3fb9448f74ba9c60dd (patch) | |
tree | efa9d0724bbbf37ee2ec4b5c9c221b57803db2c6 /infra | |
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>
Diffstat (limited to 'infra')
0 files changed, 0 insertions, 0 deletions