Lines Matching refs:gpArgs
18 GrGPArgs gpArgs; in emitCode() local
19 this->onEmitCode(args, &gpArgs); in emitCode()
20 vBuilder->transformToNormalizedDeviceSpace(gpArgs.fPositionVar, args.fRTAdjustName); in emitCode()
21 if (kVec2f_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
89 GrGPArgs* gpArgs, in setupPosition() argument
91 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
92 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in setupPosition()
97 GrGPArgs* gpArgs, in setupPosition() argument
102 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
103 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in setupPosition()
111 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
113 gpArgs->fPositionVar.c_str(), viewMatrixName, posName); in setupPosition()
115 gpArgs->fPositionVar.set(kVec3f_GrSLType, "pos3"); in setupPosition()
117 gpArgs->fPositionVar.c_str(), viewMatrixName, posName); in setupPosition()