Home
last modified time | relevance | path

Searched refs:isSimilarity (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/tests/
DMatrixTest.cpp312 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/
DMatrixTest.cpp312 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/
DGrDistanceFieldGeoProc.cpp78 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/
DGrDistanceFieldGeoProc.cpp79 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/
DGrCoverageCountingPathRenderer.cpp105 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
324 SkASSERT(m.isSimilarity()); // Otherwise matrixScaleFactor = m.getMaxScale(). in GetStrokeDevWidth()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp105 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
324 SkASSERT(m.isSimilarity()); // Otherwise matrixScaleFactor = m.getMaxScale(). in GetStrokeDevWidth()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp338 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws()
840 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
DGrAALinearizingConvexPathRenderer.cpp62 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
DGrAAConvexTessellator.cpp255 SkASSERT(m.isSimilarity()); in tessellate()
292 SkASSERT(m.isSimilarity()); in tessellate()
DGrAtlasTextOp.cpp91 fDFGPFlags = viewMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in init()
DGrShadowRRectOp.cpp632 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make()
DGrOvalOpFactory.cpp34 static inline bool circle_stays_circle(const SkMatrix& m) { return m.isSimilarity(); } in circle_stays_circle()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp339 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws()
838 thisCtm.isSimilarity() != thatCtm.isSimilarity()) { in onCombineIfPossible()
DGrAALinearizingConvexPathRenderer.cpp62 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
DGrAAConvexTessellator.cpp255 SkASSERT(m.isSimilarity()); in tessellate()
292 SkASSERT(m.isSimilarity()); in tessellate()
DGrAtlasTextOp.cpp91 fDFGPFlags = viewMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in init()
DGrShadowRRectOp.cpp630 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make()
/external/skqp/docs/
DSkMatrix_Reference.bmh352 #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/
DSkMatrix_Reference.bmh350 #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/
DSkMatrix.h262 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
/external/skia/include/core/
DSkMatrix.h262 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
/external/skia/src/core/
DSkMatrix.cpp202 bool SkMatrix::isSimilarity(SkScalar tol) const { in isSimilarity() function in SkMatrix
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1166 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow()
/external/skqp/src/core/
DSkMatrix.cpp202 bool SkMatrix::isSimilarity(SkScalar tol) const { in isSimilarity() function in SkMatrix
/external/skia/src/gpu/
DGrRenderTargetContext.cpp1259 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow()

12