Lines Matching refs:mEgl
68 private EGL10 mEgl;
135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
145 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) ||
146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) {
147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
149 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
155 mEgl = (EGL10) EGLContext.getEGL();
157 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
160 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
164 if (!mEgl.eglInitialize(mEglDisplay, version)) {
166 GLUtils.getEGLErrorString(mEgl.eglGetError()));
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null);
179 int error = mEgl.eglGetError();
188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
190 + GLUtils.getEGLErrorString(mEgl.eglGetError()));
195 mEgl.eglDestroyContext(mEglDisplay, mEglContext);
196 mEgl.eglDestroySurface(mEglDisplay, mEglSurface);
208 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) {
210 GLUtils.getEGLErrorString(mEgl.eglGetError()));
283 int error = mEgl.eglGetError();