/external/skia/src/base/ |
D | SkHalf.cpp | 25 float fFloat; member 39 floatUnion.fFloat = f; in SkFloatToHalf() 56 floatUnion.fFloat *= magic.fFloat; in SkFloatToHalf() 80 o.fFloat -= magic.fFloat; in SkHalfToFloat() 96 return o.fFloat; in SkHalfToFloat()
|
/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 19 : fFloat(Type::MakeScalarType( in BuiltinTypes() 21 , fFloat2(Type::MakeVectorType("float2", "f2", *fFloat, /*columns=*/2)) in BuiltinTypes() 22 , fFloat3(Type::MakeVectorType("float3", "f3", *fFloat, /*columns=*/3)) in BuiltinTypes() 23 , fFloat4(Type::MakeVectorType("float4", "f4", *fFloat, /*columns=*/4)) in BuiltinTypes() 57 , fFloatLiteral(Type::MakeLiteralType("$floatLiteral", *fFloat, /*priority=*/8)) in BuiltinTypes() 59 , fFloat2x2(Type::MakeMatrixType("float2x2", "f22", *fFloat, /*columns=*/2, /*rows=*/2)) in BuiltinTypes() 60 , fFloat2x3(Type::MakeMatrixType("float2x3", "f23", *fFloat, /*columns=*/2, /*rows=*/3)) in BuiltinTypes() 61 , fFloat2x4(Type::MakeMatrixType("float2x4", "f24", *fFloat, /*columns=*/2, /*rows=*/4)) in BuiltinTypes() 62 , fFloat3x2(Type::MakeMatrixType("float3x2", "f32", *fFloat, /*columns=*/3, /*rows=*/2)) in BuiltinTypes() 63 , fFloat3x3(Type::MakeMatrixType("float3x3", "f33", *fFloat, /*columns=*/3, /*rows=*/3)) in BuiltinTypes() [all …]
|
D | SkSLUtil.cpp | 63 if (type.matches(*context.fTypes.fFloat )) { *outType = SkSLType::kFloat; return true; } in type_to_sksltype()
|
D | SkSLBuiltinTypes.h | 24 const std::unique_ptr<Type> fFloat; variable
|
/external/skia/docs/examples/ |
D | Color_Type_RGBA_F16.cpp | 8 float fFloat; member 14 floatUnion.fFloat = f; in FloatToHalf() 18 floatUnion.fFloat *= magic.fFloat; in FloatToHalf()
|
/external/skia/include/private/base/ |
D | SkFloatBits.h | 40 float fFloat; member 47 data.fFloat = x; in SkFloat2Bits() 55 return data.fFloat; in SkBits2Float()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 32 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fFloat)); in DEF_TEST() 50 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fFloat)); in DEF_TEST() 79 context.fTypes.fFloat.get()); in DEF_TEST() 110 SkSL::Type::MakeArrayType(std::string("float[4]"), *context.fTypes.fFloat, 4); in DEF_TEST() 130 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fFloat)); in DEF_TEST() 148 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fFloat)); in DEF_TEST() 177 context.fTypes.fFloat.get()); in DEF_TEST() 208 SkSL::Type::MakeArrayType(std::string("float[4]"), *context.fTypes.fFloat, 4); in DEF_TEST() 233 REPORTER_ASSERT(r, 4 == layout.size(*context.fTypes.fFloat)); in DEF_TEST() 237 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fTypes.fFloat)); in DEF_TEST() [all …]
|
D | SkSLTypeTest.cpp | 36 REPORTER_ASSERT(r, types.fFloat->minimumValue() == float_limits::lowest()); in DEF_TEST() 37 REPORTER_ASSERT(r, types.fFloat->maximumValue() == float_limits::max()); in DEF_TEST()
|
D | MathTest.cpp | 772 float fFloat; in DEF_TEST() member 787 int i = sk_float_saturate2int(r.fFloat); in DEF_TEST() 791 SkScalar p = SkTPin<SkScalar>(r.fFloat, 0, 100); in DEF_TEST() 798 float fFloat; in DEF_TEST() member 813 int64_t i = sk_float_saturate2int64(r.fFloat); in DEF_TEST()
|
/external/skia/src/pathops/ |
D | SkPathOpsTypes.cpp | 191 floatIntA.fFloat = a; in UlpsDistance() 192 floatIntB.fFloat = b; in UlpsDistance()
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_value.h | 56 void SetFloat(v8::Isolate* pIsolate, float fFloat);
|
D | cfxjse_value.cpp | 113 void CFXJSE_Value::SetFloat(v8::Isolate* pIsolate, float fFloat) { in SetFloat() argument 115 m_hValue.Reset(pIsolate, fxv8::NewNumberHelper(pIsolate, ftod(fFloat))); in SetFloat()
|
/external/skia/src/sksl/ir/ |
D | SkSLIndexExpression.cpp | 48 if (type.componentType().matches(*context.fTypes.fFloat)) { in IndexType()
|
D | SkSLType.cpp | 880 if (this->matches(*context.fTypes.fFloat) || this->matches(*context.fTypes.fFloatLiteral)) { in toCompound() 884 case 1: return *context.fTypes.fFloat; in toCompound()
|
/external/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 133 if (component.matches(*fContext.fTypes.fFloat) || in getTypeName() 155 if (component.matches(*fContext.fTypes.fFloat) || in getTypeName() 663 if (arg1Type.matches(*fContext.fTypes.fFloat)) { in writeFunctionCall() 1293 if (type.matches(*fContext.fTypes.fFloat) || type.matches(*fContext.fTypes.fInt) || in getTypePrecision()
|
D | SkSLSPIRVCodeGenerator.cpp | 1130 SpvId floatTypeId = this->getType(*fContext.fTypes.fFloat, layout); in getType() 1460 SkASSERT(arg1Type.matches(*fContext.fTypes.fFloat)); in writeSpecialIntrinsic() 1495 *fContext.fTypes.fFloat); in writeSpecialIntrinsic() 1525 SkASSERT(arguments[2]->type().matches(*fContext.fTypes.fFloat)); in writeSpecialIntrinsic() 1809 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fFloat); in castScalarToFloat() 1810 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in castScalarToFloat() 1923 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in castScalarToBoolean() 2176 SpvId zeroId = this->writeLiteral(0.0, *fContext.fTypes.fFloat); in writeConstructorDiagonalMatrix()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 118 return context.fTypes.fFloat.get(); in get_type_from_type_constant()
|
/external/skia/src/core/ |
D | SkRuntimeEffect.cpp | 91 if (type->matches(*ctx.fTypes.fFloat)) { v->type = Type::kFloat; return true; } in init_uniform_type()
|