Lines Matching refs:activeUnit
64 m_tex.activeUnit = &m_tex.unit[0]; in GLClientState()
254 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()
260 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()
267 m_tex.activeUnit->enables |= (1u << TEXTURE_2D); in enableTextureTarget()
270 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL); in enableTextureTarget()
279 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D); in disableTextureTarget()
282 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL); in disableTextureTarget()
289 unsigned int enables = m_tex.activeUnit->enables; in getPriorityEnabledTarget()
329 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
332 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
385 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
387 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()