Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java120 EGLSurface eglSurf = null; in forSurfaceHolder() local
122 eglSurf = mSurfaceSources.get(surfaceHolder); in forSurfaceHolder()
123 if (eglSurf == null) { in forSurfaceHolder()
124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null); in forSurfaceHolder()
125 mSurfaceSources.put(surfaceHolder, eglSurf); in forSurfaceHolder()
129 checkSurface(mEgl, eglSurf); in forSurfaceHolder()
130 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); in forSurfaceHolder()
131 result.addReferenceTo(eglSurf); in forSurfaceHolder()
139 EGLSurface eglSurf = null; in forSurfaceTexture() local
141 eglSurf = mSurfaceSources.get(surfaceTexture); in forSurfaceTexture()
[all …]