Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp42 fKey[0] = SkFloat2Bits(sx); in GrSmallPathShapeDataKey()
43 fKey[1] = SkFloat2Bits(sy); in GrSmallPathShapeDataKey()
44 fKey[2] = SkFloat2Bits(kx); in GrSmallPathShapeDataKey()
45 fKey[3] = SkFloat2Bits(ky); in GrSmallPathShapeDataKey()
/external/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()
104 return SkFloatBits_IsInf(SkFloat2Bits(x)); in sk_float_isinf()
236 uint32_t bits = (uint32_t)SkFloat2Bits(x); in sk_float_nextlog2()
/external/skqp/include/private/
DSkFloatBits.h46 static inline int32_t SkFloat2Bits(float x) { in SkFloat2Bits() function
77 return SkSignBitTo2sCompliment(SkFloat2Bits(x)); in SkFloatAs2sCompliment()
DSkFloatingPoint.h72 return SkFloatBits_IsFinite(SkFloat2Bits(x)); in sk_float_isfinite()
76 return SkFloatBits_IsInf(SkFloat2Bits(x)); in sk_float_isinf()
/external/skqp/src/gpu/
DGrBlurUtils.cpp357 builder[0] = SkFloat2Bits(sx); in draw_shape_with_mask_filter()
358 builder[1] = SkFloat2Bits(sy); in draw_shape_with_mask_filter()
359 builder[2] = SkFloat2Bits(kx); in draw_shape_with_mask_filter()
360 builder[3] = SkFloat2Bits(ky); in draw_shape_with_mask_filter()
374 builder[6] = SkFloat2Bits(rec.fSigma); in draw_shape_with_mask_filter()
DGrSoftwarePathRenderer.cpp312 builder[0] = SkFloat2Bits(sx); in onDrawPath()
313 builder[1] = SkFloat2Bits(sy); in onDrawPath()
314 builder[2] = SkFloat2Bits(kx); in onDrawPath()
315 builder[3] = SkFloat2Bits(ky); in onDrawPath()
/external/skia/tests/
DGrVxTest.cpp150 int expAx = SkFloat2Bits(a.fX) >> 23 & 0xff; in check_approx_angle_between_vectors()
151 int expAy = SkFloat2Bits(a.fY) >> 23 & 0xff; in check_approx_angle_between_vectors()
152 int expBx = SkFloat2Bits(b.fX) >> 23 & 0xff; in check_approx_angle_between_vectors()
153 int expBy = SkFloat2Bits(b.fY) >> 23 & 0xff; in check_approx_angle_between_vectors()
DScalarTest.cpp78 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()
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()
DRRectInPathTest.cpp488 SkDebugf("%g 0x%08X\n", rect.fLeft, SkFloat2Bits(rect.fLeft)); in DEF_TEST()
/external/skia/src/gpu/
DGrBlurUtils.cpp337 builder[0] = SkFloat2Bits(sx); in compute_key_and_clip_bounds()
338 builder[1] = SkFloat2Bits(sy); in compute_key_and_clip_bounds()
339 builder[2] = SkFloat2Bits(kx); in compute_key_and_clip_bounds()
340 builder[3] = SkFloat2Bits(ky); in compute_key_and_clip_bounds()
354 builder[6] = SkFloat2Bits(rec.fSigma); in compute_key_and_clip_bounds()
DGrSoftwarePathRenderer.cpp301 builder[2] = SkFloat2Bits(sx); in onDrawPath()
302 builder[3] = SkFloat2Bits(sy); in onDrawPath()
303 builder[4] = SkFloat2Bits(kx); in onDrawPath()
304 builder[5] = SkFloat2Bits(ky); in onDrawPath()
/external/skia/samplecode/
DSampleCusp.cpp150 SkDebugf("{0x%08x,0x%08x},", SkFloat2Bits(pts[i].fX), SkFloat2Bits(pts[i].fY)); in onDrawContent()
/external/skqp/samplecode/
DSampleCusp.cpp156 SkDebugf("{0x%08x,0x%08x},", SkFloat2Bits(pts[i].fX), SkFloat2Bits(pts[i].fY)); in onDrawContent()
/external/skia/src/core/
DSkStringUtils.cpp15 str->appendf("SkBits2Float(0x%08x)", SkFloat2Bits(value)); in SkAppendScalar()
/external/skqp/src/core/
DSkStringUtils.cpp15 str->appendf("SkBits2Float(0x%08x)", SkFloat2Bits(value)); in SkAppendScalar()
/external/skqp/tests/
DScalarTest.cpp78 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()
DPathOpsExtendedTest.cpp537 SkFloat2Bits(points[i].fX), SkFloat2Bits(points[i].fY)); in json_path_out()
540 fprintf(PathOpsDebug::gOut, ", \"0x%08x\"", SkFloat2Bits(iter.conicWeight())); in json_path_out()
DRRectInPathTest.cpp492 SkDebugf("%g 0x%08X\n", rect.fLeft, SkFloat2Bits(rect.fLeft)); in DEF_TEST()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp96 fKey[0] = SkFloat2Bits(sx); in set()
97 fKey[1] = SkFloat2Bits(sy); in set()
98 fKey[2] = SkFloat2Bits(kx); in set()
99 fKey[3] = SkFloat2Bits(ky); in set()
/external/skqp/src/gpu/gradients/
DGrGradientBitmapCache.cpp191 *buffer++ = SkFloat2Bits(positions[i]); in getGradient()
/external/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp191 *buffer++ = SkFloat2Bits(positions[i]); in getGradient()
/external/skqp/bench/
DMathBench.cpp185 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()
/external/skia/bench/
DMathBench.cpp185 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts in isFinite_int()

12