Home
last modified time | relevance | path

Searched refs:SkFloat2Bits (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/gpu/ops/
DSmallPathShapeData.cpp44 fKey[0] = SkFloat2Bits(sx); in SmallPathShapeDataKey()
45 fKey[1] = SkFloat2Bits(sy); in SmallPathShapeDataKey()
46 fKey[2] = SkFloat2Bits(kx); in SmallPathShapeDataKey()
47 fKey[3] = SkFloat2Bits(ky); in SmallPathShapeDataKey()
DSoftwarePathRenderer.cpp307 builder[2] = SkFloat2Bits(sx); in onDrawPath()
308 builder[3] = SkFloat2Bits(sy); in onDrawPath()
309 builder[4] = SkFloat2Bits(kx); in onDrawPath()
310 builder[5] = SkFloat2Bits(ky); in onDrawPath()
/third_party/skia/include/private/
DSkFloatBits.h46 static inline int32_t SkFloat2Bits(float x) { in SkFloat2Bits() function
77 return SkSignBitTo2sCompliment(SkFloat2Bits(x)); in SkFloatAs2sCompliment()
DSkFloatingPoint.h87 return SkFloatBits_IsFinite(SkFloat2Bits(x)); in sk_float_isfinite()
111 return SkFloatBits_IsInf(SkFloat2Bits(x)); in sk_float_isinf()
243 uint32_t bits = (uint32_t)SkFloat2Bits(x); in sk_float_nextlog2()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp345 builder[0] = SkFloat2Bits(roundf(sx * 100) / 100.f); in compute_key_and_clip_bounds()
346 builder[1] = SkFloat2Bits(roundf(sy * 100) / 100.f); in compute_key_and_clip_bounds()
347 builder[2] = SkFloat2Bits(roundf(kx * 100) / 100.f); in compute_key_and_clip_bounds()
348 builder[3] = SkFloat2Bits(roundf(ky * 100) / 100.f); in compute_key_and_clip_bounds()
362 builder[6] = SkFloat2Bits(roundf(rec.fSigma * 100) / 100.f); in compute_key_and_clip_bounds()
/third_party/skia/samplecode/
DSampleCusp.cpp150 SkDebugf("{0x%08x,0x%08x},", SkFloat2Bits(pts[i].fX), SkFloat2Bits(pts[i].fY)); in onDrawContent()
/third_party/skia/src/core/
DSkStringUtils.cpp15 str->appendf("SkBits2Float(0x%08x)", SkFloat2Bits(value)); in SkAppendScalar()
DSkPath.cpp2009 builder.appendf("SkBits2Float(0x%08X) /* %g */", SkFloat2Bits(v), v); in dumpArrays()
/third_party/skia/modules/skparagraph/src/
DParagraphCache.cpp17 return SkFloat2Bits(SkScalarRoundToScalar(a * threshold)/threshold); in relax()
19 return SkFloat2Bits(a); in relax()
/third_party/skia/tests/
DPathOpsExtendedTest.cpp436 SkFloat2Bits(points[i].fX), SkFloat2Bits(points[i].fY)); in json_path_out()
439 fprintf(PathOpsDebug::gOut, ", \"0x%08x\"", SkFloat2Bits(*w)); in json_path_out()
DScalarTest.cpp78 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()
DRRectInPathTest.cpp488 SkDebugf("%g 0x%08X\n", rect.fLeft, SkFloat2Bits(rect.fLeft)); in DEF_TEST()
DPathOpsDebug.cpp41 SkDebugf("SkBits2Float(0x%08x)", SkFloat2Bits(x)); in DebugDumpHexFloat()
/third_party/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp191 *buffer++ = SkFloat2Bits(positions[i]); in getGradient()
/third_party/skia/bench/
DMathBench.cpp185 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()
/third_party/skia/src/shaders/gradients/
DSkGradientShader.cpp300 decal_ctx->limit_x = SkBits2Float(SkFloat2Bits(1.0f) + 1); in onAppendStages()