Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp67 void checkSurfaceSmpteMetadata(EGLSurface eglSurface);
158 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, in TEST_F() local
161 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
284 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
286 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
288 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
292 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
332 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
334 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
341 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/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp161 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local
163 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
166 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
167 eglDestroySurface(dpy, eglSurface); in TEST_F()
175 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() local
176 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
179 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F()
183 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
189 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
196 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()