From 2d53d984251a753b9d0fb3adad3be09243cf5c14 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Fri, 15 Dec 2017 13:11:41 -0500 Subject: move homogenous with stride to matrixpriv this appears to be needed only by Skia internally, so move it out of the public includes. R=bsalomon@google.com Bug: skia:6898 Change-Id: Iebdda8f2c9a8fd953dd44bac9b74158d7491c21a Reviewed-on: https://skia-review.googlesource.com/85961 Commit-Queue: Cary Clark Commit-Queue: Cary Clark Reviewed-by: Brian Salomon --- src/gpu/ops/GrAtlasTextOp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpu') diff --git a/src/gpu/ops/GrAtlasTextOp.cpp b/src/gpu/ops/GrAtlasTextOp.cpp index d71cd92fde..c3698b992f 100644 --- a/src/gpu/ops/GrAtlasTextOp.cpp +++ b/src/gpu/ops/GrAtlasTextOp.cpp @@ -11,6 +11,7 @@ #include "GrResourceProvider.h" #include "SkGlyphCache.h" #include "SkMathPriv.h" +#include "SkMatrixPriv.h" #include "SkPoint3.h" #include "effects/GrBitmapTextGeoProc.h" #include "effects/GrDistanceFieldGeoProc.h" @@ -281,7 +282,7 @@ void GrAtlasTextOp::onPrepareDraws(Target* target) { // arbitrary transformations would be complicated and accumulate error. if (args.fViewMatrix.hasPerspective()) { auto* pos = reinterpret_cast(currVertex); - args.fViewMatrix.mapHomogeneousPointsWithStride( + SkMatrixPriv::MapHomogeneousPointsWithStride(args.fViewMatrix, pos, pos, vertexStride, result.fGlyphsRegenerated * kVerticesPerGlyph); } else { auto* pos = reinterpret_cast(currVertex); -- cgit v1.2.3