Home
last modified time | relevance | path

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

/external/skia/tests/
DMatrixTest.cpp480 const SkPoint& rotation2) { in check_matrix_recomposition() argument
485 SkScalar c2 = rotation2.fX; in check_matrix_recomposition()
486 SkScalar s2 = rotation2.fY; in check_matrix_recomposition()
502 SkPoint rotation1, scale, rotation2; in test_matrix_decomposition() local
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()
518 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
519 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
523 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
524 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
[all …]
/external/skqp/tests/
DMatrixTest.cpp480 const SkPoint& rotation2) { in check_matrix_recomposition() argument
485 SkScalar c2 = rotation2.fX; in check_matrix_recomposition()
486 SkScalar s2 = rotation2.fY; in check_matrix_recomposition()
502 SkPoint rotation1, scale, rotation2; in test_matrix_decomposition() local
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()
518 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
519 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
523 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
524 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
[all …]
/external/skqp/src/core/
DSkMatrixUtils.h36 SkPoint* rotation2);
DSkMatrix.cpp1743 SkPoint* rotation2) { in SkDecomposeUpper2x2() argument
1827 if (rotation2) { in SkDecomposeUpper2x2()
1828 rotation2->fX = cos2; in SkDecomposeUpper2x2()
1829 rotation2->fY = sin2; in SkDecomposeUpper2x2()
/external/skia/src/core/
DSkMatrixUtils.h36 SkPoint* rotation2);
DSkMatrix.cpp1744 SkPoint* rotation2) { in SkDecomposeUpper2x2() argument
1828 if (rotation2) { in SkDecomposeUpper2x2()
1829 rotation2->fX = cos2; in SkDecomposeUpper2x2()
1830 rotation2->fY = sin2; in SkDecomposeUpper2x2()
/external/skia/bench/
DMatrixBench.cpp160 SkPoint rotation1, scale, rotation2; in performTest() local
162 (void) SkDecomposeUpper2x2(fMatrix[i], &rotation1, &scale, &rotation2); in performTest()
/external/skqp/bench/
DMatrixBench.cpp160 SkPoint rotation1, scale, rotation2; in performTest() local
162 (void) SkDecomposeUpper2x2(fMatrix[i], &rotation1, &scale, &rotation2); in performTest()