Home
last modified time | relevance | path

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

/external/skia/include/gpu/
DGrTypesPriv.h18 enum GrSLType { enum
76 static inline int GrSLTypeVectorCount(GrSLType type) { in GrSLTypeVectorCount()
77 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeVectorCount()
99 static inline GrSLType GrSLFloatVectorType(int count) { in GrSLFloatVectorType()
101 return (GrSLType)(count); in GrSLFloatVectorType()
110 static inline bool GrSLTypeIsFloatType(GrSLType type) { in GrSLTypeIsFloatType()
111 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsFloatType()
131 static inline bool GrSLTypeIsIntType(GrSLType type) { in GrSLTypeIsIntType()
132 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsIntType()
152 static inline bool GrSLTypeIsNumeric(GrSLType type) { in GrSLTypeIsNumeric()
[all …]
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;
/external/skia/src/gpu/glsl/
DGrGLSLVarying.h29 GrSLType type() const { return fType; } in type()
38 GrGLSLVarying(GrSLType type, Varying varying) in GrGLSLVarying()
45 GrSLType fType;
55 GrGLSLVertToFrag(GrSLType type) in GrGLSLVertToFrag()
60 GrGLSLVertToGeo(GrSLType type) in GrGLSLVertToGeo()
65 GrGLSLGeoToFrag(GrSLType type) in GrGLSLGeoToFrag()
146 GrSLType fType;
DGrGLSLShaderVar.h30 GrGLSLShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
38 GrGLSLShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
71 void set(GrSLType type,
91 void set(GrSLType type,
111 void set(GrSLType type,
132 void set(GrSLType type,
176 GrSLType effectiveType = this->getType(); in appendDecl()
DGrGLSLShaderBuilder.cpp38 void GrGLSLShaderBuilder::emitFunction(GrSLType returnType, in emitFunction()
62 GrSLType varyingType) const { in appendTextureLookup()
65 GrSLType samplerType = uniformHandler->getUniformVariable(sampler.fSamplerUniform).getType(); in appendTextureLookup()
102 GrSLType varyingType) { in appendTextureLookup()
109 GrSLType varyingType) { in appendTextureLookupAndModulate()
DGrGLSLUniformHandler.h29 GrSLType type,
37 GrSLType type,
60 GrSLType type,
DGrGLSLShaderBuilder.h45 GrSLType coordType = kVec2f_GrSLType) const;
50 GrSLType coordType = kVec2f_GrSLType);
60 GrSLType coordType = kVec2f_GrSLType);
107 void emitFunction(GrSLType returnType,
DGrGLSL.h59 inline const char* GrGLSLTexture2DFunctionName(GrSLType coordType, GrSLType samplerType, in GrGLSLTexture2DFunctionName()
89 static inline const char* GrGLSLTypeString(GrSLType t) { in GrGLSLTypeString()
DGrGLSLGeometryProcessor.cpp43 GrSLType varyingType; in emitTransforms()
109 GrSLType varyingType = kVec2f_GrSLType; in emitTransforms()
DGrGLSLVarying.cpp14 GrSLType type = GrVertexAttribTypeToSLType(input->fType); in addPassThroughAttribute()
23 GrSLType type = GrVertexAttribTypeToSLType(input->fType); in addFlatPassThroughAttribute()
DGrGLSLPrimitiveProcessor.h104 GrSLType fType;
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp14 uint32_t grsltype_to_alignment_mask(GrSLType type) { in grsltype_to_alignment_mask()
45 GrSLType type, in get_ubo_aligned_offset()
62 GrSLType type, in internalAddUniformArray()
DGrVkUniformHandler.h57 GrSLType type,
DGrVkProgramDataManager.h55 GrSLType fType;
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.h82 GrSLType fType;
93 GrSLType fType;
DGrGLUniformHandler.h34 GrSLType type,
DGrGLUniformHandler.cpp19 GrSLType type, in internalAddUniformArray()
DGrGLGpu.cpp3372 static const GrSLType kSamplerTypes[3] = { kSampler2D_GrSLType, kSamplerExternal_GrSLType, in createCopyPrograms()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp71 static GrSLType get_sampler_type(const GrTextureAccess& access) { in get_sampler_type()
90 GrSLType samplerType = get_sampler_type(processor.textureAccess(t)); in emitSamplers()
/external/skia/src/gpu/
DGrPathProcessor.cpp66 GrSLType varyingType = in emitTransforms()