Lines Matching refs:fDisplay

38     fUnixWindow.fDisplay = nullptr;  in SkOSWindow()
49 if (fUnixWindow.fDisplay) { in internalCloseWindow()
52 XFreeGC(fUnixWindow.fDisplay, fUnixWindow.fGc); in internalCloseWindow()
54 XDestroyWindow(fUnixWindow.fDisplay, fUnixWindow.fWin); in internalCloseWindow()
56 XCloseDisplay(fUnixWindow.fDisplay); in internalCloseWindow()
57 fUnixWindow.fDisplay = nullptr; in internalCloseWindow()
67 if (fUnixWindow.fDisplay) { in initWindow()
70 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_SAMPLES_ARB, &info->fSampleCount); in initWindow()
71 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_STENCIL_SIZE, &info->fStencilBits); in initWindow()
79 fUnixWindow.fDisplay = XOpenDisplay(nullptr); in initWindow()
80 Display* dsp = fUnixWindow.fDisplay; in initWindow()
207 Display* dsp = fUnixWindow.fDisplay; in nextXEvent()
266 Display* dsp = fUnixWindow.fDisplay; in loop()
313 SkASSERT(fUnixWindow.fDisplay); in mapWindowAndWait()
314 Display* dsp = fUnixWindow.fDisplay; in mapWindowAndWait()
355 if (nullptr == fUnixWindow.fDisplay) { in attach()
361 fUnixWindow.fGLContext = glXCreateContext(fUnixWindow.fDisplay, in attach()
369 glXMakeCurrent(fUnixWindow.fDisplay, in attach()
382 if (nullptr == fUnixWindow.fDisplay || nullptr == fUnixWindow.fGLContext) { in detach()
385 glXMakeCurrent(fUnixWindow.fDisplay, None, nullptr); in detach()
386 glXDestroyContext(fUnixWindow.fDisplay, fUnixWindow.fGLContext); in detach()
391 if (fUnixWindow.fDisplay && fUnixWindow.fGLContext) { in present()
392 glXSwapBuffers(fUnixWindow.fDisplay, fUnixWindow.fWin); in present()
397 if (nullptr == fUnixWindow.fDisplay) { in onSetTitle()
405 XSetWMName(fUnixWindow.fDisplay, fUnixWindow.fWin, &textProp); in onSetTitle()
427 if (nullptr == fUnixWindow.fDisplay) { in doPaint()
444 XPutImage(fUnixWindow.fDisplay, in doPaint()
460 Display* dsp = fUnixWindow.fDisplay; in makeFullscreen()
485 if (fUnixWindow.fDisplay && fUnixWindow.fGLContext && fUnixWindow.fWin) { in setVsync()
487 glXSwapInterval(fUnixWindow.fDisplay, fUnixWindow.fWin, swapInterval); in setVsync()
492 Display* dsp = fUnixWindow.fDisplay; in closeWindow()