Home
last modified time | relevance | path

Searched refs:x_display (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/Main/
DFrameBufferX11.cpp43 …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()
[all …]
DFrameBufferX11.hpp42 Display *x_display; member in sw::FrameBufferX11
/external/autotest/client/deps/nvmap_compactor/src/
Dnvmap_carveout_compactor.c41 static Display *x_display; variable
559 XDestroyWindow(x_display, win); in CleanupX()
560 XCloseDisplay(x_display); in CleanupX()
579 x_display = XOpenDisplay(NULL); in XInitialize()
580 if (x_display == NULL) { in XInitialize()
585 root = DefaultRootWindow(x_display); in XInitialize()
593 /* connection to x server */ x_display, in XInitialize()
617 xres = XChangeWindowAttributes(x_display, win, CWOverrideRedirect, in XInitialize()
630 atom = XInternAtom(x_display, "_NET_WM_STATE_FULLSCREEN", true); in XInitialize()
634 xres = XSetWMHints(x_display, win, &hints); in XInitialize()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_x11.cc54 Display* display() { return options_.x_display()->display(); } in display()
136 options_.x_display()->RemoveEventHandler(ConfigureNotify, this); in ~ScreenCapturerLinux()
138 options_.x_display()->RemoveEventHandler( in ~ScreenCapturerLinux()
161 options_.x_display()->AddEventHandler(ConfigureNotify, this); in Init()
221 options_.x_display()->AddEventHandler( in InitXDamage()
241 options_.x_display()->ProcessPendingXEvents(); in Capture()
435 if (!options.x_display()) in Create()
Ddesktop_capture_options.h41 SharedXDisplay* x_display() const { return x_display_; } in x_display() function
42 void set_x_display(rtc::scoped_refptr<SharedXDisplay> x_display) { in set_x_display() argument
43 x_display_ = x_display; in set_x_display()
Dmouse_cursor_monitor_x11.cc93 : x_display_(options.x_display()), in MouseCursorMonitorX11()
215 if (!options.x_display()) in CreateForWindow()
217 window = GetTopLevelWindow(options.x_display()->display(), window); in CreateForWindow()
226 if (!options.x_display()) in CreateForScreen()
229 options, DefaultRootWindow(options.x_display()->display())); in CreateForScreen()
Dwindow_capturer_x11.cc137 x_display_(options.x_display()), in WindowCapturerLinux()
431 if (!options.x_display()) in Create()