Home
last modified time | relevance | path

Searched refs:tex (Results 1 – 11 of 11) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceCommandWriter.java44 int tex = readTextureOnGlTexImage ? ( 1 << READ_TEXTURE_DATA_ON_GLTEXIMAGE_BIT) : 0; in setTraceOptions() local
46 int cmd = eglSwap | glDraw | tex; in setTraceOptions()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmContext.cpp51 void GLEScmContext::setActiveTexture(GLenum tex) { in setActiveTexture() argument
52 m_activeTexture = tex - GL_TEXTURE0; in setActiveTexture()
55 void GLEScmContext::setClientActiveTexture(GLenum tex) { in setClientActiveTexture() argument
56 m_clientActiveTexture = tex - GL_TEXTURE0; in setClientActiveTexture()
129 unsigned int tex = GL_TEXTURE0+i; in setupArraysPointers() local
130 setClientActiveTexture(tex); in setupArraysPointers()
131 s_glDispatch.glClientActiveTexture(tex); in setupArraysPointers()
DGLEScmContext.h36 void setActiveTexture(GLenum tex);
37 void setClientActiveTexture(GLenum tex);
DGLEScmImp.cpp173 static ObjectLocalName TextureLocalName(GLenum target, unsigned int tex) { in TextureLocalName() argument
175 return (tex!=0? tex : ctx->getDefaultTextureName(target)); in TextureLocalName()
178 static TextureData* getTextureData(ObjectLocalName tex){ in getTextureData() argument
181 if(!ctx->shareGroup()->isObject(TEXTURE,tex)) in getTextureData()
187 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(TEXTURE,tex); in getTextureData()
190 ctx->shareGroup()->setObjectData(TEXTURE, tex, ObjectDataPtr(texData)); in getTextureData()
199 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData() local
200 return getTextureData(TextureLocalName(target,tex)); in getTextureTargetData()
233 TextureData* tex = getTextureData(texture); in glIsTexture() local
234 return tex ? tex->wasBound : GL_FALSE; in glIsTexture()
[all …]
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp363 TextureRec* tex = m_tex.textures + m_tex.numTextures; in addTextureRec() local
364 TextureRec* prev = tex - 1; in addTextureRec()
365 while (tex != m_tex.textures && id < prev->id) { in addTextureRec()
366 *tex-- = *prev--; in addTextureRec()
368 tex->id = id; in addTextureRec()
369 tex->target = target; in addTextureRec()
372 return tex; in addTextureRec()
DGLClientState.h263 GLint tex = getActiveTexture() + GL_TEXTURE0; in getClientStateParameter() local
264 *ptr = tex; in getClientStateParameter()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DFramebufferData.cpp183 unsigned int tex = ctx->shareGroup()->genGlobalName(TEXTURE); in validate() local
186 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, tex); in validate()
194 …tcher().glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, 0); in validate()
195 setAttachment(GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, ObjectDataPtr(NULL), true); in validate()
DGLEScontext.cpp177 void GLEScontext::setActiveTexture(GLenum tex) { in setActiveTexture() argument
178 m_activeTexture = tex - GL_TEXTURE0; in setActiveTexture()
720 void GLEScontext::setBindedTexture(GLenum target, unsigned int tex) { in setBindedTexture() argument
722 m_texState[m_activeTexture][pos].texture = tex; in setBindedTexture()
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLEScontext.h124 virtual void setActiveTexture(GLenum tex);
127 void setBindedTexture(GLenum target,unsigned int tex);
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp119 static ObjectLocalName TextureLocalName(GLenum target,unsigned int tex) { in TextureLocalName() argument
121 return (tex!=0? tex : ctx->getDefaultTextureName(target)); in TextureLocalName()
124 static TextureData* getTextureData(ObjectLocalName tex) { in getTextureData() argument
127 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(TEXTURE,tex); in getTextureData()
130 ctx->shareGroup()->setObjectData(TEXTURE, tex, ObjectDataPtr(texData)); in getTextureData()
139 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData() local
140 return getTextureData(TextureLocalName(target,tex)); in getTextureTargetData()
1537 TextureData* tex = getTextureData(texture); in glIsTexture() local
1538 return tex ? tex->wasBound : GL_FALSE; in glIsTexture()
1774 unsigned int tex = ctx->getBindedTexture(target); in glTexImage2D() local
[all …]
/sdk/emulator/opengl/host/libs/libOpenglRender/
DColorBuffer.cpp141 GLuint tex[2] = {m_tex, m_blitTex}; in ~ColorBuffer() local
142 s_gl.glDeleteTextures(2, tex); in ~ColorBuffer()