Lines Matching refs:x_display
43 …t height) : FrameBuffer(width, height, false, false), ownX11(!display), x_display(display), x_wind… in FrameBufferX11()
45 if(!x_display) in FrameBufferX11()
47 x_display = libX11->XOpenDisplay(0); in FrameBufferX11()
50 int screen = DefaultScreen(x_display); in FrameBufferX11()
51 x_gc = libX11->XDefaultGC(x_display, screen); in FrameBufferX11()
52 int depth = libX11->XDefaultDepth(x_display, screen); in FrameBufferX11()
54 Status status = libX11->XMatchVisualInfo(x_display, screen, 32, TrueColor, &x_visual); in FrameBufferX11()
56 Visual *visual = match ? x_visual.visual : libX11->XDefaultVisual(x_display, screen); in FrameBufferX11()
58 mit_shm = (libX11->XShmQueryExtension && libX11->XShmQueryExtension(x_display) == True); in FrameBufferX11()
62 x_image = libX11->XShmCreateImage(x_display, visual, depth, ZPixmap, 0, &shminfo, width, height); in FrameBufferX11()
69 libX11->XShmAttach(x_display, &shminfo); // May produce a BadAccess error in FrameBufferX11()
70 libX11->XSync(x_display, False); in FrameBufferX11()
88 …x_image = libX11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, wi… in FrameBufferX11()
104 libX11->XShmDetach(x_display, &shminfo); in ~FrameBufferX11()
112 libX11->XCloseDisplay(x_display); in ~FrameBufferX11()
135 libX11->XPutImage(x_display, x_window, x_gc, x_image, 0, 0, 0, 0, width, height); in blit()
139 libX11->XShmPutImage(x_display, x_window, x_gc, x_image, 0, 0, 0, 0, width, height, False); in blit()
142 libX11->XSync(x_display, False); in blit()