Searched refs:sk_float_nextlog2 (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | MathTest.cpp | 290 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::infinity()) == 0); in test_nextlog2() 291 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::max()) == 0); in test_nextlog2() 292 REPORTER_ASSERT(r, sk_float_nextlog2(-1000.0f) == 0); in test_nextlog2() 293 REPORTER_ASSERT(r, sk_float_nextlog2(-0.1f) == 0); in test_nextlog2() 294 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::min()) == 0); in test_nextlog2() 295 REPORTER_ASSERT(r, sk_float_nextlog2(-std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2() 296 REPORTER_ASSERT(r, sk_float_nextlog2(0.0f) == 0); in test_nextlog2() 297 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::denorm_min()) == 0); in test_nextlog2() 298 REPORTER_ASSERT(r, sk_float_nextlog2(std::numeric_limits<float>::min()) == 0); in test_nextlog2() 299 REPORTER_ASSERT(r, sk_float_nextlog2(0.1f) == 0); in test_nextlog2() [all …]
|
D | StrokeIndirectTest.cpp | 225 int8_t expectedLevel = sk_float_nextlog2(numCombinedSegments); in check_resolve_level() 227 actualLevel > sk_float_nextlog2(numCombinedSegments + tolerance)) || in check_resolve_level() 229 actualLevel < sk_float_nextlog2(numCombinedSegments - tolerance))) { in check_resolve_level() 276 sk_float_nextlog2(tolerances.fNumRadialSegmentsPerRadian * SK_ScalarPI), in verifyResolveLevels() 452 int resolveLevel = sk_float_nextlog2(numSegments); in verifyBuffers()
|
/external/skia/src/gpu/geometry/ |
D | GrWangsFormula.h | 45 return (sk_float_nextlog2(x) + 1) >> 1; in nextlog4() 53 return (sk_float_nextlog2(x) + 3) >> 2; in nextlog16()
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeHardwareTessellator.cpp | 388 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalConicPatchesTo() 389 sk_float_nextlog2(numRadialSegments) + 1; in internalConicPatchesTo() 453 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalCubicConvex180PatchesTo() 454 sk_float_nextlog2(numRadialSegments) + 1; in internalCubicConvex180PatchesTo() 535 maxDepth = sk_float_nextlog2(numRadialSegments / fMaxTessellationSegments); in internalJoinTo()
|
D | GrStrokeIndirectTessellator.cpp | 80 sk_float_nextlog2(fTolerances.fNumRadialSegmentsPerRadian * SK_ScalarPI), in updateTolerances() 151 int8_t resolveLevel = sk_float_nextlog2(numCombinedSegments); in writeResolveLevel()
|
/external/skia/include/private/ |
D | SkFloatingPoint.h | 235 static inline int sk_float_nextlog2(float x) { in sk_float_nextlog2() function
|