Lines Matching refs:fDisplay
38 fUnixWindow.fDisplay = NULL;
49 if (fUnixWindow.fDisplay) {
52 XFreeGC(fUnixWindow.fDisplay, fUnixWindow.fGc);
54 XDestroyWindow(fUnixWindow.fDisplay, fUnixWindow.fWin);
56 XCloseDisplay(fUnixWindow.fDisplay);
57 fUnixWindow.fDisplay = NULL;
66 // presence of fDisplay means we already have a window
67 if (fUnixWindow.fDisplay) {
70 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_SAMPLES_ARB, &info->fSampleCount);
71 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_STENCIL_SIZE, &info->fStencilBits);
79 fUnixWindow.fDisplay = XOpenDisplay(NULL);
80 Display* dsp = fUnixWindow.fDisplay;
207 Display* dsp = fUnixWindow.fDisplay;
266 Display* dsp = fUnixWindow.fDisplay;
313 SkASSERT(fUnixWindow.fDisplay);
314 Display* dsp = fUnixWindow.fDisplay;
332 if (NULL == fUnixWindow.fDisplay) {
338 fUnixWindow.fGLContext = glXCreateContext(fUnixWindow.fDisplay,
346 glXMakeCurrent(fUnixWindow.fDisplay,
359 if (NULL == fUnixWindow.fDisplay || NULL == fUnixWindow.fGLContext) {
362 glXMakeCurrent(fUnixWindow.fDisplay, None, NULL);
363 glXDestroyContext(fUnixWindow.fDisplay, fUnixWindow.fGLContext);
368 if (fUnixWindow.fDisplay && fUnixWindow.fGLContext) {
369 glXSwapBuffers(fUnixWindow.fDisplay, fUnixWindow.fWin);
374 if (NULL == fUnixWindow.fDisplay) {
382 XSetWMName(fUnixWindow.fDisplay, fUnixWindow.fWin, &textProp);
404 if (NULL == fUnixWindow.fDisplay) {
421 XPutImage(fUnixWindow.fDisplay,