Searched refs:eglSurface (Results 1 - 6 of 6) sorted by relevance
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 21 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/tests/gl_basic/ |
H A D | gl_basic.cpp | 19 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/EGLTest/ |
H A D | EGL_test.cpp | 110 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 D | SurfaceTextureClient_test.cpp | 162 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/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 2837 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);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 1572 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);
|
Completed in 186 milliseconds