Lines Matching refs:mDisplay
27 mDisplay(EGL_NO_DISPLAY), in GLHelper()
44 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setUp()
45 if (mDisplay == EGL_NO_DISPLAY) { in setUp()
52 result = eglInitialize(mDisplay, &majorVersion, &minorVersion); in setUp()
68 result = eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, in setUp()
79 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp()
116 if (mDisplay != EGL_NO_DISPLAY) { in tearDown()
117 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
122 eglDestroyContext(mDisplay, mContext); in tearDown()
126 eglDestroySurface(mDisplay, mDummySurface); in tearDown()
129 mDisplay = EGL_NO_DISPLAY; in tearDown()
139 result = eglMakeCurrent(mDisplay, surface, surface, mContext); in makeCurrent()
146 eglQuerySurface(mDisplay, surface, EGL_WIDTH, &w); in makeCurrent()
147 eglQuerySurface(mDisplay, surface, EGL_HEIGHT, &h); in makeCurrent()
173 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
176 eglDestroySurface(mDisplay, *surface); in destroySurface()
182 result = eglSwapBuffers(mDisplay, surface); in swapBuffers()
215 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), nullptr); in createNamedSurfaceTexture()
274 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), nullptr); in createWindowSurface()