Home
last modified time | relevance | path

Searched refs:activeUnit (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp107 m_tex.activeUnit = &m_tex.unit[0]; in init()
971 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()
977 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()
984 m_tex.activeUnit->enables |= (1u << TEXTURE_2D); in enableTextureTarget()
987 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL); in enableTextureTarget()
996 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D); in disableTextureTarget()
999 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL); in disableTextureTarget()
1025 unsigned int enables = m_tex.activeUnit->enables; in getPriorityEnabledTarget()
1060 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
1063 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
[all …]
DGLClientState.h516 TextureUnit* activeUnit; member