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()
58 engineContext->eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in engine_initialize()
62 EGL(eglInitialize(engineContext->eglDisplay, 0, 0)); in engine_initialize()
73 EGL(eglChooseConfig(engineContext->eglDisplay, eglConfigAttribList, &eglConfig, 1, &numConfig)); in engine_initialize()
80 …engineContext->eglContext = eglCreateContext(engineContext->eglDisplay, eglConfig, NULL, eglContex… in engine_initialize()
88 …engineContext->eglSurface = eglCreatePbufferSurface(engineContext->eglDisplay, eglConfig, eglSurfa… in engine_initialize()
90 …eglMakeCurrent(engineContext->eglDisplay, engineContext->eglSurface, engineContext->eglSurface, en… in engine_initialize()
103 EGL(eglMakeCurrent(engineContext->eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in engine_shutdown()
104 EGL(eglDestroySurface(engineContext->eglDisplay, engineContext->eglSurface)); in engine_shutdown()
105 EGL(eglDestroyContext(engineContext->eglDisplay, engineContext->eglContext)); in engine_shutdown()
106 EGL(eglTerminate(engineContext->eglDisplay)); in engine_shutdown()
107 engineContext->eglDisplay = EGL_NO_DISPLAY; in engine_shutdown()