Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/tritex/
Dtritex.cpp21 EGLSurface eglSurface; variable
147 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
176 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface()
261 eglSwapBuffers(eglDisplay, eglSurface); in render()
264 eglSwapBuffers(eglDisplay, eglSurface); in render()
273 eglSwapBuffers(eglDisplay, eglSurface); in render()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp146 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, in TEST_F() local
149 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
271 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
273 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
275 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
279 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
357 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() local
359 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
361 success = eglQuerySurface(mEglDisplay, eglSurface, EGL_GL_COLORSPACE_KHR, &value); in TEST_F()
365 EXPECT_TRUE(eglDestroySurface(mEglDisplay, eglSurface)); in TEST_F()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp19 EGLSurface eglSurface; variable
243 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
264 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w); in init_gl_surface()
266 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h); in init_gl_surface()
287 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface()
364 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()
694 makeCurrent((mSurfaces.size() > 0) ? mSurfaces.get(0).eglSurface : in configureSurfaces()
695 mConversionSurfaces.get(0).eglSurface); in configureSurfaces()
768 makeCurrent(holder.eglSurface); in drawIntoSurfaces()
[all …]
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp174 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local
176 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
179 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
180 eglDestroySurface(dpy, eglSurface); in TEST_F()
188 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL); in TEST_F() local
189 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
192 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F()
196 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
202 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
209 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp133 EGLSurface eglSurface; in DisplayDevice() local
144 eglSurface = eglCreateWindowSurface(display, config, window, NULL); in DisplayDevice()
145 eglQuerySurface(display, eglSurface, EGL_WIDTH, &mDisplayWidth); in DisplayDevice()
146 eglQuerySurface(display, eglSurface, EGL_HEIGHT, &mDisplayHeight); in DisplayDevice()
160 mSurface = eglSurface; in DisplayDevice()
/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.cpp1631 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) in eglDestroySurface() argument
1635 if (eglSurface != EGL_NO_SURFACE) { in eglDestroySurface()
1636 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglDestroySurface()
1652 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, in eglQuerySurface() argument
1657 egl_surface_t* surface = static_cast<egl_surface_t*>(eglSurface); in eglQuerySurface()