Home
last modified time | relevance | path

Searched refs:TypeModifier (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/gpu/
DGrShaderVar.cpp12 static const char* type_modifier_string(GrShaderVar::TypeModifier t) { in type_modifier_string()
14 case GrShaderVar::TypeModifier::None: return ""; in type_modifier_string()
15 case GrShaderVar::TypeModifier::In: return "in"; in type_modifier_string()
16 case GrShaderVar::TypeModifier::InOut: return "inout"; in type_modifier_string()
17 case GrShaderVar::TypeModifier::Out: return "out"; in type_modifier_string()
18 case GrShaderVar::TypeModifier::Uniform: return "uniform"; in type_modifier_string()
30 if (this->getTypeModifier() != TypeModifier::None) { in appendDecl()
DGrShaderVar.h21 enum class TypeModifier { enum
38 , fTypeModifier(TypeModifier::None) in GrShaderVar()
43 , fTypeModifier(TypeModifier::None) in fType()
49 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier) in GrShaderVar()
54 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier) in GrShaderVar()
57 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier, int arrayCount) in GrShaderVar()
63 GrShaderVar(SkString name, GrSLType type, TypeModifier typeModifier, int arrayCount, in GrShaderVar()
103 TypeModifier getTypeModifier() const { return fTypeModifier; } in getTypeModifier()
104 void setTypeModifier(TypeModifier type) { fTypeModifier = type; } in setTypeModifier()
135 TypeModifier fTypeModifier;
DGrSPIRVUniformHandler.cpp231 GrShaderVar{std::move(resolvedName), type, GrShaderVar::TypeModifier::None, arrayCount, in internalAddUniformArray()
257 GrShaderVar::TypeModifier::Uniform, GrShaderVar::kNonArray, in addSampler()
273 GrShaderVar::TypeModifier::Uniform, GrShaderVar::kNonArray, in addSampler()
DGrGeometryProcessor.h74 return {fName, fGPUType, GrShaderVar::TypeModifier::In}; in asShaderVar()
/external/skqp/src/gpu/
DGrShaderVar.h23 enum TypeModifier { enum
73 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
84 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
112 TypeModifier typeModifier = kNone_TypeModifier,
136 TypeModifier typeModifier = kNone_TypeModifier,
161 TypeModifier typeModifier,
186 TypeModifier typeModifier,
259 TypeModifier getTypeModifier() const { return fTypeModifier; } in getTypeModifier()
260 void setTypeModifier(TypeModifier type) { fTypeModifier = type; } in setTypeModifier()
315 TypeModifier fTypeModifier;
DGrShaderVar.cpp12 static const char* type_modifier_string(GrShaderVar::TypeModifier t) { in type_modifier_string()
/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.cpp105 using TypeModifier = GrShaderVar::TypeModifier; in onEmitCode() typedef
110 v->declareGlobal(GrShaderVar("vsJoinArgs0", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
113 v->declareGlobal(GrShaderVar("vsJoinArgs1", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
116 v->declareGlobal(GrShaderVar("vsPts01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
117 v->declareGlobal(GrShaderVar("vsPts23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
118 v->declareGlobal(GrShaderVar("vsPts45", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
119 v->declareGlobal(GrShaderVar("vsPts67", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
120 v->declareGlobal(GrShaderVar("vsPts89", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
121 v->declareGlobal(GrShaderVar("vsTans01", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
122 v->declareGlobal(GrShaderVar("vsTans23", kFloat4_GrSLType, TypeModifier::Out)); in onEmitCode()
[all …]
DGrStencilPathShader.cpp89 v->declareGlobal(GrShaderVar("vsPt", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in onEmitCode()
/external/skia/src/gpu/glsl/
DGrGLSLVarying.cpp78 SkASSERT(GrShaderVar::TypeModifier::In == var.getTypeModifier()); in addAttribute()
108 fVertexOutputs.emplace_back(v.fVsOut, v.fType, GrShaderVar::TypeModifier::Out, in finalize()
111 fGeomInputs.emplace_back(v.fVsOut, v.fType, GrShaderVar::TypeModifier::In, in finalize()
118 fGeomOutputs.emplace_back(v.fGsOut, v.fType, GrShaderVar::TypeModifier::Out, in finalize()
122 fFragInputs.emplace_back(SkString(fsIn), v.fType, GrShaderVar::TypeModifier::In, in finalize()
DGrGLSLFragmentShaderBuilder.cpp98 fCustomColorOutput->setTypeModifier(GrShaderVar::TypeModifier::InOut); in dstColor()
122 GrShaderVar::TypeModifier::Out); in enableCustomOutput()
141 GrShaderVar::TypeModifier::Out); in enableSecondaryOutput()
152 fCustomColorOutput->getTypeModifier() == GrShaderVar::TypeModifier::InOut; in primaryColorOutputIsInOut()
DGrGLSLGeometryProcessor.cpp97 GrShaderVar::TypeModifier::In); in collectTransforms()
150 GrShaderVar(SkString(v.fsIn()), v.type(), GrShaderVar::TypeModifier::In); in collectTransforms()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifierNameResolution.java8 import com.fasterxml.jackson.databind.type.TypeModifier;
33 static class CustomTypeModifier extends TypeModifier {
DTestTypeModifiers.java192 static class MyTypeModifier extends TypeModifier
/external/skia/gm/
Dtessellation.cpp73 GrShaderVar("P_", kFloat3_GrSLType, GrShaderVar::TypeModifier::Out)); in onEmitCode()
143 GrShaderVar::TypeModifier::In)); in writeFragmentShader()
183 GrShaderVar("M_", kFloat3x3_GrSLType, GrShaderVar::TypeModifier::Out)); in onEmitCode()
245 GrShaderVar::TypeModifier::In)); in writeFragmentShader()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DModule.java17 import com.fasterxml.jackson.databind.type.TypeModifier;
264 public void addTypeModifier(TypeModifier modifier); in addTypeModifier()
/external/skia/src/gpu/gl/
DGrGLUniformHandler.cpp52 GrShaderVar{std::move(resolvedName), type, GrShaderVar::TypeModifier::Uniform, in internalAddUniformArray()
78 GrShaderVar::TypeModifier::Uniform}, in addSampler()
DGrGLGpu.cpp3052 GrShaderVar aVertex("a_vertex", kHalf2_GrSLType, GrShaderVar::TypeModifier::In); in createCopyProgram()
3054 GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3055 GrShaderVar uPosXform("u_posXform", kHalf4_GrSLType, GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3056 GrShaderVar uTexture("u_texture", samplerType, GrShaderVar::TypeModifier::Uniform); in createCopyProgram()
3057 GrShaderVar vTexCoord("v_texCoord", kHalf2_GrSLType, GrShaderVar::TypeModifier::Out); in createCopyProgram()
3058 GrShaderVar oFragColor("o_FragColor", kHalf4_GrSLType, GrShaderVar::TypeModifier::Out); in createCopyProgram()
3092 vTexCoord.setTypeModifier(GrShaderVar::TypeModifier::In); in createCopyProgram()
3153 GrShaderVar aVertex("a_vertex", kHalf2_GrSLType, GrShaderVar::TypeModifier::In); in createMipmapProgram()
3155 GrShaderVar::TypeModifier::Uniform); in createMipmapProgram()
3157 GrShaderVar::TypeModifier::Uniform); in createMipmapProgram()
[all …]
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp256 GrShaderVar{std::move(resolvedName), type, GrShaderVar::TypeModifier::None, arrayCount}, in internalAddUniformArray()
284 GrShaderVar::TypeModifier::Uniform, GrShaderVar::kNonArray, in addSampler()
320 GrShaderVar{std::move(mangleName), kInput_GrSLType, GrShaderVar::TypeModifier::Uniform, in addInputSampler()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeModifier.java16 public abstract class TypeModifier class
DTypeFactory.java139 protected final TypeModifier[] _modifiers;
172 TypeModifier[] mods, ClassLoader classLoader) in TypeFactory()
189 public TypeFactory withModifier(TypeModifier mod) in withModifier()
192 TypeModifier[] mods; in withModifier()
199 mods = new TypeModifier[] { mod }; in withModifier()
1365 for (TypeModifier mod : _modifiers) { in _applyModifiers()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactoryWithClassLoader.java23 private TypeModifier typeModifier;
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm243 GrShaderVar{std::move(resolvedName), type, GrShaderVar::TypeModifier::None, arrayCount,
275 GrShaderVar::TypeModifier::Uniform, GrShaderVar::kNonArray,
/external/clang/lib/AST/
DOpenMPClause.cpp588 OpenMPMapClauseKind TypeModifier, OpenMPMapClauseKind Type, in Create() argument
613 TypeModifier, Type, TypeIsImplicit, TypeLoc, StartLoc, LParenLoc, EndLoc, in Create()
618 Clause->setMapTypeModifier(TypeModifier); in Create()
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp3153 OpenMPMapModifierKind TypeModifier = in isMapModifier() local
3156 return TypeModifier; in isMapModifier()
3194 OpenMPMapModifierKind TypeModifier = isMapModifier(*this); in parseMapTypeModifiers() local
3195 if (TypeModifier == OMPC_MAP_MODIFIER_always || in parseMapTypeModifiers()
3196 TypeModifier == OMPC_MAP_MODIFIER_close || in parseMapTypeModifiers()
3197 TypeModifier == OMPC_MAP_MODIFIER_present) { in parseMapTypeModifiers()
3198 Data.MapTypeModifiers.push_back(TypeModifier); in parseMapTypeModifiers()
3201 } else if (TypeModifier == OMPC_MAP_MODIFIER_mapper) { in parseMapTypeModifiers()
3202 Data.MapTypeModifiers.push_back(TypeModifier); in parseMapTypeModifiers()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp631 GrShaderVar::TypeModifier::None}; in createGLSLInstance()

12