/external/skia/src/sksl/ |
D | SkSLBuiltinTypes.cpp | 94 , 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 …]
|
D | SkSLUtil.cpp | 61 if (type == *context.fTypes.fHalf ) { *outType = kHalf_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 29 const std::unique_ptr<Type> fHalf; variable
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_box.cpp | 224 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 …]
|
D | cxfa_rectangle.cpp | 214 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/ |
D | SkSLType.cpp | 94 } else if (*this == *context.fTypes.fHalf) { in toCompound() 98 case 1: return *context.fTypes.fHalf; in toCompound()
|
D | SkSLIndexExpression.cpp | 23 } else if (type.componentType() == *context.fTypes.fHalf) { in IndexType()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 77 return *context.fTypes.fHalf; in skslType()
|
/external/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 97 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()
|
D | SkSLCPPCodeGenerator.cpp | 200 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()
|
D | SkSLDSLCPPCodeGenerator.cpp | 29 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()
|
D | SkSLHCodeGenerator.cpp | 53 if (type == *context.fTypes.fFloat || type == *context.fTypes.fHalf) { in ParameterCType()
|
D | SkSLMetalCodeGenerator.cpp | 109 if (type == *fContext.fTypes.fHalf) { in typeName()
|
D | SkSLSPIRVCodeGenerator.cpp | 490 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/ |
D | SkRuntimeEffect.cpp | 99 if (*type == *ctx.fTypes.fHalf) { v->type = Type::kFloat; return true; } in init_uniform_type()
|