Lines Matching refs:texture

965 GLenum GLClientState::setActiveTextureUnit(GLenum texture)  in setActiveTextureUnit()  argument
967 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit()
1042 GLenum GLClientState::bindTexture(GLenum target, GLuint texture, in bindTexture() argument
1047 TextureRec* texrec = getTextureRec(texture); in bindTexture()
1049 texrec = addTextureRec(texture, target); in bindTexture()
1052 if (texture && target != texrec->target && in bindTexture()
1055 …ERATION: target 0x%x texrectarget 0x%x texture %u", __FUNCTION__, target, texrec->target, texture); in bindTexture()
1060 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
1063 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
1066 m_tex.activeUnit->texture[TEXTURE_CUBE_MAP] = texture; in bindTexture()
1069 m_tex.activeUnit->texture[TEXTURE_2D_ARRAY] = texture; in bindTexture()
1072 m_tex.activeUnit->texture[TEXTURE_3D] = texture; in bindTexture()
1075 m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE] = texture; in bindTexture()
1089 GLuint texture = getBoundTexture(target); in setBoundEGLImage() local
1090 TextureRec* texrec = getTextureRec(texture); in setBoundEGLImage()
1120 GLuint texture = getBoundTexture(target); in setBoundTextureInternalFormat() local
1121 TextureRec* texrec = getTextureRec(texture); in setBoundTextureInternalFormat()
1127 GLuint texture = getBoundTexture(target); in setBoundTextureFormat() local
1128 TextureRec* texrec = getTextureRec(texture); in setBoundTextureFormat()
1134 GLuint texture = getBoundTexture(target); in setBoundTextureType() local
1135 TextureRec* texrec = getTextureRec(texture); in setBoundTextureType()
1141 GLuint texture = getBoundTexture(target); in setBoundTextureDims() local
1142 TextureRec* texrec = getTextureRec(texture); in setBoundTextureDims()
1179 GLuint texture = getBoundTexture(target); in setBoundTextureSamples() local
1180 TextureRec* texrec = getTextureRec(texture); in setBoundTextureSamples()
1186 GLuint texture = getBoundTexture(target); in setBoundTextureImmutableFormat() local
1187 TextureRec* texrec = getTextureRec(texture); in setBoundTextureImmutableFormat()
1193 GLuint texture = getBoundTexture(target); in isBoundTextureImmutableFormat() local
1194 TextureRec* texrec = getTextureRec(texture); in isBoundTextureImmutableFormat()
1203 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
1205 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()
1207 return m_tex.activeUnit->texture[TEXTURE_CUBE_MAP]; in getBoundTexture()
1209 return m_tex.activeUnit->texture[TEXTURE_2D_ARRAY]; in getBoundTexture()
1211 return m_tex.activeUnit->texture[TEXTURE_3D]; in getBoundTexture()
1213 return m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE]; in getBoundTexture()
1293 for (const GLuint* texture = textures; texture != textures + n; texture++) { in deleteTextures() local
1294 texrec = getTextureRec(*texture); in deleteTextures()
1299 m_tex.textureRecs->erase(*texture); in deleteTextures()
1305 if (unit->texture[TEXTURE_2D] == *texture) { in deleteTextures()
1306 unit->texture[TEXTURE_2D] = 0; in deleteTextures()
1307 } else if (unit->texture[TEXTURE_EXTERNAL] == *texture) { in deleteTextures()
1308 unit->texture[TEXTURE_EXTERNAL] = 0; in deleteTextures()
1732 GLenum attachment, GLuint texture) { in attachTextureObject() argument
1738 boundFboProps(target).colorAttachmenti_textures[colorAttachmentIndex] = texture; in attachTextureObject()
1744 boundFboProps(target).depthAttachment_texture = texture; in attachTextureObject()
1748 boundFboProps(target).stencilAttachment_texture = texture; in attachTextureObject()
1752 boundFboProps(target).depthstencilAttachment_texture = texture; in attachTextureObject()
1754 boundFboProps(target).stencilAttachment_texture = texture; in attachTextureObject()
1756 boundFboProps(target).depthAttachment_texture = texture; in attachTextureObject()