Lines Matching refs:mEgl
59 private EGL10 mEgl;
108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
125 mEgl = (EGL10) EGLContext.getEGL();
126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
131 if (!mEgl.eglInitialize(mEglDisplay, version)) {
137 mEglConfig = chooseConfig(mEgl, mEglDisplay);
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
144 mEglSurface = mEgl.eglCreateWindowSurface(
150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
162 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
163 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
165 mEgl.eglTerminate(mEglDisplay);