Lines Matching refs:fDisplay
69 , fDisplay(EGL_NO_DISPLAY) in SkANGLEGLContext()
84 fDisplay = GetD3DEGLDisplay(EGL_DEFAULT_DISPLAY, useGLBackend); in SkANGLEGLContext()
85 if (EGL_NO_DISPLAY == fDisplay) { in SkANGLEGLContext()
92 eglInitialize(fDisplay, &majorVersion, &minorVersion); in SkANGLEGLContext()
95 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs); in SkANGLEGLContext()
101 fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in SkANGLEGLContext()
110 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in SkANGLEGLContext()
112 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in SkANGLEGLContext()
145 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, in texture2DToEGLImage()
151 GR_GL_CALL(this->gl(), EGLDestroyImage(fDisplay, image)); in destroyEGLImage()
196 if (fDisplay) { in destroyGLContext()
197 eglMakeCurrent(fDisplay, 0, 0, 0); in destroyGLContext()
200 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
205 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
210 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
215 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
221 if (!eglSwapBuffers(fDisplay, fSurface)) { in onPlatformSwapBuffers()