Lines Matching refs:fDisplay
52 EGLDisplay fDisplay = EGL_NO_DISPLAY; member in __anonc37780720111::ANGLEGLWindowContext_win
68 fDisplay = get_angle_egl_display(dc); in onInitializeContext()
69 if (EGL_NO_DISPLAY == fDisplay) { in onInitializeContext()
75 if (!eglInitialize(fDisplay, &majorVersion, &minorVersion)) { in onInitializeContext()
101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext()
107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
117 if (!eglMakeCurrent(fDisplay, fEGLSurface, fEGLSurface, fEGLContext)) { in onInitializeContext()
147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
149 eglDestroyContext(fDisplay, fEGLContext); in onDestroyContext()
152 eglDestroySurface(fDisplay, fEGLSurface); in onDestroyContext()
154 if (EGL_NO_DISPLAY != fDisplay) { in onDestroyContext()
155 eglTerminate(fDisplay); in onDestroyContext()
160 if (!eglSwapBuffers(fDisplay, fEGLSurface)) { in onSwapBuffers()