Home | History | Annotate | Download | only in tests

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;
1479 mProducerEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig,
1484 mProducerEglContext = eglCreateContext(mEglDisplay, mGlConfig,
1492 eglDestroyContext(mEglDisplay, mProducerEglContext);
1495 eglDestroySurface(mEglDisplay, mProducerEglSurface);
1516 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1523 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1527 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1545 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1548 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1567 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1572 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1590 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1593 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1636 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1639 EXPECT_TRUE(eglSwapInterval(mEglDisplay, 0));
1644 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1648 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1651 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1664 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1681 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1684 EXPECT_TRUE(eglSwapInterval(mEglDisplay, 0));
1689 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1693 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1697 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1714 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1732 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1737 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1741 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1757 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
1769 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1774 EXPECT_TRUE(eglSwapBuffers(mEglDisplay, mProducerEglSurface));
1778 EXPECT_TRUE(eglDestroySurface(mEglDisplay, mProducerEglSurface));
1797 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
1814 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1819 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1829 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1832 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1874 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1880 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1890 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1893 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
1935 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mProducerEglSurface,
1941 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1951 eglSwapBuffers(mEglDisplay, mProducerEglSurface);
1954 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2130 producerThread->setEglObjects(mEglDisplay, mProducerEglSurface,
2284 eglSwapBuffers(mEglDisplay, mEglSurface);
2411 mSecondEglContext = eglCreateContext(mEglDisplay, mGlConfig,
2416 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2423 mThirdEglContext = eglCreateContext(mEglDisplay, mGlConfig,
2428 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2435 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2441 eglDestroyContext(mEglDisplay, mThirdEglContext);
2444 eglDestroyContext(mEglDisplay, mSecondEglContext);
2464 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2534 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
2550 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2580 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2611 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2638 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2707 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
2726 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2734 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2760 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2768 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
2808 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,