Searched refs:localCoordsVar (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 56 const GrShaderVar& localCoordsVar, in emitTransforms() argument 59 SkASSERT(GrSLTypeIsFloatType(localCoordsVar.getType())); in emitTransforms() 60 SkASSERT(2 == GrSLTypeVecLength(localCoordsVar.getType()) || in emitTransforms() 61 3 == GrSLTypeVecLength(localCoordsVar.getType())); in emitTransforms() 63 bool threeComponentLocalCoords = 3 == GrSLTypeVecLength(localCoordsVar.getType()); in emitTransforms() 66 localCoords = localCoordsVar.getName(); in emitTransforms() 68 localCoords.printf("float3(%s, 1)", localCoordsVar.c_str()); in emitTransforms()
|
D | GrGLSLGeometryProcessor.h | 37 const GrShaderVar& localCoordsVar, 45 const GrShaderVar& localCoordsVar, in emitTransforms() argument 47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.cpp | 103 const GrShaderVar& localCoordsVar, in collectTransforms() argument 106 SkASSERT(localCoordsVar.getType() == kFloat2_GrSLType || in collectTransforms() 107 localCoordsVar.getType() == kFloat3_GrSLType || in collectTransforms() 108 localCoordsVar.getType() == kVoid_GrSLType); in collectTransforms() 116 SkASSERT(GrSLTypeIsFloatType(localCoordsVar.getType())); in collectTransforms() 119 baseLocalCoord = GrGLSLVarying(localCoordsVar.getType()); in collectTransforms() 121 vb->codeAppendf("%s = %s;\n", baseLocalCoord.vsOut(), localCoordsVar.getName().c_str()); in collectTransforms() 188 inputCoords = baseCoord == BaseCoord::kLocal ? localCoordsVar : positionVar; in collectTransforms() 216 bool hasPerspective = GrSLTypeVecLength(localCoordsVar.getType()) == 3; in collectTransforms()
|
D | GrGeometryProcessor.h | 464 const GrShaderVar& localCoordsVar,
|