Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLClientState.cpp124 m_tex.activeUnit = &m_tex.unit[0]; in init()
1342 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()
1348 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()
1355 m_tex.activeUnit->enables |= (1u << TEXTURE_2D); in enableTextureTarget()
1358 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL); in enableTextureTarget()
1367 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D); in disableTextureTarget()
1370 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL); in disableTextureTarget()
1402 unsigned int enables = m_tex.activeUnit->enables; in getPriorityEnabledTarget()
1438 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
1441 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
[all …]
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLClientState.h682 TextureUnit* activeUnit; member