aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-02-02 21:05:19 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-03 02:34:37 +0000
commit3f36369a94d2c49c91bcd0249bf351da36a6d40d (patch)
tree3e97eaefd6056a22c05b6639a0c8fbf3b2003838 /include/core/SkMatrix.h
parent8c88a371b47dd650a9052ffaf421c5cf897edd26 (diff)
Batch across matrix changes in drawVertices and add GM to test.
Change-Id: I6b08d37781e3c715a1d9d8c9729667ec78625836 Reviewed-on: https://skia-review.googlesource.com/7949 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r--include/core/SkMatrix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index f565a537ba..5f665ea462 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -461,8 +461,7 @@ public:
/** Like mapPoints but with custom byte stride between the points.
*/
- void mapPointsWithStride(SkPoint dst[], SkPoint src[],
- size_t stride, int count) const {
+ void mapPointsWithStride(SkPoint dst[], const SkPoint src[], size_t stride, int count) const {
SkASSERT(stride >= sizeof(SkPoint));
SkASSERT(0 == stride % sizeof(SkScalar));
for (int i = 0; i < count; ++i) {