Home
last modified time | relevance | path

Searched refs:GrSLType (Results 1 – 13 of 13) sorted by relevance

/external/skia/include/gpu/
DGrShaderVar.h47 GrShaderVar(const SkString& name, GrSLType type, int arrayCount = kNonArray,
58 GrShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
69 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
88 void set(GrSLType type,
102 void set(GrSLType type,
164 GrSLType getType() const { return fType; } in getType()
168 void setType(GrSLType type) { fType = type; } in setType()
184 GrSLType fType;
DGrTypesPriv.h19 enum GrSLType { enum
64 static inline int GrSLTypeVectorCount(GrSLType type) { in GrSLTypeVectorCount()
65 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeVectorCount()
82 static inline GrSLType GrSLFloatVectorType(int count) { in GrSLFloatVectorType()
84 return (GrSLType)(count); in GrSLFloatVectorType()
93 static inline bool GrSLTypeIsFloatType(GrSLType type) { in GrSLTypeIsFloatType()
94 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsFloatType()
174 static inline GrSLType GrVertexAttribTypeToSLType(GrVertexAttribType type) { in GrVertexAttribTypeToSLType()
/external/skia/src/gpu/gl/
DGrGLShaderVar.h39 GrGLShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
49 GrGLShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
83 void set(GrSLType type,
99 void set(GrSLType type,
115 void set(GrSLType type,
132 void set(GrSLType type,
171 GrSLType effectiveType = this->getType(); in appendDecl()
DGrGLPathProcessor.h48 GrSLType fType;
DGrGLProgramDataManager.h104 GrSLType fType;
DGrGLPrimitiveProcessor.h119 GrSLType fType;
DGrGLGeometryProcessor.cpp34 GrSLType varyingType; in emitTransforms()
DGrGLPathProcessor.cpp70 GrSLType varyingType = in emitTransforms()
DGrGLSL.h62 static inline const char* GrGLSLTypeString(GrSLType t) { in GrGLSLTypeString()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h50 GrSLType type,
59 GrSLType type,
92 GrSLType type() const { return fType; } in type()
101 GrGLVarying(GrSLType type, Varying varying) in GrGLVarying()
108 GrSLType fType;
121 GrGLVertToFrag(GrSLType type) in GrGLVertToFrag()
126 GrGLVertToGeo(GrSLType type) in GrGLVertToGeo()
131 GrGLGeoToFrag(GrSLType type) in GrGLGeoToFrag()
233 GrSLType type,
DGrGLShaderBuilder.cpp15 inline const char* sample_function_name(GrSLType type, GrGLSLGeneration glslGen) { in sample_function_name()
29 GrSLType varyingType = kVec2f_GrSLType) { in append_texture_lookup()
81 void GrGLShaderBuilder::emitFunction(GrSLType returnType, in emitFunction()
106 GrSLType varyingType) const { in appendTextureLookup()
118 GrSLType varyingType) { in appendTextureLookup()
125 GrSLType varyingType) { in appendTextureLookupAndModulate()
DGrGLShaderBuilder.h50 GrSLType coordType = kVec2f_GrSLType) const;
55 GrSLType coordType = kVec2f_GrSLType);
65 GrSLType coordType = kVec2f_GrSLType);
96 void emitFunction(GrSLType returnType,
DGrGLProgramBuilder.cpp121 GrSLType type = GrVertexAttribTypeToSLType(input->fType); in addPassThroughAttribute()
145 GrSLType type, in addUniformArray()