Home
last modified time | relevance | path

Searched refs:rotation2 (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DMatrixTest.cpp473 const SkPoint& rotation2) { in check_matrix_recomposition() argument
478 SkScalar c2 = rotation2.fX; in check_matrix_recomposition()
479 SkScalar s2 = rotation2.fY; in check_matrix_recomposition()
495 SkPoint rotation1, scale, rotation2; in test_matrix_decomposition() local
504 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
505 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
511 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
512 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
516 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
517 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
[all …]
/external/skia/src/core/
DSkMatrixUtils.h35 SkPoint* rotation2);
DSkMatrix.cpp1675 SkPoint* rotation2) { in SkDecomposeUpper2x2() argument
1759 if (rotation2) { in SkDecomposeUpper2x2()
1760 rotation2->fX = cos2; in SkDecomposeUpper2x2()
1761 rotation2->fY = sin2; in SkDecomposeUpper2x2()
/external/skia/bench/
DMatrixBench.cpp161 SkPoint rotation1, scale, rotation2; in performTest() local
163 (void) SkDecomposeUpper2x2(fMatrix[i], &rotation1, &scale, &rotation2); in performTest()