Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_EXTERNAL_OES (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DMultiTextureConsumer_test.cpp82 glBindTexture(GL_TEXTURE_EXTERNAL_OES, TEX_ID); in TEST_F()
83 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in TEST_F()
84 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in TEST_F()
85 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in TEST_F()
86 glTexParameterx(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in TEST_F()
102 glBindTexture(GL_TEXTURE_EXTERNAL_OES, TEX_ID); in TEST_F()
103 glEnable(GL_TEXTURE_EXTERNAL_OES); in TEST_F()
DTextureRenderer.cpp89 glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTexName); in drawTexture()
96 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, in drawTexture()
99 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, in drawTexture()
102 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_S, in drawTexture()
105 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_T, in drawTexture()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java112 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onDrawFrame()
197 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onSurfaceCreated()
201 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
203 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in onSurfaceCreated()
206 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
208 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
343 private static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65; field in MyRenderer
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp140 glBindTexture(GL_TEXTURE_EXTERNAL_OES, yuvTex); in setupYuvTexSurface()
142 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img); in setupYuvTexSurface()
144 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setupYuvTexSurface()
146 glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in setupYuvTexSurface()
152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop); in setupYuvTexSurface()
164 glBindTexture(GL_TEXTURE_EXTERNAL_OES, yuvTex); in renderFrame()
166 glEnable(GL_TEXTURE_EXTERNAL_OES); in renderFrame()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES11RenderEngine.cpp186 glDisable(GL_TEXTURE_EXTERNAL_OES);
220 glEnable(GL_TEXTURE_EXTERNAL_OES);
228 glDisable(GL_TEXTURE_EXTERNAL_OES);
233 glDisable(GL_TEXTURE_EXTERNAL_OES);
268 glDisable(GL_TEXTURE_EXTERNAL_OES);
DProgramCache.cpp122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : in computeKey()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java205 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onDrawFrame()
292 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onSurfaceCreated()
296 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
298 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in onSurfaceCreated()
301 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
303 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
507 private static int GL_TEXTURE_EXTERNAL_OES = 0x8D65; field in CamRenderer
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java269 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTexNames[0]); in initGLBuffers()
270 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in initGLBuffers()
272 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in initGLBuffers()
274 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in initGLBuffers()
276 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in initGLBuffers()
278 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, 0); in initGLBuffers()
430 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTexNames[0]);
444 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, 0);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java327 private static int GL_TEXTURE_EXTERNAL_OES = 0x8D65; field in VideoDumpView.VideoDumpRenderer
396 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onDrawFrame()
556 GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); in onSurfaceCreated()
560 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in onSurfaceCreated()
562 GLES20.glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in onSurfaceCreated()
565 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in onSurfaceCreated()
567 GLES20.glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in onSurfaceCreated()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp110 … LOG_ALWAYS_FATAL_IF(renderTarget != GL_TEXTURE_2D && renderTarget != GL_TEXTURE_EXTERNAL_OES, in doUpdateTexImage()
112 renderTarget, GL_TEXTURE_2D, GL_TEXTURE_EXTERNAL_OES); in doUpdateTexImage()
DReadback.cpp145 Caches::getInstance().textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId); in copySurfaceInto()
146 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, sourceImage); in copySurfaceInto()
DDeferredLayerUpdater.h67 LOG_ALWAYS_FATAL_IF(target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES, in setSurfaceTexture()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java308 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID); in drawFrame()
384 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID); in initializeGLState()
387 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in initializeGLState()
389 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in initializeGLState()
391 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in initializeGLState()
393 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in initializeGLState()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp245 glBindTexture(GL_TEXTURE_EXTERNAL_OES, yuvTex); in setupYuvTexSurface()
247 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img); in setupYuvTexSurface()
276 glBindTexture(GL_TEXTURE_EXTERNAL_OES, yuvTex); in renderFrame()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTextureSource.java46 GLES11Ext.GL_TEXTURE_EXTERNAL_OES, in newExternalTexture()
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp268 surfaceTexture = new GLConsumer(consumer, GL_TEXTURE_EXTERNAL_OES, in SurfaceTexture_init()
272 GL_TEXTURE_EXTERNAL_OES, true, !singleBufferMode); in SurfaceTexture_init()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp56 GLenum renderTarget = GL_TEXTURE_EXTERNAL_OES; in createTextureLayerUpdater()
/frameworks/av/cmds/screenrecord/
DFrameOutput.cpp74 GL_TEXTURE_EXTERNAL_OES, true, false); in createInputSurface()
DProgram.cpp273 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName); in beforeDraw()
DOverlay.cpp176 GL_TEXTURE_EXTERNAL_OES, true, false); in setup_l()
/frameworks/rs/driver/
DrsdShader.cpp86 texType = GL_TEXTURE_EXTERNAL_OES; in getExistingState()
202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures()
493 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_EXTERNAL_OES) { in setupTextures()
/frameworks/native/cmds/flatland/
DComposers.cpp87 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName); in modBlit()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_frame.cpp81 texture_target_ = GL_TEXTURE_EXTERNAL_OES; in InitWithExternalTexture()
/frameworks/native/opengl/libagl/
Dtexture.cpp635 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in texParameterx()
868 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in glBindTexture()
1014 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in glTexParameteriv()
1607 if (target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES) { in glEGLImageTargetTexture2DOES()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DGLES11ExtHeader.java-if128 public static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65;

12