Lines Matching refs:unitIdx
284 void bindSampler(int unitIdx, const GrSamplerState& state) { in bindSampler() argument
304 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
305 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
306 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
2949 void GrGLGpu::bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture) { in bindTexture() argument
2972 if (fHWTextureUnitBindings[unitIdx].boundID(target) != textureID) { in bindTexture()
2973 this->setTextureUnit(unitIdx); in bindTexture()
2975 fHWTextureUnitBindings[unitIdx].setBoundID(target, textureID); in bindTexture()
2998 fSamplerObjectCache->bindSampler(unitIdx, samplerState); in bindTexture()
3014 this->setTextureUnit(unitIdx); in bindTexture()
3018 this->setTextureUnit(unitIdx); in bindTexture()
3023 this->setTextureUnit(unitIdx); in bindTexture()
3027 this->setTextureUnit(unitIdx); in bindTexture()
3032 this->setTextureUnit(unitIdx); in bindTexture()
3036 this->setTextureUnit(unitIdx); in bindTexture()
3042 this->setTextureUnit(unitIdx); in bindTexture()
3059 this->setTextureUnit(unitIdx); in bindTexture()
3078 this->setTextureUnit(unitIdx); in bindTexture()
3083 this->setTextureUnit(unitIdx); in bindTexture()