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/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/libs/hwui/pipeline/skia/
DSkiaOpenGLReadback.cpp41 glBindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId); in copyImageInto()
42 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, eglImage); in copyImageInto()
54 externalTexture.fTarget = GL_TEXTURE_EXTERNAL_OES; in copyImageInto()
/frameworks/base/libs/hwui/tests/unit/
DDeferredLayerUpdaterTests.cpp50 glLayer->setRenderTarget(GL_TEXTURE_EXTERNAL_OES); in RENDERTHREAD_TEST()
56 EXPECT_EQ((uint32_t)GL_TEXTURE_EXTERNAL_OES, glLayer->getRenderTarget()); in RENDERTHREAD_TEST()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java267 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTexNames[0]); in initGLBuffers()
268 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in initGLBuffers()
270 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in initGLBuffers()
272 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in initGLBuffers()
274 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_T, in initGLBuffers()
276 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, 0); in initGLBuffers()
423 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTexNames[0]);
437 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/
DOpenGLReadback.cpp255 caches.textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId); in copyImageInto()
256 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, eglImage); in copyImageInto()
266 GL_TEXTURE_EXTERNAL_OES); in copyImageInto()
DDeferredLayerUpdater.h78 LOG_ALWAYS_FATAL_IF(target != GL_TEXTURE_2D && target != GL_TEXTURE_EXTERNAL_OES, in setSurfaceTexture()
DTexture.cpp147 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, mEglImageHandle); in uploadHardwareBitmapToTexture()
345 GLenum target = bitmap.isHardware() ? GL_TEXTURE_EXTERNAL_OES : GL_TEXTURE_2D; in upload()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java309 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID); in drawFrame()
385 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, mTextureID); in initializeGLState()
388 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MIN_FILTER, in initializeGLState()
390 GLES20.glTexParameterf(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_MAG_FILTER, in initializeGLState()
392 GLES20.glTexParameteri(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, GLES20.GL_TEXTURE_WRAP_S, in initializeGLState()
394 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.cpp271 surfaceTexture = new GLConsumer(consumer, GL_TEXTURE_EXTERNAL_OES, in SurfaceTexture_init()
275 GL_TEXTURE_EXTERNAL_OES, true, !singleBufferMode); in SurfaceTexture_init()
/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.cpp175 GL_TEXTURE_EXTERNAL_OES, true, false); in setup_l()
/frameworks/rs/driver/
DrsdShader.cpp90 texType = GL_TEXTURE_EXTERNAL_OES; in getExistingState()
206 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures()
497 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_EXTERNAL_OES) { in setupTextures()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DTexture2dProgram.java123 mTextureTarget = GLES11Ext.GL_TEXTURE_EXTERNAL_OES; in Texture2dProgram()
/frameworks/native/cmds/flatland/
DComposers.cpp87 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName); in modBlit()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp81 ->setRenderTarget(GL_TEXTURE_EXTERNAL_OES); in createTextureLayerUpdater()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_frame.cpp81 texture_target_ = GL_TEXTURE_EXTERNAL_OES; in InitWithExternalTexture()
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp137 : description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES in computeKey()

12