Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 13 of 13) sorted by relevance

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp246 GLenum GLClientState::setActiveTextureUnit(GLenum texture) in setActiveTextureUnit() argument
248 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit()
304 GLenum GLClientState::bindTexture(GLenum target, GLuint texture, in bindTexture() argument
309 if (texture != 0) { in bindTexture()
311 texrec = (TextureRec*)bsearch(&texture, m_tex.textures, in bindTexture()
315 if (!(texrec = addTextureRec(texture, target))) { in bindTexture()
327 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
330 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
383 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
385 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()
[all …]
DGLClientState.h150 GLenum setActiveTextureUnit(GLenum texture);
175 GLenum bindTexture(GLenum target, GLuint texture, GLboolean* firstUse);
202 GLuint texture[TEXTURE_TARGET_COUNT]; member
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.h115 static void s_glClientActiveTexture(void *self, GLenum texture);
134 static void s_glActiveTexture(void* self, GLenum texture);
135 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
DGLEncoder.cpp294 void GLEncoder::s_glClientActiveTexture(void *self, GLenum texture) in s_glClientActiveTexture() argument
298 ctx->m_state->setActiveTexture(texture - GL_TEXTURE0); in s_glClientActiveTexture()
602 void GLEncoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
608 if ((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR) { in s_glActiveTexture()
614 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
617 void GLEncoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
624 if ((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR) { in s_glBindTexture()
631 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
639 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
654 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
Dgl_entry.cpp47 void glActiveTexture(GLenum texture);
50 void glBindTexture(GLenum target, GLuint texture);
58 void glClientActiveTexture(GLenum texture);
104 GLboolean glIsTexture(GLuint texture);
237 …void glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture,…
274 …ultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
290 …void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint…
537 void glActiveTexture(GLenum texture) in glActiveTexture() argument
540 ctx->glActiveTexture(ctx, texture); in glActiveTexture()
555 void glBindTexture(GLenum target, GLuint texture) in glBindTexture() argument
[all …]
Dgl_enc.cpp687 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
699 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
734 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
747 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
869 void glClientActiveTexture_enc(void *self , GLenum texture) in glClientActiveTexture_enc() argument
881 memcpy(ptr, &texture, 4); ptr += 4; in glClientActiveTexture_enc()
1615 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
1627 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
3906 …S_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2DOES_enc() argument
3921 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture2DOES_enc()
[all …]
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp9 void glActiveTexture(GLenum texture);
15 void glBindTexture(GLenum target, GLuint texture);
56 …void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GL…
96 GLboolean glIsTexture(GLuint texture);
162 …void glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture,…
182 …ultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
200 …void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint…
226 void glActiveTexture(GLenum texture) in glActiveTexture() argument
229 ctx->glActiveTexture(ctx, texture); in glActiveTexture()
262 void glBindTexture(GLenum target, GLuint texture) in glBindTexture() argument
[all …]
DGL2Encoder.cpp1060 void GL2Encoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
1066 SET_ERROR_IF((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR, err); in s_glActiveTexture()
1068 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
1071 void GL2Encoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
1078 SET_ERROR_IF((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR, err); in s_glBindTexture()
1081 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
1088 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
1103 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
DGL2Encoder.h225 static void s_glActiveTexture(void* self, GLenum texture);
226 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
Dgl2_enc.cpp20 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
32 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
118 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
131 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
809 …D_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2D_enc() argument
824 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture2D_enc()
1554 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
1566 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
2674 …(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… in glFramebufferTexture3DOES_enc() argument
2689 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture3DOES_enc()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp246 void glActiveTexture(GLenum texture) in glActiveTexture() argument
248 getDispatch()->glActiveTexture(texture); in glActiveTexture()
261 void glBindTexture(GLenum target, GLuint texture) in glBindTexture() argument
263 getDispatch()->glBindTexture(target, texture); in glBindTexture()
301 void glClientActiveTexture(GLenum texture) in glClientActiveTexture() argument
303 getDispatch()->glClientActiveTexture(texture); in glClientActiveTexture()
536 GLboolean glIsTexture(GLuint texture) in glIsTexture() argument
538 return getDispatch()->glIsTexture(texture); in glIsTexture()
1101 void glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, … in glFramebufferTexture2DOES() argument
1103 getDispatch()->glFramebufferTexture2DOES(target, attachment, textarget, texture, level); in glFramebufferTexture2DOES()
[all …]
/device/generic/goldfish/opengl/system/egl/
DClientAPIExts.in156 (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level),
157 (target, attachment, textarget, texture, level))
/device/generic/goldfish/opengl/system/renderControl_enc/
DREADME112 colorBuffer to the current binded texture object of the calling thread.