diff options
author | Brian Salomon <bsalomon@google.com> | 2018-01-05 13:49:07 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-05 19:32:15 +0000 |
commit | fa3783f17dba971e3204ba950965d9c65eb8711d (patch) | |
tree | 321621e6f60ffaee29c08e8146779423596332d4 /src/gpu/ops/GrLatticeOp.cpp | |
parent | cea2271970febf51d088e403f972e6eae7c934da (diff) |
Remove public version of SkMatrix::mapPointsWithStride.
Use private version already in SkMatrixPriv.
Change-Id: I6e9546afdf2b072402f9deecec99a6d236e2c7f4
Reviewed-on: https://skia-review.googlesource.com/91400
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops/GrLatticeOp.cpp')
-rw-r--r-- | src/gpu/ops/GrLatticeOp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/ops/GrLatticeOp.cpp b/src/gpu/ops/GrLatticeOp.cpp index 7438eb2c0a..45081a02fd 100644 --- a/src/gpu/ops/GrLatticeOp.cpp +++ b/src/gpu/ops/GrLatticeOp.cpp @@ -14,6 +14,7 @@ #include "GrSimpleMeshDrawOpHelper.h" #include "SkBitmap.h" #include "SkLatticeIter.h" +#include "SkMatrixPriv.h" #include "SkPointPriv.h" #include "SkRect.h" @@ -152,8 +153,8 @@ private: // If we didn't handle it above, apply the matrix here. if (!isScaleTranslate) { SkPoint* positions = reinterpret_cast<SkPoint*>(patchVerts); - patch.fViewMatrix.mapPointsWithStride( - positions, vertexStride, kVertsPerRect * patch.fIter->numRectsToDraw()); + SkMatrixPriv::MapPointsWithStride(patch.fViewMatrix, positions, vertexStride, + kVertsPerRect * patch.fIter->numRectsToDraw()); } } helper.recordDraw(target, gp.get(), fHelper.makePipeline(target)); |