Home
last modified time | relevance | path

Searched refs:m_tex (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/host/gl/
DColorBufferGl.cpp259 s_gles2.glGenTextures(1, &cb->m_tex); in create()
260 s_gles2.glBindTexture(GL_TEXTURE_2D, cb->m_tex); in create()
297 (EGLClientBuffer)SafePointerFromUInt(cb->m_tex), NULL); in create()
367 GLuint tex[2] = {m_tex, m_blitTex}; in ~ColorBufferGl()
397 m_tex); in readPixels()
403 if (bindFbo(&m_fbo, m_tex, m_needFboReattach)) { in readPixels()
443 GLuint tex = m_resizer->update(m_tex, width, height, rotation); in readPixelsScaled()
543 s_gles2.glBindTexture(GL_TEXTURE_2D, m_tex); in reformat()
557 (EGLClientBuffer)SafePointerFromUInt(m_tex), NULL); in reformat()
600 GL_SCOPED_DEBUG_GROUP("ColorBufferGl::subUpdate(handle:%d fbo:%d tex:%d)", mHndl, m_fbo, m_tex); in subUpdateFromFrameworkFormat()
[all …]
DColorBufferGl.h243 GLuint m_tex = 0;
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLClientState.cpp123 memset(m_tex.unit, 0, sizeof(m_tex.unit)); in init()
124 m_tex.activeUnit = &m_tex.unit[0]; in init()
125 m_tex.textureRecs = NULL; 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()
1378 if (m_tex.unit[unit].boundSampler) { in bindSampler()
[all …]
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLClientState.h686 TextureState m_tex; variable