Lines Matching refs:mEglDisplay
313 mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
315 ASSERT(EGL_NO_DISPLAY != mEglDisplay); in initialize()
319 ASSERT(eglInitialize(mEglDisplay, &majorVersion, &minorVersion)); in initialize()
323 ASSERT(eglChooseConfig(mEglDisplay, getConfigAttribs(), &mGlConfig, in initialize()
343 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, in initialize()
350 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, in initialize()
356 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in initialize()
361 ASSERT(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, in initialize()
366 ASSERT(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); in initialize()
368 ASSERT(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); in initialize()
381 eglDestroyContext(mEglDisplay, mEglContext); in deinit()
385 eglDestroySurface(mEglDisplay, mEglSurface); in deinit()
387 if (mEglDisplay != EGL_NO_DISPLAY) { in deinit()
388 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in deinit()
390 eglTerminate(mEglDisplay); in deinit()
618 eglSwapBuffers(mEglDisplay, mEglSurface); in drawTexture()