Lines Matching defs:mEglDisplay
47 mEglDisplay(EGL_NO_DISPLAY),
58 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
60 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay);
64 EXPECT_TRUE(eglInitialize(mEglDisplay, &majorVersion, &minorVersion));
70 EXPECT_TRUE(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig,
102 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
110 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig,
116 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT,
121 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
126 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w));
128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h));
140 eglSwapBuffers(mEglDisplay, mEglSurface);
148 eglDestroyContext(mEglDisplay, mEglContext);
151 eglDestroySurface(mEglDisplay, mEglSurface);
153 if (mEglDisplay != EGL_NO_DISPLAY) {
154 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
156 eglTerminate(mEglDisplay);
282 EGLDisplay mEglDisplay;
1487 mProducerEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
1492 mProducerEglContext = eglCreateContext(mEglDisplay, mGlConfig,
1500 eglDestroyContext(mEglDisplay, mProducerEglContext);
1503 eglDestroySurface(mEglDisplay, mProducerEglSurface);
1524 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1531 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1535 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1553 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1556 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1575 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1580 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1598 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1601 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1644 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1647 EXPECT_TRUE(eglSwapInterval(mEglDisplay, 0));
1652 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1656 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1659 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1672 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1689 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1692 EXPECT_TRUE(eglSwapInterval(mEglDisplay, 0));
1697 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1701 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1705 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1722 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1740 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1745 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1749 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1765 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
1777 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1782 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1786 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1805 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
1820 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1824 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1828 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1848 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1853 mEglDisplay, mProducerEglSurface);
1863 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1866 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1908 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1914 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1924 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1927 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1969 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1975 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1985 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1988 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2164 producerThread->setEglObjects(mEglDisplay, mProducerEglSurface,
2319 eglSwapBuffers(mEglDisplay, mEglSurface);
2446 mSecondEglContext = eglCreateContext(mEglDisplay, mGlConfig,
2451 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2458 mThirdEglContext = eglCreateContext(mEglDisplay, mGlConfig,
2463 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2470 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2476 eglDestroyContext(mEglDisplay, mThirdEglContext);
2479 eglDestroyContext(mEglDisplay, mSecondEglContext);
2499 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2569 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
2585 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2615 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2646 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2673 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2742 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
2761 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2769 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2795 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2803 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2844 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,