Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_2D (Results 1 – 15 of 15) sorted by relevance

/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp94 *ptr = state->getBoundTexture(GL_TEXTURE_2D); in s_glGetIntegerv()
138 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_2D); in s_glGetFloatv()
177 *ptr = state->getBoundTexture(GL_TEXTURE_2D) << 16; in s_glGetFixedv()
211 *ptr = state->getBoundTexture(GL_TEXTURE_2D) != 0 ? GL_TRUE : GL_FALSE; in s_glGetBooleanv()
670 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in s_glBindTexture()
675 GLenum priorityTarget = state->getPriorityEnabledTarget(GL_TEXTURE_2D); in s_glBindTexture()
679 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
680 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, in s_glBindTexture()
682 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, in s_glBindTexture()
684 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, in s_glBindTexture()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/
DYUVConverter.cpp169 s_gles2.glBindTexture(GL_TEXTURE_2D, *texName_out); in createYUVGLTex()
170 s_gles2.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in createYUVGLTex()
171 s_gles2.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in createYUVGLTex()
172 s_gles2.glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in createYUVGLTex()
190 s_gles2.glBindTexture(GL_TEXTURE_2D, tex); in subUpdateYUVGLTex()
191 s_gles2.glTexSubImage2D(GL_TEXTURE_2D, 0, in subUpdateYUVGLTex()
/device/generic/goldfish/camera/
DEmulatedFakeRotatingCameraDevice.cpp176 glBindTexture(GL_TEXTURE_2D, mTexture); in create_texture_dotx()
177 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, width, 0, GL_RGBA, GL_UNSIGNED_BYTE, myrgba2); in create_texture_dotx()
181 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in create_texture_dotx()
182 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in create_texture_dotx()
266 glEnable(GL_TEXTURE_2D); in update_scene()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp732 *ptr = state->getBoundTexture(GL_TEXTURE_2D); in s_glGetIntegerv()
1974 if (newTarget != GL_TEXTURE_2D && newTarget != GL_TEXTURE_EXTERNAL_OES) in updateHostTexture2DBinding()
1979 GLenum oldTarget = m_state->getPriorityEnabledTarget(GL_TEXTURE_2D); in updateHostTexture2DBinding()
1982 m_state->disableTextureTarget(GL_TEXTURE_2D); in updateHostTexture2DBinding()
1986 m_state->enableTextureTarget(GL_TEXTURE_2D); in updateHostTexture2DBinding()
1989 m_glBindTexture_enc(this, GL_TEXTURE_2D, in updateHostTexture2DBinding()
2203 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in s_glBindTexture()
2208 GLenum priorityTarget = state->getPriorityEnabledTarget(GL_TEXTURE_2D); in s_glBindTexture()
2211 ctx->m_glBindTexture_enc(ctx, GL_TEXTURE_2D, texture); in s_glBindTexture()
2212 ctx->m_glTexParameteri_enc(ctx, GL_TEXTURE_2D, in s_glBindTexture()
[all …]
DGLESv2Validation.cpp329 case GL_TEXTURE_2D: in textureTarget()
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp970 g_glBindTexture(GL_TEXTURE_2D, res->tex_id); in virgl_renderer_resource_get_info()
971 g_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in virgl_renderer_resource_get_info()
972 g_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in virgl_renderer_resource_get_info()
973 g_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in virgl_renderer_resource_get_info()
974 g_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in virgl_renderer_resource_get_info()
976 g_glBindTexture(GL_TEXTURE_2D, res->tex_id); in virgl_renderer_resource_get_info()
980 g_glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, res->args.width, res->args.height, 0, format, type, in virgl_renderer_resource_get_info()
DRenderControl.cpp641 s_gles1.glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, res->image->image); in rcBindTexture()
644 s_gles3.glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, res->image->image); in rcBindTexture()
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp91 ctx->m_glEGLImageTargetTexture2DOES_enc(self, GL_TEXTURE_2D, hostImage); in glEGLImageTargetTexture2DOES()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp983 case GL_TEXTURE_2D: in enableTextureTarget()
995 case GL_TEXTURE_2D: in disableTextureTarget()
1029 return GL_TEXTURE_2D; in getPriorityEnabledTarget()
1059 case GL_TEXTURE_2D: in bindTexture()
1202 case GL_TEXTURE_2D: in getBoundTexture()
1235 entry.id = getBoundTexture(GL_TEXTURE_2D); in writeCopyTexImageState()
1263 query.id = getBoundTexture(GL_TEXTURE_2D); in copyTexImageNeededTarget()
DGLSharedGroup.cpp120 *target = GL_TEXTURE_2D; in getNextSamplerUniform()
145 *target = GL_TEXTURE_2D; in setSamplerUniform()
DglUtils.cpp247 case GL_TEXTURE_2D: in glUtilsParamSize()
/device/generic/goldfish-opengl/system/include/GLES2/
Dgl2.h127 #define GL_TEXTURE_2D 0x0DE1 macro
/device/generic/goldfish-opengl/system/include/GLES/
Dgl.h132 #define GL_TEXTURE_2D 0x0DE1 macro
/device/generic/goldfish-opengl/system/include/GLES3/
Dgl3.h127 #define GL_TEXTURE_2D 0x0DE1 macro
Dgl31.h127 #define GL_TEXTURE_2D 0x0DE1 macro