Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp248 GLenum GLClientState::setActiveTextureUnit(GLenum texture) in setActiveTextureUnit() argument
250 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit()
306 GLenum GLClientState::bindTexture(GLenum target, GLuint texture, in bindTexture() argument
311 if (texture != 0) { in bindTexture()
313 texrec = (TextureRec*)bsearch(&texture, m_tex.textures, in bindTexture()
317 if (!(texrec = addTextureRec(texture, target))) { in bindTexture()
329 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
332 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
385 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
387 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()
[all …]
DGLClientState.h154 GLenum setActiveTextureUnit(GLenum texture);
179 GLenum bindTexture(GLenum target, GLuint texture, GLboolean* firstUse);
208 GLuint texture[TEXTURE_TARGET_COUNT]; member
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.h116 static void s_glClientActiveTexture(void *self, GLenum texture);
135 static void s_glActiveTexture(void* self, GLenum texture);
136 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()
634 void GLEncoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
640 if ((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR) { in s_glActiveTexture()
646 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
649 void GLEncoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
656 if ((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR) { in s_glBindTexture()
663 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
671 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
686 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.cpp1122 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
1140 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
1199 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
1218 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
1414 void glClientActiveTexture_enc(void *self , GLenum texture) in glClientActiveTexture_enc() argument
1432 memcpy(ptr, &texture, 4); ptr += 4; in glClientActiveTexture_enc()
2715 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
2733 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
6459 …S_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2DOES_enc() argument
6480 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.cpp1251 void GL2Encoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
1257 SET_ERROR_IF((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR, err); in s_glActiveTexture()
1259 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
1262 void GL2Encoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
1269 SET_ERROR_IF((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR, err); in s_glBindTexture()
1272 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
1279 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
1294 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
DGL2Encoder.h231 static void s_glActiveTexture(void* self, GLenum texture);
232 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
Dgl2_enc.cpp21 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
39 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
179 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
198 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
1320 …D_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2D_enc() argument
1341 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture2D_enc()
2786 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
2804 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
4563 …(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… in glFramebufferTexture3DOES_enc() argument
4584 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))
Degl.cpp1255 GLuint texture = (GLuint)reinterpret_cast<uintptr_t>(buffer); in eglCreateImageKHR() local
1256 uint32_t img = rcEnc->rcCreateClientImage(rcEnc, ctxHandle, target, texture); in eglCreateImageKHR()
/device/generic/goldfish/opengl/system/renderControl_enc/
DREADME112 colorBuffer to the current binded texture object of the calling thread.