Home
last modified time | relevance | path

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

/sdk/emulator/opengl/host/libs/libOpenglRender/
DColorBuffer.cpp59 s_gl.glBindTexture(GL_TEXTURE_2D, cb->m_tex); in create()
65 s_gl.glTexImage2D(GL_TEXTURE_2D, 0, texInternalFormat, in create()
70 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in create()
71 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in create()
72 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in create()
73 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in create()
80 s_gl.glBindTexture(GL_TEXTURE_2D, cb->m_blitTex); in create()
81 s_gl.glTexImage2D(GL_TEXTURE_2D, 0, texInternalFormat, in create()
85 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in create()
86 s_gl.glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in create()
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DFramebufferData.cpp115 case GL_TEXTURE_2D: in detachObject()
176 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, name); in validate()
177 ctx->dispatcher().glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &width); in validate()
178 … ctx->dispatcher().glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &height); in validate()
179 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, prev); in validate()
186 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, tex); in validate()
188 ctx->dispatcher().glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST ); in validate()
189 ctx->dispatcher().glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST ); in validate()
190 ctx->dispatcher().glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE ); in validate()
191 ctx->dispatcher().glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE ); in validate()
[all …]
DGLESvalidate.cpp106 return target==GL_TEXTURE_2D || target==GL_TEXTURE_CUBE_MAP; in textureTarget()
110 return target==GL_TEXTURE_2D; in textureTargetLimited()
121 case GL_TEXTURE_2D: in textureTargetEx()
DGLEScontext.cpp703 case GL_TEXTURE_2D: in GLTextureTargetToLocal()
/sdk/emulator/opengl/tests/translator_tests/GLES_CM/
DtriangleCM.cpp212 glEnable(GL_TEXTURE_2D); in WinMain()
214 glBindTexture(GL_TEXTURE_2D, ui32Texture); in WinMain()
220 …glCompressedTexImage2D(GL_TEXTURE_2D,0,GL_PALETTE4_RGB8_OES,TEX_WIDTH,TEX_HEIGHT,0,3*16+TEX_WIDTH*… in WinMain()
224 …glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TEX_WIDTH, TEX_HEIGHT, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixel… in WinMain()
232 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in WinMain()
236 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in WinMain()
247 …glCompressedTexSubImage2D(GL_TEXTURE_2D,0,TEX_WIDTH/4,TEX_HEIGHT/4,TEX_WIDTH/8,TEX_HEIGHT/8,GL_PAL… in WinMain()
250 …glTexSubImage2D(GL_TEXTURE_2D,0,TEX_WIDTH/4,TEX_HEIGHT/4,TEX_WIDTH/8,TEX_HEIGHT/8,GL_RGBA,GL_UNSIG… in WinMain()
440 glCopyTexImage2D(GL_TEXTURE_2D,0,GL_RGBA,0,0,256,256,0); in WinMain()
442 … glCopyTexSubImage2D(GL_TEXTURE_2D,0,100,100,WINDOW_WIDTH/2,WINDOW_HEIGHT/2,50,50); in WinMain()
/sdk/emulator/opengl/tests/ut_renderer/
DRenderingThread.cpp32 if (target == GL_TEXTURE_2D && param == GL_TEXTURE_CROP_RECT_OES) { in s_glTexParameteriv()
106 if (target == GL_TEXTURE_2D) m_tls->m_currentContext->setTex2DBind(texture); in s_glBindTexture()
112 if (cap == GL_TEXTURE_2D) m_tls->m_currentContext->setTex2DEnable(true); in s_glEnable()
118 if (cap == GL_TEXTURE_2D) m_tls->m_currentContext->setTex2DEnable(false); in s_glDisable()
149 m_glBindTexture(GL_TEXTURE_2D, (*i)->texture); in applyPendingCropRects()
150 m_glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, (int *)(*i)->rect); in applyPendingCropRects()
153 m_glBindTexture(GL_TEXTURE_2D, currBindedTex); in applyPendingCropRects()
164 m_glEnable(GL_TEXTURE_2D); in fixTextureEnable()
167 m_glDisable(GL_TEXTURE_2D); in fixTextureEnable()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp260 case GL_TEXTURE_2D: in enableTextureTarget()
272 case GL_TEXTURE_2D: in disableTextureTarget()
287 return GL_TEXTURE_2D; in getPriorityEnabledTarget()
322 case GL_TEXTURE_2D: in bindTexture()
378 case GL_TEXTURE_2D: in getBoundTexture()
DGLSharedGroup.cpp168 *target = GL_TEXTURE_2D; in getNextSamplerUniform()
182 if (m_Indexes[i].type == GL_TEXTURE_2D) { in setSamplerUniform()
188 *target = GL_TEXTURE_2D; in setSamplerUniform()
DglUtils.cpp202 case GL_TEXTURE_2D: in glUtilsParamSize()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmValidate.cpp119 return (target == GL_TEXTURE_2D)||(target == GL_TEXTURE_CUBE_MAP_OES); in texParams()
176 case GL_TEXTURE_2D: in capability()
DGLEScmImp.cpp75 glBindTexture(GL_TEXTURE_2D,0); in initContext()
503 if(ctx->getBindedTexture(GL_TEXTURE_2D) == textures[i]) in glDeleteTextures()
504 ctx->setBindedTexture(GL_TEXTURE_2D,0); in glDeleteTextures()
540 if (cap==GL_TEXTURE_2D || cap==GL_TEXTURE_CUBE_MAP_OES) in glDisable()
606 if (cap==GL_TEXTURE_2D || cap==GL_TEXTURE_CUBE_MAP_OES) in glEnable()
1485 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, texData->oldGlobal); in glTexImage2D()
1669 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, img->globalTexName); in glEGLImageTargetTexture2DOES()
1722 GL_TEXTURE_2D, in glEGLImageTargetRenderbufferStorageOES()
1885 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, in glGetRenderbufferParameterivOES()
1887 ctx->dispatcher().glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, in glGetRenderbufferParameterivOES()
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp72 glBindTexture(GL_TEXTURE_2D,0); in initContext()
482 if (ctx->getBindedTexture(GL_TEXTURE_2D) == textures[i]) in glDeleteTextures()
483 ctx->setBindedTexture(GL_TEXTURE_2D,0); in glDeleteTextures()
685 GL_TEXTURE_2D, in glFramebufferRenderbuffer()
1062 if (target == GL_TEXTURE_2D) { in glGetFramebufferAttachmentParameteriv()
1129 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, in glGetRenderbufferParameteriv()
1131 ctx->dispatcher().glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, in glGetRenderbufferParameteriv()
1134 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, prevTex); in glGetRenderbufferParameteriv()
1778 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, texData->oldGlobal); in glTexImage2D()
2036 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, img->globalTexName); in glEGLImageTargetTexture2DOES()
[all …]
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglMacApi.cpp153 GLenum glTexFormat = GL_RGBA, glTexTarget = GL_TEXTURE_2D; in createPbufferSurface()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLEnum.java145 GL_TEXTURE_2D(0x0DE1), enumConstant
/sdk/emulator/opengl/host/libs/Translator/include/GLES2/
Dgl2.h145 #define GL_TEXTURE_2D 0x0DE1 macro
/sdk/emulator/opengl/host/libs/Translator/include/GLES/
Dgl.h132 #define GL_TEXTURE_2D 0x0DE1 macro