Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
DGrGLSLVertexShaderBuilder.cpp18 void GrGLSLVertexBuilder::transformToNormalizedDeviceSpace(const GrShaderVar& posVar) { in transformToNormalizedDeviceSpace() argument
26 if (kVec3f_GrSLType == posVar.getType()) { in transformToNormalizedDeviceSpace()
27 const char* p = posVar.c_str(); in transformToNormalizedDeviceSpace()
30 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
31 this->codeAppendf("{vec2 _posTmp = %s;", posVar.c_str()); in transformToNormalizedDeviceSpace()
37 } else if (kVec3f_GrSLType == posVar.getType()) { in transformToNormalizedDeviceSpace()
39 posVar.c_str(), fRtAdjustName, in transformToNormalizedDeviceSpace()
40 posVar.c_str(), fRtAdjustName, in transformToNormalizedDeviceSpace()
41 posVar.c_str()); in transformToNormalizedDeviceSpace()
43 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
[all …]
DGrGLSLGeometryProcessor.cpp30 const GrShaderVar& posVar, in emitTransforms() argument
73 if (kVec2f_GrSLType == posVar.getType()) { in emitTransforms()
75 v.vsOut(), uniName, posVar.c_str()); in emitTransforms()
78 vb->codeAppendf("{ vec3 temp = %s * %s;", uniName, posVar.c_str()); in emitTransforms()
82 if (kVec2f_GrSLType == posVar.getType()) { in emitTransforms()
84 v.vsOut(), uniName, posVar.c_str()); in emitTransforms()
86 vb->codeAppendf("%s = %s * %s;", v.vsOut(), uniName, posVar.c_str()); in emitTransforms()
DGrGLSLGeometryProcessor.h48 const GrShaderVar& posVar, in emitTransforms() argument
53 posVar, localCoords, SkMatrix::I(), tin, tout); in emitTransforms()
60 const GrShaderVar& posVar,
DGrGLSLVertexShaderBuilder.h23 void transformToNormalizedDeviceSpace(const GrShaderVar& posVar);