Lines Matching refs:eglDisplay
29 EGLDisplay eglDisplay; member in EngineContext
34 eglDisplay = EGL_NO_DISPLAY; in EngineContext()
46 …EGL(eglMakeCurrent(engineContext->eglDisplay, engineContext->eglSurface, engineContext->eglSurface… in engine_bind()
55 callerContext->eglDisplay = eglGetCurrentDisplay(); in engine_backup()
79 engineContext->eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in engine_initialize()
83 EGL(eglInitialize(engineContext->eglDisplay, 0, 0)); in engine_initialize()
94 EGL(eglChooseConfig(engineContext->eglDisplay, eglConfigAttribList, &eglConfig, 1, &numConfig)); in engine_initialize()
101 …engineContext->eglContext = eglCreateContext(engineContext->eglDisplay, eglConfig, NULL, eglContex… in engine_initialize()
109 …engineContext->eglSurface = eglCreatePbufferSurface(engineContext->eglDisplay, eglConfig, eglSurfa… in engine_initialize()
111 …eglMakeCurrent(engineContext->eglDisplay, engineContext->eglSurface, engineContext->eglSurface, en… in engine_initialize()
124 EGL(eglMakeCurrent(engineContext->eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in engine_shutdown()
125 EGL(eglDestroySurface(engineContext->eglDisplay, engineContext->eglSurface)); in engine_shutdown()
126 EGL(eglDestroyContext(engineContext->eglDisplay, engineContext->eglContext)); in engine_shutdown()
127 EGL(eglTerminate(engineContext->eglDisplay)); in engine_shutdown()
128 engineContext->eglDisplay = EGL_NO_DISPLAY; in engine_shutdown()