Lines Matching refs:fDisplay
42 Display* fDisplay; member in __anone6872b2a0111::GLWindowContext_xlib
53 , fDisplay(winInfo.fDisplay) in GLWindowContext_xlib()
66 SkASSERT(fDisplay); in onInitializeContext()
91 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext()
94 XSync(fDisplay, False); in onInitializeContext()
98 glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext()
105 glXMakeCurrent(fDisplay, None, nullptr); in onInitializeContext()
106 glXDestroyContext(fDisplay, fGLContext); in onInitializeContext()
120 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE); in onInitializeContext()
126 if (!current && !glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext()
134 glXGetConfig(fDisplay, fVisualInfo, GLX_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
135 glXGetConfig(fDisplay, fVisualInfo, GLX_SAMPLES_ARB, &fSampleCount); in onInitializeContext()
141 XGetGeometry(fDisplay, fWindow, &root, &x, &y, (unsigned int*)&fWidth, (unsigned int*)&fHeight, in onInitializeContext()
153 if (!fDisplay || !fGLContext) { in onDestroyContext()
156 glXMakeCurrent(fDisplay, None, nullptr); in onDestroyContext()
157 glXDestroyContext(fDisplay, fGLContext); in onDestroyContext()
162 if (fDisplay && fGLContext) { in onSwapBuffers()
163 glXSwapBuffers(fDisplay, fWindow); in onSwapBuffers()