Lines Matching refs:fSamplers
79 UniformInfo& sampler = fSamplers.push_back(); in addSampler()
87 SkASSERT(fSamplers.count() == fSamplerSwizzles.count()); in addSampler()
88 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
98 for (int i = 0; i < fSamplers.count(); ++i) { in appendUniformDecls()
99 if (fSamplers[i].fVisibility & visibility) { in appendUniformDecls()
100 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
113 for (int i = 0; i < fSamplers.count(); ++i, ++currUniform) { in bindUniformLocations()
114 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations()
115 fSamplers[i].fLocation = currUniform; in bindUniformLocations()
128 for (int i = 0; i < fSamplers.count(); ++i) { in getUniformLocations()
130 GL_CALL_RET(location, GetUniformLocation(programID, fSamplers[i].fVariable.c_str())); in getUniformLocations()
131 fSamplers[i].fLocation = location; in getUniformLocations()