Lines Matching refs:fDisplay
27 , fDisplay(EGL_NO_DISPLAY) in SkNativeGLContext()
36 if (fDisplay) { in destroyGLContext()
37 eglMakeCurrent(fDisplay, 0, 0, 0); in destroyGLContext()
40 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
45 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
50 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
87 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in createGLContext()
91 eglInitialize(fDisplay, &majorVersion, &minorVersion); in createGLContext()
94 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in createGLContext()
95 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in createGLContext()
96 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in createGLContext()
97 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in createGLContext()
116 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in createGLContext()
121 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, kAPIs[api].fContextAttribs); in createGLContext()
133 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, kSurfaceAttribs); in createGLContext()
140 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in createGLContext()
164 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
170 if (!eglSwapBuffers(fDisplay, fSurface)) { in swapBuffers()