Lines Matching refs:texture
1336 GLenum GLClientState::setActiveTextureUnit(GLenum texture) in setActiveTextureUnit() argument
1338 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit()
1419 GLenum GLClientState::bindTexture(GLenum target, GLuint texture, in bindTexture() argument
1424 TextureRec* texrec = getTextureRecPtr(texture); in bindTexture()
1426 texrec = addTextureRec(texture, target); in bindTexture()
1430 if (texture && target != texrec->target && in bindTexture()
1438 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
1441 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
1444 m_tex.activeUnit->texture[TEXTURE_CUBE_MAP] = texture; in bindTexture()
1447 m_tex.activeUnit->texture[TEXTURE_2D_ARRAY] = texture; in bindTexture()
1450 m_tex.activeUnit->texture[TEXTURE_3D] = texture; in bindTexture()
1453 m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE] = texture; in bindTexture()
1456 m_tex.activeUnit->texture[TEXTURE_BUFFER] = texture; in bindTexture()
1477 GLuint texture = getBoundTexture(target); in setBoundEGLImage() local
1478 TextureRec* texrec = getTextureRecPtr(texture); in setBoundEGLImage()
1537 GLuint texture = getBoundTexture(target); in setBoundTextureInternalFormat() local
1538 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureInternalFormat()
1544 GLuint texture = getBoundTexture(target); in setBoundTextureFormat() local
1545 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureFormat()
1551 GLuint texture = getBoundTexture(target); in setBoundTextureType() local
1552 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureType()
1576 GLuint texture = getBoundTexture(target); in setBoundTextureDims() local
1577 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureDims()
1630 setFboCompletenessDirtyForTexture(texture); in setBoundTextureDims()
1634 GLuint texture = getBoundTexture(target); in setBoundTextureSamples() local
1635 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureSamples()
1643 GLuint texture = getBoundTexture(stateTarget); in addTextureCubeMapImage() local
1644 TextureRec* texrec = getTextureRecPtr(texture); in addTextureCubeMapImage()
1670 GLuint texture = getBoundTexture(target); in setBoundTextureImmutableFormat() local
1671 TextureRec* texrec = getTextureRecPtr(texture); in setBoundTextureImmutableFormat()
1685 GLuint texture = getBoundTexture(target); in isBoundTextureImmutableFormat() local
1686 TextureRec* texrec = getTextureRecPtr(texture); in isBoundTextureImmutableFormat()
1692 GLuint texture = getBoundTexture(target); in isBoundTextureComplete() local
1693 TextureRec* texrec = getTextureRecPtr(texture); in isBoundTextureComplete()
1730 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
1732 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()
1734 return m_tex.activeUnit->texture[TEXTURE_CUBE_MAP]; in getBoundTexture()
1736 return m_tex.activeUnit->texture[TEXTURE_2D_ARRAY]; in getBoundTexture()
1738 return m_tex.activeUnit->texture[TEXTURE_3D]; in getBoundTexture()
1740 return m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE]; in getBoundTexture()
1742 return m_tex.activeUnit->texture[TEXTURE_BUFFER]; in getBoundTexture()
2055 for (const GLuint* texture = textures; texture != textures + n; texture++) { in deleteTextures() local
2056 setFboCompletenessDirtyForTexture(*texture); in deleteTextures()
2065 for (const GLuint* texture = textures; texture != textures + n; texture++) { in deleteTextures() local
2067 texrec = getTextureRecPtrLocked(*texture); in deleteTextures()
2072 m_tex.textureRecs->map.erase(*texture); in deleteTextures()
2077 if (unit->texture[TEXTURE_2D] == *texture) { in deleteTextures()
2078 unit->texture[TEXTURE_2D] = 0; in deleteTextures()
2079 } else if (unit->texture[TEXTURE_EXTERNAL] == *texture) { in deleteTextures()
2080 unit->texture[TEXTURE_EXTERNAL] = 0; in deleteTextures()
2535 GLenum attachment, GLuint texture, GLint level, GLint layer) { in attachTextureObject() argument
2537 bool attach = texture != 0; in attachTextureObject()
2538 std::shared_ptr<TextureRec> texrec = getTextureRec(texture); in attachTextureObject()
2731 void GLClientState::setFboCompletenessDirtyForTexture(GLuint texture) { in setFboCompletenessDirtyForTexture() argument
2732 std::shared_ptr<TextureRec> texrec = getTextureRec(texture); in setFboCompletenessDirtyForTexture()