Lines Matching refs:mEglDisplay

91         mOffscreen(offscreen), mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE),  in Renderer()
97 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in eglSetUp()
98 EGL_RESULT_CHECK(mEglDisplay != EGL_NO_DISPLAY); in eglSetUp()
102 EGL_RESULT_CHECK(eglInitialize(mEglDisplay, &major, &minor)); in eglSetUp()
105 EGL_RESULT_CHECK(eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs) in eglSetUp()
108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, mWindow, NULL); in eglSetUp()
111 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, contextAttribs); in eglSetUp()
114 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in eglSetUp()
115 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &mWidth)); in eglSetUp()
116 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight)); in eglSetUp()
123 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in eglTearDown()
126 eglDestroyContext(mEglDisplay, mEglContext); in eglTearDown()
134 if (mEglDisplay != EGL_NO_DISPLAY) { in eglTearDown()
135 eglTerminate(mEglDisplay); in eglTearDown()
136 mEglDisplay = EGL_NO_DISPLAY; in eglTearDown()
143 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in setUp()
229 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in draw()
292 EGL_RESULT_CHECK(eglSwapBuffers(mEglDisplay, mEglSurface)); in draw()