Lines Matching refs:mDisplay
28 mDisplay(EGL_NO_DISPLAY), in GLHelper()
42 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setUp()
43 if (mDisplay == EGL_NO_DISPLAY) { in setUp()
50 result = eglInitialize(mDisplay, &majorVersion, &minorVersion); in setUp()
66 result = eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, in setUp()
77 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp()
114 if (mDisplay != EGL_NO_DISPLAY) { in tearDown()
115 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
120 eglDestroyContext(mDisplay, mContext); in tearDown()
124 eglDestroySurface(mDisplay, mDummySurface); in tearDown()
127 mDisplay = EGL_NO_DISPLAY; in tearDown()
137 result = eglMakeCurrent(mDisplay, surface, surface, mContext); in makeCurrent()
144 eglQuerySurface(mDisplay, surface, EGL_WIDTH, &w); in makeCurrent()
145 eglQuerySurface(mDisplay, surface, EGL_HEIGHT, &h); in makeCurrent()
171 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
174 eglDestroySurface(mDisplay, *surface); in destroySurface()
180 result = eglSwapBuffers(mDisplay, surface); in swapBuffers()
213 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), nullptr); in createNamedSurfaceTexture()
278 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), nullptr); in createWindowSurface()