Home
last modified time | relevance | path

Searched refs:fHalf (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/sksl/
DSkSLBuiltinTypes.cpp94 , fHalf(MakeScalarType("half", "h", Type::NumberKind::kFloat, /*priority=*/9)) in BuiltinTypes()
95 , fHalf2(MakeVectorType("half2", "h2", *fHalf, /*columns=*/2)) in BuiltinTypes()
96 , fHalf3(MakeVectorType("half3", "h3", *fHalf, /*columns=*/3)) in BuiltinTypes()
97 , fHalf4(MakeVectorType("half4", "h4", *fHalf, /*columns=*/4)) in BuiltinTypes()
133 , fHalf2x2(MakeMatrixType("half2x2", "h22", *fHalf, /*columns=*/2, /*rows=*/2)) in BuiltinTypes()
134 , fHalf2x3(MakeMatrixType("half2x3", "h23", *fHalf, /*columns=*/2, /*rows=*/3)) in BuiltinTypes()
135 , fHalf2x4(MakeMatrixType("half2x4", "h24", *fHalf, /*columns=*/2, /*rows=*/4)) in BuiltinTypes()
136 , fHalf3x2(MakeMatrixType("half3x2", "h32", *fHalf, /*columns=*/3, /*rows=*/2)) in BuiltinTypes()
137 , fHalf3x3(MakeMatrixType("half3x3", "h33", *fHalf, /*columns=*/3, /*rows=*/3)) in BuiltinTypes()
138 , fHalf3x4(MakeMatrixType("half3x4", "h34", *fHalf, /*columns=*/3, /*rows=*/4)) in BuiltinTypes()
[all …]
DSkSLUtil.cpp61 if (type == *context.fTypes.fHalf ) { *outType = kHalf_GrSLType; return true; } in type_to_grsltype()
DSkSLBuiltinTypes.h29 const std::unique_ptr<Type> fHalf; variable
/external/pdfium/xfa/fxfa/parser/
Dcxfa_box.cpp224 float fHalf = fThickness / 2; in DrawFill() local
227 rtWidget.Inflate(fHalf, fHalf); in DrawFill()
229 rtWidget.Deflate(fHalf, fHalf); in DrawFill()
287 float fHalf = edge->GetThickness() / 2; in StrokeArcOrRounded() local
288 if (fHalf < 0) { in StrokeArcOrRounded()
289 fHalf = 0; in StrokeArcOrRounded()
294 rtWidget.Inflate(fHalf, fHalf); in StrokeArcOrRounded()
296 rtWidget.Deflate(fHalf, fHalf); in StrokeArcOrRounded()
299 if (fHalf < 0.001f) in StrokeArcOrRounded()
309 pGS->SetLineWidth(fHalf); in StrokeArcOrRounded()
[all …]
Dcxfa_rectangle.cpp214 float fHalf = fThickness / 2; in Draw() local
219 rtWidget.top -= fHalf; in Draw()
220 rtWidget.height += fHalf; in Draw()
222 rtWidget.top += fHalf; in Draw()
223 rtWidget.height -= fHalf; in Draw()
228 rtWidget.width += fHalf; in Draw()
230 rtWidget.width -= fHalf; in Draw()
235 rtWidget.height += fHalf; in Draw()
237 rtWidget.height -= fHalf; in Draw()
242 rtWidget.left -= fHalf; in Draw()
[all …]
/external/skia/src/sksl/ir/
DSkSLType.cpp94 } else if (*this == *context.fTypes.fHalf) { in toCompound()
98 case 1: return *context.fTypes.fHalf; in toCompound()
DSkSLIndexExpression.cpp23 } else if (type.componentType() == *context.fTypes.fHalf) { in IndexType()
/external/skia/src/sksl/dsl/
DDSLType.cpp77 return *context.fTypes.fHalf; in skslType()
/external/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp97 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName()
118 if (component == *fContext.fTypes.fFloat || component == *fContext.fTypes.fHalf) { in getTypeName()
138 if (type == *fContext.fTypes.fHalf) { in getTypeName()
1119 if (type == *fContext.fTypes.fHalf) { in getTypePrecision()
DSkSLCPPCodeGenerator.cpp200 type.componentType() == *fContext.fTypes.fHalf); in formatRuntimeValue()
471 if (type == *context.fTypes.fHalf ) { return "kHalf_GrSLType"; } in glsltype_string()
1292 } else if (varType == *fContext.fTypes.fHalf || in writeGetKey()
DSkSLDSLCPPCodeGenerator.cpp29 if (type == *context.fTypes.fHalf) { in get_scalar_type_name()
191 type.componentType() == *fContext.fTypes.fHalf); in formatRuntimeValue()
1339 } else if (varType == *fContext.fTypes.fHalf || in writeGetKey()
DSkSLHCodeGenerator.cpp53 if (type == *context.fTypes.fFloat || type == *context.fTypes.fHalf) { in ParameterCType()
DSkSLMetalCodeGenerator.cpp109 if (type == *fContext.fTypes.fHalf) { in typeName()
DSkSLSPIRVCodeGenerator.cpp490 if (type.componentType() == *fContext.fTypes.fHalf) { in getActualType()
534 } else if (type == *fContext.fTypes.fFloat || type == *fContext.fTypes.fHalf || in getType()
/external/skia/src/core/
DSkRuntimeEffect.cpp99 if (*type == *ctx.fTypes.fHalf) { v->type = Type::kFloat; return true; } in init_uniform_type()