Searched refs:sk_bit_cast (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/sksl/dslfp/ |
D | GrDSLFPTest_IfStatement.dsl.cpp | 56 b->add32(sk_bit_cast<uint32_t>(one), "one"); in onGetGLSLProcessorKey() 58 b->add32(sk_bit_cast<uint32_t>(unused), "unused"); in onGetGLSLProcessorKey() 61 b->add32(sk_bit_cast<uint32_t>(alsoUnused), "alsoUnused"); in onGetGLSLProcessorKey()
|
D | GrDSLFPTest_Builtins.dsl.cpp | 96 b->add32(sk_bit_cast<uint32_t>(zero), "zero"); in onGetGLSLProcessorKey() 98 b->add32(sk_bit_cast<uint32_t>(one), "one"); in onGetGLSLProcessorKey()
|
/external/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 386 return sk_bit_cast<U64>(parts); 925 return sk_bit_cast<V>(if_then_else(c, sk_bit_cast<F>(t), sk_bit_cast<F>(e))); in if_then_else() 945 F e = cast(sk_bit_cast<U32>(x)) * (1.0f / (1<<23)); in approx_log2() 948 F m = sk_bit_cast<F>((sk_bit_cast<U32>(x) & 0x007fffff) | 0x3f000000); in approx_log2() 962 return sk_bit_cast<F>(round(1.0f * (1<<23), in approx_pow2() 995 , sk_bit_cast<F>( (s<<16) + (em<<13) + ((127-15)<<23) )); in from_half() 1009 U32 sem = sk_bit_cast<U32>(f), in to_half() 1228 F inclusive = sk_bit_cast<F>( sk_bit_cast<U32>(limit) - 1 ); // Exclusive -> inclusive. in clamp() 1659 float inf = sk_bit_cast<float>(0x7f800000); in STAGE() 1820 U32 bits = sk_bit_cast<U32>(x); in strip_sign() [all …]
|
/external/skia/tests/sksl/fp/ |
D | GrSectionSetData.cpp | 44 b->add32(sk_bit_cast<uint32_t>(provided), "provided"); in onGetGLSLProcessorKey()
|
/external/skia/src/core/ |
D | SkUtils.h | 101 static SK_ALWAYS_INLINE Dst sk_bit_cast(const Src& src) { in sk_bit_cast() function
|
/external/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 569 SkASSERT(sk_bit_cast<float>(kIEEE_one_minus_2_epsilon) == 1 - 2*kEpsilon); in findCubicConvex180Chops() 626 if (sk_bit_cast<uint32_t>(root - kEpsilon) < kIEEE_one_minus_2_epsilon) { in findCubicConvex180Chops() 640 if (sk_bit_cast<uint32_t>(root - kEpsilon) < kIEEE_one_minus_2_epsilon) { in findCubicConvex180Chops()
|