Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp65 void checkSurfaceSmpteMetadata(EGLSurface eglSurface);
156 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, in TEST_F() local
159 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
282 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
284 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
286 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
290 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
330 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
332 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
339 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
[all …]
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp21 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/
Dgl_basic.cpp21 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/
DGLHelper.java124 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/
DSurfaceTextureRenderer.java72 EGLSurface eglSurface; field in SurfaceTextureRenderer.EGLSurfaceHolder
465 holder.eglSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs, in configureEGLOutputSurfaces()
486 holder.eglSurface = in configureEGLPbufferSurfaces()
501 if (holder.eglSurface != null) { in releaseEGLContext()
502 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface); in releaseEGLContext()
508 if (holder.eglSurface != null) { in releaseEGLContext()
509 EGL14.eglDestroySurface(mEGLDisplay, holder.eglSurface); in releaseEGLContext()
726 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces()
727 mConversionSurfaces.get(0).eglSurface); in configureSurfaces()
804 makeCurrent(holder.eglSurface); in drawIntoSurfaces()
[all …]
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local
175 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
178 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
179 eglDestroySurface(dpy, eglSurface); in TEST_F()
187 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() local
188 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
191 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F()
195 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
201 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
208 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java91 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()
/frameworks/native/opengl/libagl/
Degl.cpp1633 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) in eglDestroySurface() argument
1637 if (eglSurface != EGL_NO_SURFACE) { in eglDestroySurface()
1638 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglDestroySurface()
1654 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, in eglQuerySurface() argument
1659 egl_surface_t* surface = static_cast<egl_surface_t*>(eglSurface); in eglQuerySurface()