/external/skia/tests/ |
D | MatrixTest.cpp | 312 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 318 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 324 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 330 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 336 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 343 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 350 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 356 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 362 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 369 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() [all …]
|
/external/skqp/tests/ |
D | MatrixTest.cpp | 312 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 318 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 324 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 330 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 336 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 343 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape() 350 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 356 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 362 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() 369 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape() [all …]
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 78 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 112 } else if (isSimilarity) { in onEmitCode() 396 bool isSimilarity = SkToBool(dfPathEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 413 } else if (isSimilarity) { in onEmitCode() 669 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 686 } else if (isSimilarity) { in onEmitCode() 741 if (isSimilarity) { in onEmitCode()
|
/external/skqp/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 79 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 113 } else if (isSimilarity) { in onEmitCode() 397 bool isSimilarity = SkToBool(dfPathEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 414 } else if (isSimilarity) { in onEmitCode() 670 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local 686 } else if (isSimilarity) { in onEmitCode() 741 if (isSimilarity) { in onEmitCode()
|
/external/skia/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 105 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath() 324 SkASSERT(m.isSimilarity()); // Otherwise matrixScaleFactor = m.getMaxScale(). in GetStrokeDevWidth()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.cpp | 105 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath() 324 SkASSERT(m.isSimilarity()); // Otherwise matrixScaleFactor = m.getMaxScale(). in GetStrokeDevWidth()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 338 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws() 840 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
|
D | GrAALinearizingConvexPathRenderer.cpp | 62 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 | 632 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()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 339 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws() 838 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
|
D | GrAALinearizingConvexPathRenderer.cpp | 62 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 | 630 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make()
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 352 #Method bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const 360 with isSimilarity false reveals the pair not visible through the matrix. 369 bool isSimilarity = m.isSimilarity(); 371 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false"); 377 if (!isSimilarity) { 410 bool isSimilarity = m.isSimilarity(); 413 str.printf("sx: %g kx: %g %s %s", sx, kx, isSimilarity ? "sim" : "", 423 #SeeAlso isScaleTranslate isSimilarity rectStaysRect isFixedStepInX
|
/external/skia/docs/ |
D | SkMatrix_Reference.bmh | 350 #Method bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const 358 with isSimilarity false reveals the pair not visible through the matrix. 367 bool isSimilarity = m.isSimilarity(); 369 str.printf("sx: %g sy: %g sim: %s", sx, sy, isSimilarity ? "true" : "false"); 375 if (!isSimilarity) { 408 bool isSimilarity = m.isSimilarity(); 411 str.printf("sx: %g kx: %g %s %s", sx, kx, isSimilarity ? "sim" : "", 421 #SeeAlso isScaleTranslate isSimilarity rectStaysRect isFixedStepInX
|
/external/skqp/include/core/ |
D | SkMatrix.h | 262 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
|
/external/skia/include/core/ |
D | SkMatrix.h | 262 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 202 bool SkMatrix::isSimilarity(SkScalar tol) const { in isSimilarity() function in SkMatrix
|
/external/skqp/src/gpu/ |
D | GrRenderTargetContext.cpp | 1166 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow()
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 202 bool SkMatrix::isSimilarity(SkScalar tol) const { in isSimilarity() function in SkMatrix
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 1259 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow()
|