Searched defs:eglSurface (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp110 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, local
113 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ;
115 // do not destroy eglSurface
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp162 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), local
164 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
167 if (eglSurface != EGL_NO_SURFACE) {
168 eglDestroySurface(dpy, eglSurface);
176 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL); local
177 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
180 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext);
184 success = eglSwapBuffers(mEglDisplay, eglSurface);
190 success = eglSwapBuffers(mEglDisplay, eglSurface);
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp19 EGLSurface eglSurface; variable
242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
263 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w);
265 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h);
286 eglDestroySurface( eglDisplay, eglSurface );
363 eglSwapBuffers(eglDisplay, eglSurface);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp21 EGLSurface eglSurface; variable
146 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
175 eglDestroySurface( eglDisplay, eglSurface );
260 eglSwapBuffers(eglDisplay, eglSurface);
263 eglSwapBuffers(eglDisplay, eglSurface);
272 eglSwapBuffers(eglDisplay, eglSurface);
/frameworks/native/opengl/libagl/
H A Degl.cpp1572 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface) argument
1576 if (eglSurface != EGL_NO_SURFACE) {
1577 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) );
1593 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface eglSurface, argument
1598 egl_surface_t* surface = static_cast<egl_surface_t*>(eglSurface);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2837 EGLSurface eglSurface = eglCreateWindowSurface( local
2839 if (eglSurface == EGL_NO_SURFACE) {
2845 if (!eglMakeCurrent(mEGLDisplay, eglSurface, eglSurface, mEGLContext)) {
2848 eglDestroySurface(mEGLDisplay, eglSurface);
2855 if (eglSwapBuffers(mEGLDisplay, eglSurface) != EGL_TRUE) {
2858 eglDestroySurface(mEGLDisplay, eglSurface);
2862 eglDestroySurface(mEGLDisplay, eglSurface);

Completed in 1504 milliseconds