Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp700 GLenum GLClientState::setActiveTextureUnit(GLenum texture) in setActiveTextureUnit() argument
702 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit()
758 GLenum GLClientState::bindTexture(GLenum target, GLuint texture, in bindTexture() argument
763 TextureRec* texrec = getTextureRec(texture); in bindTexture()
765 texrec = addTextureRec(texture, target); in bindTexture()
768 if (texture && target != texrec->target && in bindTexture()
771 …ERATION: target 0x%x texrectarget 0x%x texture %u", __FUNCTION__, target, texrec->target, texture); in bindTexture()
776 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
779 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
782 m_tex.activeUnit->texture[TEXTURE_CUBE_MAP] = texture; in bindTexture()
[all …]
DGLClientState.h290 GLenum setActiveTextureUnit(GLenum texture);
315 GLenum bindTexture(GLenum target, GLuint texture, GLboolean* firstUse);
376 void attachTextureObject(GLenum target, GLenum attachment, GLuint texture);
483 GLuint texture[TEXTURE_TARGET_COUNT]; member
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.h127 static void s_glClientActiveTexture(void *self, GLenum texture);
146 static void s_glActiveTexture(void* self, GLenum texture);
147 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
164 …2DOES(void* self, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
165 …G(void* self, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
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()
[all …]
Dgl_entry.cpp46 void glActiveTexture(GLenum texture);
49 void glBindTexture(GLenum target, GLuint texture);
57 void glClientActiveTexture(GLenum texture);
103 GLboolean glIsTexture(GLuint texture);
236 …void glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture,…
273 …ultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
289 …void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint…
535 void glActiveTexture(GLenum texture) in glActiveTexture() argument
538 ctx->glActiveTexture(ctx, texture); in glActiveTexture()
553 void glBindTexture(GLenum target, GLuint texture) in glBindTexture() argument
[all …]
Dgl_enc.cpp1133 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
1151 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
1210 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
1229 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
1425 void glClientActiveTexture_enc(void *self , GLenum texture) in glClientActiveTexture_enc() argument
1443 memcpy(ptr, &texture, 4); ptr += 4; in glClientActiveTexture_enc()
2756 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
2774 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
6534 …S_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2DOES_enc() argument
6555 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture2DOES_enc()
[all …]
/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/include/GLES/
Dglext.h764 …fferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
780 …EXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1051 …MPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
1117 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenu…
1118 GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenu…
1119 GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenu…
1124 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1125 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1126 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1167 …MPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
[all …]
Dgl.h633 GL_API void GL_APIENTRY glActiveTexture (GLenum texture);
636 GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
644 GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture);
691 GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture);
/device/generic/goldfish-opengl/system/include/GLES2/
Dgl2ext.h362 …RE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi…
369 …Texture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi…
909 …YP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
911 …L_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
961 …MPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
964 …ltisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
1354 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1355 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1356 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
1361 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, G…
[all …]
Dgl2.h377 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
383 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
424 …ebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
464 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);
/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.cpp1820 GLuint texture = (GLuint)reinterpret_cast<uintptr_t>(buffer); in eglCreateImageKHR() local
1821 uint32_t img = rcEnc->rcCreateClientImage(rcEnc, ctxHandle, target, texture); in eglCreateImageKHR()
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_entry.cpp8 void glActiveTexture(GLenum texture);
14 void glBindTexture(GLenum target, GLuint texture);
55 …void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GL…
95 GLboolean glIsTexture(GLuint texture);
161 …void glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture,…
181 …ultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
199 …void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint…
296 …void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLin…
398 …void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, …
427 void glActiveTexture(GLenum texture) in glActiveTexture() argument
[all …]
DGL2Encoder.h300 static void s_glActiveTexture(void* self, GLenum texture);
301 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
341 …ure2D(void* self, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
344 …ES(void*self, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi…
457 …ebufferTextureLayer(void* self, GLenum target, GLenum attachment, GLuint texture, GLint level, GLi…
DGL2Encoder.cpp1711 void GL2Encoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
1717 SET_ERROR_IF((err = state->setActiveTextureUnit(texture)) != GL_NO_ERROR, err); in s_glActiveTexture()
1719 ctx->m_glActiveTexture_enc(ctx, texture); in s_glActiveTexture()
1722 void GL2Encoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
1730 SET_ERROR_IF((err = state->bindTexture(target, texture, &firstUse)) != GL_NO_ERROR, err); in s_glBindTexture()
1733 ctx->m_glBindTexture_enc(ctx, target, texture); in s_glBindTexture()
1740 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
1755 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
2247 GLenum textarget, GLuint texture, GLint level) { in s_glFramebufferTexture2D() argument
2253 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTexture2D()
[all …]
Dgl2_enc.cpp20 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
38 memcpy(ptr, &texture, 4); ptr += 4; in glActiveTexture_enc()
178 void glBindTexture_enc(void *self , GLenum target, GLuint texture) in glBindTexture_enc() argument
197 memcpy(ptr, &texture, 4); ptr += 4; in glBindTexture_enc()
1325 …D_enc(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) in glFramebufferTexture2D_enc() argument
1346 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture2D_enc()
2859 GLboolean glIsTexture_enc(void *self , GLuint texture) in glIsTexture_enc() argument
2877 memcpy(ptr, &texture, 4); ptr += 4; in glIsTexture_enc()
4642 …(void *self , GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi… in glFramebufferTexture3DOES_enc() argument
4663 memcpy(ptr, &texture, 4); ptr += 4; in glFramebufferTexture3DOES_enc()
[all …]
/device/generic/goldfish-opengl/system/include/GLES3/
Dgl3.h377 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
383 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
424 …ebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
464 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);
854 …NTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLi…
Dgl31.h377 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
383 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
424 …ebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
464 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);
854 …NTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLi…
1164 GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean…
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME112 colorBuffer to the current binded texture object of the calling thread.