Lines Matching refs:mEglDisplay
160 mEglDisplay = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, in Init()
163 ASSERT_TRUE(mEglDisplay != EGL_NO_DISPLAY); in Init()
165 ASSERT_EGL_TRUE(eglInitialize(mEglDisplay, nullptr, nullptr)); in Init()
169 ASSERT_EGL_TRUE(eglGetConfigs(mEglDisplay, nullptr, 0, &nConfigs)); in Init()
172 ASSERT_EGL_TRUE(eglChooseConfig(mEglDisplay, configAttributes, &mEglConfig, 1, &nConfigs)); in Init()
178 auto displayExtensions = eglQueryString(mEglDisplay, EGL_EXTENSIONS); in CreateSurface()
187 eglCreateWindowSurface(mEglDisplay, mEglConfig, in CreateSurface()
191 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, contextAttributes); in CreateSurface()
194 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, surface, surface, mEglContext) != EGL_FALSE); in CreateSurface()
203 ASSERT_EGL_TRUE(eglTerminate(mEglDisplay)); in testTearDown()
215 EGLDisplay mEglDisplay; member in EGLDirectCompositionTest
237 eglQuerySurface(mEglDisplay, s, EGL_WIDTH, &surfacewidth); in TEST_P()
238 eglQuerySurface(mEglDisplay, s, EGL_HEIGHT, &surfaceheight); in TEST_P()
250 ASSERT_EGL_TRUE(eglDestroySurface(mEglDisplay, s)); in TEST_P()
251 ASSERT_EGL_TRUE(eglDestroyContext(mEglDisplay, mEglContext)); in TEST_P()
272 ASSERT_EGL_TRUE(eglSwapBuffers(mEglDisplay, s)); in TEST_P()
294 ASSERT_EGL_TRUE(eglDestroySurface(mEglDisplay, s)); in TEST_P()
295 ASSERT_EGL_TRUE(eglDestroyContext(mEglDisplay, mEglContext)); in TEST_P()