Lines Matching refs:fDisplay
50 EGLDisplay fDisplay = EGL_NO_DISPLAY; member in __anonc96404080111::ANGLEGLWindowContext_win
66 fDisplay = get_angle_egl_display(dc); in onInitializeContext()
67 if (EGL_NO_DISPLAY == fDisplay) { in onInitializeContext()
73 if (!eglInitialize(fDisplay, &majorVersion, &minorVersion)) { in onInitializeContext()
99 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext()
105 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
110 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
115 if (!eglMakeCurrent(fDisplay, fEGLSurface, fEGLSurface, fEGLContext)) { in onInitializeContext()
145 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
147 eglDestroyContext(fDisplay, fEGLContext); in onDestroyContext()
150 eglDestroySurface(fDisplay, fEGLSurface); in onDestroyContext()
152 if (EGL_NO_DISPLAY != fDisplay) { in onDestroyContext()
153 eglTerminate(fDisplay); in onDestroyContext()
158 if (!eglSwapBuffers(fDisplay, fEGLSurface)) { in onSwapBuffers()