Lines Matching refs:mEglSurface
52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), in SRGBTest()
58 if (mEglSurface != EGL_NO_SURFACE) { in ~SRGBTest()
59 eglDestroySurface(mEglDisplay, mEglSurface); in ~SRGBTest()
234 EGLSurface mEglSurface; member in android::SRGBTest
274 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, in createEGLSurface()
277 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in createEGLSurface()
279 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in createEGLSurface()
376 eglSwapBuffers(mEglDisplay, mEglSurface); in TEST_F()
407 eglSwapBuffers(mEglDisplay, mEglSurface); in TEST_F()
439 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mEglSurface)); in TEST_F()
442 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, in TEST_F()
445 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in TEST_F()
447 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in TEST_F()
454 eglSwapBuffers(mEglDisplay, mEglSurface); in TEST_F()