/third_party/skia/docs/examples/ |
D | Matrix_isSimilarity.cpp | 15 bool isSimilarity = m.isSimilarity(); 17 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false"); 23 if (!isSimilarity) {
|
D | Matrix_preservesRightAngles.cpp | 15 bool isSimilarity = m.isSimilarity(); 18 str.printf("sx: %g kx: %g %s %s", sx, kx, isSimilarity ? "sim" : "",
|
/third_party/flutter/skia/docs/examples/ |
D | Matrix_isSimilarity.cpp | 15 bool isSimilarity = m.isSimilarity(); 17 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false"); 23 if (!isSimilarity) {
|
D | Matrix_preservesRightAngles.cpp | 15 bool isSimilarity = m.isSimilarity(); 18 str.printf("sx: %g kx: %g %s %s", sx, kx, isSimilarity ? "sim" : "",
|
/third_party/flutter/skia/tests/ |
D | MatrixTest.cpp | 309 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 314 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 319 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 324 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 329 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 334 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 339 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 344 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 349 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 354 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() [all …]
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 318 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 323 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 328 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 333 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 338 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 343 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 348 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 353 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 358 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 363 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() [all …]
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 78 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 112 } else if (isSimilarity) { in onEmitCode() 397 bool isSimilarity = SkToBool(dfPathEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 414 } else if (isSimilarity) { in onEmitCode() 671 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 688 } else if (isSimilarity) { in onEmitCode() 743 if (isSimilarity) { in onEmitCode()
|
/third_party/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 105 bool isSimilarity = SkToBool(dfTexEffect.fFlags & kSimilarity_DistanceFieldEffectFlag ); in onEmitCode() local 136 } else if (isSimilarity) { in onEmitCode() 406 bool isSimilarity = SkToBool(dfPathEffect.fFlags & kSimilarity_DistanceFieldEffectFlag ); in onEmitCode() local 421 } else if (isSimilarity) { in onEmitCode() 662 bool isSimilarity = SkToBool(dfTexEffect.fFlags & kSimilarity_DistanceFieldEffectFlag ); in onEmitCode() local 677 } else if (isSimilarity) { in onEmitCode() 733 if (isSimilarity) { in onEmitCode()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 135 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath() 363 SkASSERT(m.isSimilarity()); // Otherwise matrixScaleFactor = m.getMaxScale(). in GetStrokeDevWidth()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathRenderer.cpp | 173 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws() 621 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
|
D | AALinearizingConvexPathRenderer.cpp | 366 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
|
D | ShadowRRectOp.cpp | 713 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make()
|
D | GrOvalOpFactory.cpp | 37 static inline bool circle_stays_circle(const SkMatrix& m) { return m.isSimilarity(); } in circle_stays_circle() 1100 SkASSERT(viewMatrix.isSimilarity()); in CircleOp() 3170 SkASSERT(viewMatrix.isSimilarity()); in MakeCircularRRectOp()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 340 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws() 842 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
|
D | GrAALinearizingConvexPathRenderer.cpp | 63 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
|
D | GrAAConvexTessellator.cpp | 255 SkASSERT(m.isSimilarity()); in tessellate() 292 SkASSERT(m.isSimilarity()); in tessellate()
|
D | GrAtlasTextOp.cpp | 91 fDFGPFlags = viewMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in init()
|
D | GrShadowRRectOp.cpp | 629 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make()
|
D | GrOvalOpFactory.cpp | 34 static inline bool circle_stays_circle(const SkMatrix& m) { return m.isSimilarity(); } in circle_stays_circle() 2914 SkASSERT(viewMatrix.isSimilarity()); in MakeCircularRRectOp()
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 265 SkASSERT(m.isSimilarity()); in tessellate() 302 SkASSERT(m.isSimilarity()); in tessellate()
|
/third_party/flutter/skia/include/core/ |
D | SkMatrix.h | 260 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext.cpp | 1092 viewMatrix.rectStaysRect() && viewMatrix.isSimilarity()) { in drawRRect() 1135 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow() 1393 viewMatrix.isSimilarity()) { in drawOval()
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 325 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
|
/third_party/flutter/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 1053 viewMatrix.rectStaysRect() && viewMatrix.isSimilarity()) { in drawRRect() 1104 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow() 1468 oval.width() == oval.height() && viewMatrix.isSimilarity()) { in drawOval()
|
/third_party/skia/src/core/ |
D | SkBlurMF.cpp | 1484 bool canBeCircle = (SkRRectPriv::IsCircle(srcRRect) && viewMatrix.isSimilarity()) || in directFilterMaskGPU()
|