Lines Matching refs:eglSurface
171 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local
173 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
176 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
177 eglDestroySurface(dpy, eglSurface); in TEST_F()
185 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() local
186 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
189 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F()
193 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
199 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
206 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
207 eglDestroySurface(mEglDisplay, eglSurface); in TEST_F()