Home | History | Annotate | Download | only in libGLESv2

Lines Matching refs:textureUnit

160     for (unsigned int textureUnit = 0; textureUnit < ArraySize(mState.samplers); textureUnit++)
162 mState.samplers[textureUnit] = 0;
760 GLuint Context::getSamplerHandle(GLuint textureUnit) const
762 ASSERT(textureUnit < ArraySize(mState.samplers));
763 return mState.samplers[textureUnit];
1258 void Context::bindSampler(GLuint textureUnit, GLuint sampler)
1260 ASSERT(textureUnit < ArraySize(mState.samplers));
1263 mState.samplers[textureUnit] = sampler;
2460 GLint textureUnit = programBinary->getSamplerMapping(type, i); // OpenGL texture image unit index
2461 if (textureUnit != -1)
2463 outTextures[i] = getSamplerTexture(textureUnit, outTextureTypes[i]);
2465 if (mState.samplers[textureUnit] != 0)
2467 Sampler *samplerObject = getSampler(mState.samplers[textureUnit]);
3485 for (unsigned int textureUnit = 0; textureUnit < ArraySize(mState.samplers); textureUnit++)
3487 if (mState.samplers[textureUnit] == sampler)
3489 mState.samplers[textureUnit] = 0;