Home
last modified time | relevance | path

Searched refs:approx_acos (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/src/gpu/tessellate/
H A DStrokeTessellator.h78 return .5f / (skvx::approx_acos(cosTheta) - SKVX_APPROX_ACOS_MAX_ERROR); in ApproxNumRadialSegmentsPerRadian()
/third_party/skia/tests/
H A DSkVxTest.cpp264 ERRORF(r, "Larger-than-expected error from skvx::approx_acos\n"
279 float4 boundaries = skvx::approx_acos(float4{-1, 0, 1, 0});
284 // Select a distribution of starting points around which to begin testing approx_acos. These
290 // Converge at the various local minima and maxima of "approx_acos(x) - cosf(x)" and verify that
291 // approx_acos is always within "kTolerance" degrees of the expected answer.
295 auto approx_acos_x = skvx::approx_acos(x);
298 // = d/dx(approx_acos(x) - acos(x))
H A DSkVMTest.cpp2119 return approx_acos(x);
/third_party/skia/src/core/
H A DSkVM.h772 F32 approx_acos(F32 x) { return sub(SK_ScalarPI/2, approx_asin(x)); } in approx_acos() function in skvm::Builder
1224 SI F32 approx_acos(F32 x) { return x->approx_acos(x); } in approx_acos() function
/third_party/skia/include/private/
H A DSkVx.h796 SIN Vec<N,float> approx_acos(Vec<N,float> x) { in approx_acos() function
/third_party/skia/src/sksl/codegen/
H A DSkSLVMCodeGenerator.cpp1159 case k_acos_IntrinsicKind: return unary(args[0], skvm::approx_acos);

Completed in 15 milliseconds