Lines Matching refs:mDisplay
239 mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
240 if (mDisplay == EGL_NO_DISPLAY) { in initialize()
247 if (!eglInitialize(mDisplay, &major, &minor)) { in initialize()
265 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
272 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mFlingerSurface.get(), nullptr); in initialize()
282 mContext = eglCreateContext(mDisplay, egl_config, EGL_NO_CONTEXT, context_attribs); in initialize()
290 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
324 eglDestroyImageKHR(mDisplay, mKHRimage); in shutdown()
329 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdown()
330 eglDestroySurface(mDisplay, mSurface); in shutdown()
331 eglDestroyContext(mDisplay, mContext); in shutdown()
332 eglTerminate(mDisplay); in shutdown()
335 mDisplay = EGL_NO_DISPLAY; in shutdown()
389 mKHRimage = eglCreateImageKHR(mDisplay, mContext, in updateImageTexture()
393 mKHRimage = eglCreateImageKHR(mDisplay, EGL_NO_CONTEXT, in updateImageTexture()
462 eglSwapBuffers(mDisplay, mSurface); in renderImageToScreen()