Home | History | Annotate | Download | only in tests

Lines Matching refs:mEglDisplay

44             mEglDisplay(EGL_NO_DISPLAY),
50 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
52 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
56 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
62 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
94 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
102 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
108 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
118 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
120 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
132 eglSwapBuffers(mEglDisplay, mEglSurface);
140 eglDestroyContext(mEglDisplay, mEglContext);
143 eglDestroySurface(mEglDisplay, mEglSurface);
145 if (mEglDisplay != EGL_NO_DISPLAY) {
146 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
148 eglTerminate(mEglDisplay);
327 EGLDisplay mEglDisplay;
950 EGLSurface stcEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
955 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, stcEglSurface, stcEglSurface,
975 eglSwapBuffers(mEglDisplay, stcEglSurface);
978 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
988 eglDestroySurface(mEglDisplay, stcEglSurface);
1236 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &myConfig,
1240 mProducerEglSurface = eglCreateWindowSurface(mEglDisplay, myConfig,
1245 mProducerEglContext = eglCreateContext(mEglDisplay, myConfig,
1259 eglDestroyContext(mEglDisplay, mProducerEglContext);
1262 eglDestroySurface(mEglDisplay, mProducerEglSurface);
1272 producerThread->setEglObjects(mEglDisplay, mProducerEglSurface,
1424 eglSwapBuffers(mEglDisplay, mEglSurface);