Home
last modified time | relevance | path

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

/external/skia/tests/
DMatrixTest.cpp299 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
305 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
311 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
317 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
323 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
330 REPORTER_ASSERT(reporter, mat.isSimilarity()); in test_matrix_preserve_shape()
337 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
343 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
349 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
356 REPORTER_ASSERT(reporter, !mat.isSimilarity()); in test_matrix_preserve_shape()
[all …]
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp82 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode() local
115 if (isSimilarity) { in onEmitCode()
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp263 uint32_t flags = viewMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in setupDfProcessor()
DGrAALinearizingConvexPathRenderer.cpp51 if (!args.fViewMatrix->isSimilarity()) { in onCanDrawPath()
DGrAADistanceFieldPathRenderer.cpp196 flags |= this->viewMatrix().isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws()
DGrAAConvexTessellator.cpp206 SkASSERT(m.isSimilarity()); in tessellate()
/external/skia/include/core/
DSkMatrix.h105 bool isSimilarity(SkScalar tol = SK_ScalarNearlyZero) const;
/external/skia/src/gpu/
DGrOvalRenderer.cpp55 return m.isSimilarity(); in circle_stays_circle()
/external/skia/src/core/
DSkMatrix.cpp200 bool SkMatrix::isSimilarity(SkScalar tol) const { in isSimilarity() function in SkMatrix