Lines Matching refs:tex
2455 GLuint tex = state->getBoundTexture(target); in s_glTexSubImage2D() local
2460 if (tex && !state->queryTexEGLImageBacked(tex)) { in s_glTexSubImage2D()
2462 (neededWidth > state->queryTexWidth(level, tex) || in s_glTexSubImage2D()
2463 neededHeight > state->queryTexHeight(level, tex) || in s_glTexSubImage2D()
2464 neededDepth > state->queryTexDepth(level, tex)), in s_glTexSubImage2D()
4002 GLuint tex = state->getBoundTexture(target); in s_glTexSubImage3D() local
4007 SET_ERROR_IF(tex && in s_glTexSubImage3D()
4008 (neededWidth > state->queryTexWidth(level, tex) || in s_glTexSubImage3D()
4009 neededHeight > state->queryTexHeight(level, tex) || in s_glTexSubImage3D()
4010 neededDepth > state->queryTexDepth(level, tex)), in s_glTexSubImage3D()
4625 GLuint tex = state->getBoundTexture(target); in s_glGenerateMipmap() local
4626 GLenum internalformat = state->queryTexInternalFormat(tex); in s_glGenerateMipmap()
4628 SET_ERROR_IF(tex && GLESv2Validation::isCompressedFormat(internalformat), in s_glGenerateMipmap()
4630 SET_ERROR_IF(tex && in s_glGenerateMipmap()