• Home
  • Raw
  • Download

Lines Matching refs:fDisplay

42     Display*     fDisplay;  member in __anon245f4a730111::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()
130 const char* glxExtensions = glXQueryExtensionsString(fDisplay, DefaultScreen(fDisplay)); in onInitializeContext()
136 glXSwapIntervalEXT(fDisplay, fWindow, fDisplayParams.fDisableVsync ? 0 : 1); in onInitializeContext()
145 glXGetConfig(fDisplay, fVisualInfo, GLX_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
146 glXGetConfig(fDisplay, fVisualInfo, GLX_SAMPLES_ARB, &fSampleCount); in onInitializeContext()
152 XGetGeometry(fDisplay, fWindow, &root, &x, &y, (unsigned int*)&fWidth, (unsigned int*)&fHeight, in onInitializeContext()
164 if (!fDisplay || !fGLContext) { in onDestroyContext()
167 glXMakeCurrent(fDisplay, None, nullptr); in onDestroyContext()
168 glXDestroyContext(fDisplay, fGLContext); in onDestroyContext()
173 if (fDisplay && fGLContext) { in onSwapBuffers()
174 glXSwapBuffers(fDisplay, fWindow); in onSwapBuffers()