Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp64 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()
[all …]
DGLClientState.h216 TextureUnit* activeUnit; member