Home
last modified time | relevance | path

Searched refs:localCoordsVar (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp56 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()
DGrGLSLGeometryProcessor.h37 const GrShaderVar& localCoordsVar,
45 const GrShaderVar& localCoordsVar, in emitTransforms() argument
47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp56 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()
DGrGLSLGeometryProcessor.h37 const GrShaderVar& localCoordsVar,
45 const GrShaderVar& localCoordsVar, in emitTransforms() argument
47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()