Searched refs:approx_angle_between_vectors (Results 1 – 3 of 3) sorted by relevance
/external/skia/tests/ |
D | GrVxTest.cpp | 173 float approxTheta = grvx::approx_angle_between_vectors(bit_pun<float2>(a), in check_approx_angle_between_vectors() 180 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>({0,0}, {0,0}).val)); in DEF_TEST() 181 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>({1,1}, {0,0}).val)); in DEF_TEST() 182 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>({0,0}, {1,1}).val)); in DEF_TEST() 188 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>( in DEF_TEST() 192 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>( in DEF_TEST() 197 REPORTER_ASSERT(r, SkScalarNearlyZero(grvx::approx_angle_between_vectors<2>( in DEF_TEST() 223 float4 rads = approx_angle_between_vectors(skvx::join(x0, y0), skvx::join(x1, y1)); in DEF_TEST()
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeIndirectTessellator.cpp | 300 auto rotation = grvx::approx_angle_between_vectors(b - a, c - b); in flushLines() 322 auto rotation = grvx::approx_angle_between_vectors(tan0, tan1); in flushQuads() 327 rotation += grvx::approx_angle_between_vectors(p0 - lastControlPoint, nextTan); in flushQuads() 385 auto rotation = grvx::approx_angle_between_vectors(tan0, tan1); in flushCubics() 390 rotation += grvx::approx_angle_between_vectors(p0 - lastControlPoint, nextTan); in flushCubics()
|
/external/skia/src/gpu/ |
D | GrVx.h | 92 SK_ALWAYS_INLINE vec<Nx2/2> approx_angle_between_vectors(vec<Nx2> a, vec<Nx2> b) { in approx_angle_between_vectors() function
|