Lines Matching refs:mDisplay
29 mDisplay(EGL_NO_DISPLAY), in GLHelper()
43 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setUp()
44 if (mDisplay == EGL_NO_DISPLAY) { in setUp()
51 result = eglInitialize(mDisplay, &majorVersion, &minorVersion); in setUp()
67 result = eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, in setUp()
78 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp()
115 if (mDisplay != EGL_NO_DISPLAY) { in tearDown()
116 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
121 eglDestroyContext(mDisplay, mContext); in tearDown()
125 eglDestroySurface(mDisplay, mDummySurface); in tearDown()
128 mDisplay = EGL_NO_DISPLAY; in tearDown()
138 result = eglMakeCurrent(mDisplay, surface, surface, mContext); in makeCurrent()
145 eglQuerySurface(mDisplay, surface, EGL_WIDTH, &w); in makeCurrent()
146 eglQuerySurface(mDisplay, surface, EGL_HEIGHT, &h); in makeCurrent()
172 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
175 eglDestroySurface(mDisplay, *surface); in destroySurface()
181 result = eglSwapBuffers(mDisplay, surface); in swapBuffers()
214 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); in createNamedSurfaceTexture()
293 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); in createWindowSurface()