/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 64 void checkSurfaceSmpteMetadata(EGLSurface eglSurface); 155 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, in TEST_F() local 158 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F() 281 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local 283 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 285 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F() 289 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F() 329 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local 331 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 338 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F() [all …]
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 21 EGLSurface eglSurface; variable 143 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 156 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 172 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface() 257 eglSwapBuffers(eglDisplay, eglSurface); in render() 260 eglSwapBuffers(eglDisplay, eglSurface); in render() 269 eglSwapBuffers(eglDisplay, eglSurface); in render()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 21 EGLSurface eglSurface; variable 242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 263 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w); in init_gl_surface() 265 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h); in init_gl_surface() 285 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface() 392 setSurfaceMetadata(eglDisplay, eglSurface); in render() 393 eglSwapBuffers(eglDisplay, eglSurface); in render()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 124 EGLSurface eglSurface = in retrieveTextureSizeFromGL() local 126 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in retrieveTextureSizeFromGL() 134 eglDestroySurface(eglDisplay, eglSurface); in retrieveTextureSizeFromGL()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | SurfaceTextureRenderer.java | 79 EGLSurface eglSurface; field in SurfaceTextureRenderer.EGLSurfaceHolder 472 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces() 493 holder.eglSurface = in configureEGLPbufferSurfaces() 508 if (holder.eglSurface != null) { in releaseEGLContext() 509 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface); in releaseEGLContext() 515 if (holder.eglSurface != null) { in releaseEGLContext() 516 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface); in releaseEGLContext() 740 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces() 741 mConversionSurfaces.get(0).eglSurface); in configureSurfaces() 818 makeCurrent(holder.eglSurface); in drawIntoSurfaces() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 171 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local 173 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 176 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() 177 eglDestroySurface(dpy, eglSurface); in TEST_F() 185 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() local 186 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 189 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F() 193 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F() 199 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F() 206 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); in newTarget() local 92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true); in newTarget() 93 result.addReferenceTo(eglSurface); in newTarget()
|