Lines Matching refs:eglSurface
173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() local
175 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
178 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
179 eglDestroySurface(dpy, eglSurface); in TEST_F()
187 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() local
188 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
191 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F()
195 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
201 success = eglSwapBuffers(mEglDisplay, eglSurface); in TEST_F()
208 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
209 eglDestroySurface(mEglDisplay, eglSurface); in TEST_F()