Lines Matching refs:unitIdx
239 void bindSampler(int unitIdx, const GrSamplerState& state) { in bindSampler() argument
259 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
260 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
261 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
2936 void GrGLGpu::bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture) { in bindTexture() argument
2959 if (fHWBoundTextureUniqueIDs[unitIdx] != textureID) { in bindTexture()
2960 this->setTextureUnit(unitIdx); in bindTexture()
2962 fHWBoundTextureUniqueIDs[unitIdx] = textureID; in bindTexture()
2985 fSamplerObjectCache->bindSampler(unitIdx, samplerState); in bindTexture()
3001 this->setTextureUnit(unitIdx); in bindTexture()
3005 this->setTextureUnit(unitIdx); in bindTexture()
3010 this->setTextureUnit(unitIdx); in bindTexture()
3014 this->setTextureUnit(unitIdx); in bindTexture()
3019 this->setTextureUnit(unitIdx); in bindTexture()
3023 this->setTextureUnit(unitIdx); in bindTexture()
3029 this->setTextureUnit(unitIdx); in bindTexture()
3046 this->setTextureUnit(unitIdx); in bindTexture()
3065 this->setTextureUnit(unitIdx); in bindTexture()
3070 this->setTextureUnit(unitIdx); in bindTexture()