diff options
author | 2017-12-18 21:13:41 +0000 | |
---|---|---|
committer | 2017-12-18 21:28:52 +0000 | |
commit | de71572f650005e36d4fc2fe95fb5677a25ae4f6 (patch) | |
tree | 32ffbd7c0011caef80327455e18f4f30e9b69c6f /src/gpu/ops | |
parent | 1aa6cdad1036f6c9fee02c4425ccc02e6bb3e46d (diff) |
Revert "move homogenous with stride to matrixpriv"
This reverts commit 2d53d984251a753b9d0fb3adad3be09243cf5c14.
Reason for revert: revert needed to revert previous cl
Original change's description:
> 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 <caryclark@skia.org>
> Commit-Queue: Cary Clark <caryclark@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
TBR=bsalomon@google.com,caryclark@google.com,caryclark@skia.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: skia:6898
Change-Id: Icbd15ee0b524c770a324c490ab0cadf6a045e0d5
Reviewed-on: https://skia-review.googlesource.com/86800
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops')
-rw-r--r-- | src/gpu/ops/GrAtlasTextOp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/ops/GrAtlasTextOp.cpp b/src/gpu/ops/GrAtlasTextOp.cpp index c3698b992f..d71cd92fde 100644 --- a/src/gpu/ops/GrAtlasTextOp.cpp +++ b/src/gpu/ops/GrAtlasTextOp.cpp @@ -11,7 +11,6 @@ #include "GrResourceProvider.h" #include "SkGlyphCache.h" #include "SkMathPriv.h" -#include "SkMatrixPriv.h" #include "SkPoint3.h" #include "effects/GrBitmapTextGeoProc.h" #include "effects/GrDistanceFieldGeoProc.h" @@ -282,7 +281,7 @@ void GrAtlasTextOp::onPrepareDraws(Target* target) { // arbitrary transformations would be complicated and accumulate error. if (args.fViewMatrix.hasPerspective()) { auto* pos = reinterpret_cast<SkPoint3*>(currVertex); - SkMatrixPriv::MapHomogeneousPointsWithStride(args.fViewMatrix, + args.fViewMatrix.mapHomogeneousPointsWithStride( pos, pos, vertexStride, result.fGlyphsRegenerated * kVerticesPerGlyph); } else { auto* pos = reinterpret_cast<SkPoint*>(currVertex); |