Lines Matching refs:fDisplay
35 Display* fDisplay; member in __anon6a5eb3490111::GLWindowContext_xlib
46 , fDisplay(winInfo.fDisplay) in GLWindowContext_xlib()
59 SkASSERT(fDisplay); in onInitializeContext()
78 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext()
86 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE); in onInitializeContext()
92 if (!glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext()
100 glXGetConfig(fDisplay, fVisualInfo, GLX_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
101 glXGetConfig(fDisplay, fVisualInfo, GLX_SAMPLES_ARB, &fSampleCount); in onInitializeContext()
107 XGetGeometry(fDisplay, fWindow, &root, &x, &y, (unsigned int*)&fWidth, (unsigned int*)&fHeight, in onInitializeContext()
119 if (!fDisplay || !fGLContext) { in onDestroyContext()
122 glXMakeCurrent(fDisplay, None, nullptr); in onDestroyContext()
123 glXDestroyContext(fDisplay, fGLContext); in onDestroyContext()
128 if (fDisplay && fGLContext) { in onSwapBuffers()
129 glXSwapBuffers(fDisplay, fWindow); in onSwapBuffers()