Lines Matching refs:textures
64 m_tex.textures = NULL;
307 if (m_tex.textures) {
308 texrec = (TextureRec*)bsearch(&texture, m_tex.textures,
354 TextureRec* newTextures = (TextureRec*)realloc(m_tex.textures,
360 m_tex.textures = newTextures;
364 TextureRec* tex = m_tex.textures + m_tex.numTextures;
366 while (tex != m_tex.textures && id < prev->id) {
388 void GLClientState::deleteTextures(GLsizei n, const GLuint* textures)
390 // Updating the textures array could be made more efficient when deleting
391 // several textures:
393 // textures are marked, or
394 // - could swap deleted textures to the end and re-sort.
396 for (const GLuint* texture = textures; texture != textures + n; texture++) {
397 texrec = (TextureRec*)bsearch(texture, m_tex.textures,
400 const TextureRec* end = m_tex.textures + m_tex.numTextures;