Lines Matching refs:mEGLDisplay
30 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; field in EGLWindowSurface
51 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in eglSetup()
52 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in eglSetup()
56 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { in eglSetup()
57 mEGLDisplay = null; in eglSetup()
72 if (!EGL14.eglChooseConfig(mEGLDisplay, attribList, 0, mConfigs, 0, mConfigs.length, in eglSetup()
82 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, mConfigs[0], EGL14.EGL_NO_CONTEXT, in eglSetup()
98 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface()
111 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0); in getWidth()
120 EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_HEIGHT, value, 0); in getHeight()
140 EGL14.eglDestroySurface(mEGLDisplay, mEGLSurface); in release()
141 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in release()
142 EGL14.eglDestroyContext(mEGLDisplay, mEGLContext); in release()
144 EGL14.eglTerminate(mEGLDisplay); in release()
147 mEGLDisplay = EGL14.EGL_NO_DISPLAY; in release()
158 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { in makeCurrent()
167 return EGL14.eglSwapBuffers(mEGLDisplay, mEGLSurface); in swapBuffers()
174 EGLExt.eglPresentationTimeANDROID(mEGLDisplay, mEGLSurface, nsecs); in setPresentationTime()