Home
last modified time | relevance | path

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

/external/skia/tests/
DMatrixTest.cpp467 const SkPoint& rotation2) { in check_matrix_recomposition() argument
472 SkScalar c2 = rotation2.fX; in check_matrix_recomposition()
473 SkScalar s2 = rotation2.fY; in check_matrix_recomposition()
489 SkPoint rotation1, scale, rotation2; in test_matrix_decomposition() local
498 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
499 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
505 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
506 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
510 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
511 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
[all …]
/external/skqp/tests/
DMatrixTest.cpp486 const SkPoint& rotation2) { in check_matrix_recomposition() argument
491 SkScalar c2 = rotation2.fX; in check_matrix_recomposition()
492 SkScalar s2 = rotation2.fY; in check_matrix_recomposition()
508 SkPoint rotation1, scale, rotation2; in test_matrix_decomposition() local
517 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
518 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
524 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
525 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
529 REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation1, &scale, &rotation2)); in test_matrix_decomposition()
530 REPORTER_ASSERT(reporter, check_matrix_recomposition(mat, rotation1, scale, rotation2)); in test_matrix_decomposition()
[all …]
/external/skqp/src/core/
DSkMatrixUtils.h36 SkPoint* rotation2);
DSkMatrix.cpp1698 SkPoint* rotation2) { in SkDecomposeUpper2x2() argument
1782 if (rotation2) { in SkDecomposeUpper2x2()
1783 rotation2->fX = cos2; in SkDecomposeUpper2x2()
1784 rotation2->fY = sin2; in SkDecomposeUpper2x2()
/external/skia/src/core/
DSkMatrixUtils.h38 SkPoint* rotation2);
DSkMatrix.cpp1704 SkPoint* rotation2) { in SkDecomposeUpper2x2() argument
1788 if (rotation2) { in SkDecomposeUpper2x2()
1789 rotation2->fX = cos2; in SkDecomposeUpper2x2()
1790 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()