Lines Matching refs:fDisplay
148 , fDisplay(EGL_NO_DISPLAY) in SkCommandBufferGLContext()
205 fDisplay = gfGetDisplay(EGL_DEFAULT_DISPLAY); in initializeGLContext()
206 if (EGL_NO_DISPLAY == fDisplay) { in initializeGLContext()
211 if (!gfInitialize(fDisplay, nullptr, nullptr)) { in initializeGLContext()
218 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig*>(&fConfig), 1, in initializeGLContext()
226 fSurface = gfCreateWindowSurface(fDisplay, in initializeGLContext()
231 fSurface = gfCreatePbufferSurface(fDisplay, in initializeGLContext()
245 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), nullptr, contextAttribs); in initializeGLContext()
252 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in initializeGLContext()
282 if (EGL_NO_DISPLAY == fDisplay) { in destroyGLContext()
287 gfDestroyContext(fDisplay, fContext); in destroyGLContext()
294 gfMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
297 gfDestroySurface(fDisplay, fSurface); in destroyGLContext()
303 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
310 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
319 if (!gfSwapBuffers(fDisplay, fSurface)) { in onPlatformSwapBuffers()
340 return gfMakeCurrent(fDisplay, fSurface, fSurface, fContext) != EGL_FALSE; in makeCurrent()
345 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_STENCIL_SIZE, &result); in getStencilBits()
351 gfGetConfigAttrib(fDisplay, static_cast<EGLConfig>(fConfig), EGL_SAMPLES, &result); in getSampleCount()