Home
last modified time | relevance | path

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

12345678

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Main/
H A DFrameBufferX11.cpp47 if(!x_display) in FrameBufferX11()
49 x_display = libX11->XOpenDisplay(0); in FrameBufferX11()
50 assert(x_display); in FrameBufferX11()
53 int screen = DefaultScreen(x_display); in FrameBufferX11()
54 x_gc = libX11->XDefaultGC(x_display, screen); in FrameBufferX11()
55 int depth = libX11->XDefaultDepth(x_display, screen); in FrameBufferX11()
73 libX11->XShmAttach(x_display, &shminfo); // May produce a BadAccess error in FrameBufferX11()
74 libX11->XSync(x_display, False); in FrameBufferX11()
114 libX11->XShmDetach(x_display, &shminfo); in ~FrameBufferX11()
122 libX11->XCloseDisplay(x_display); in ~FrameBufferX11()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Main/
H A DFrameBufferX11.cpp47 if(!x_display) in FrameBufferX11()
49 x_display = libX11->XOpenDisplay(0); in FrameBufferX11()
50 assert(x_display); in FrameBufferX11()
53 int screen = DefaultScreen(x_display); in FrameBufferX11()
54 x_gc = libX11->XDefaultGC(x_display, screen); in FrameBufferX11()
55 int depth = libX11->XDefaultDepth(x_display, screen); in FrameBufferX11()
73 libX11->XShmAttach(x_display, &shminfo); // May produce a BadAccess error in FrameBufferX11()
74 libX11->XSync(x_display, False); in FrameBufferX11()
114 libX11->XShmDetach(x_display, &shminfo); in ~FrameBufferX11()
122 libX11->XCloseDisplay(x_display); in ~FrameBufferX11()
[all …]
/dports/games/zoom/zoom-1.1.5/src/
H A Dxdisplay.c66 Display* x_display; variable
244 if (!XAllocColor(x_display, DefaultColormap(x_display, x_screen), in xdisplay_get_pixel_value()
303 if (!XftColorAllocValue(x_display, DefaultVisual(x_display, x_screen), in alloc_xft_colours()
360 if (!XftColorAllocValue(x_display, DefaultVisual(x_display, x_screen), in xdisplay_get_xft_colour()
774 if (!XAllocColor(x_display, DefaultColormap(x_display, x_screen), in draw_scrollbar()
1659 !XPending(x_display)) in process_events()
1666 if (XPending(x_display)) in process_events()
2592 …x_picformat = XRenderFindVisualFormat(x_display, DefaultVisual(x_display, DefaultScreen(x_display)… in display_initialise()
2760 XFreeColors(x_display, DefaultColormap(x_display, x_screen), in display_reinitialise()
2838 XCloseDisplay(x_display); in display_finalise()
[all …]
H A Dxfont.c112 XFillPolygon(x_display, in plot_font_3()
133 T1_SetX11Params(x_display, DefaultVisual(x_display, x_screen), in xfont_initialise()
134 DefaultDepth(x_display, x_screen), in xfont_initialise()
135 DefaultColormap(x_display, x_screen)); in xfont_initialise()
197 f->data.X = XLoadQueryFont(x_display, "8x13"); in xfont_load_font()
230 f->data.Xft = XftFontOpenPattern(x_display, match); in xfont_load_font()
250 f->data.X = XLoadQueryFont(x_display, font); in xfont_load_font()
254 f->data.X = XLoadQueryFont(x_display, "8x13"); in xfont_load_font()
268 XFreeFont(x_display, f->data.X); in xfont_release_font()
272 XftFontClose(x_display, f->data.Xft); in xfont_release_font()
[all …]
/dports/emulators/vice/vice-3.5/src/arch/gtk3/
H A Dopengl_renderer_unix.c64 glXSwapBuffers(context->x_display, context->x_overlay_window); in vice_opengl_renderer_present_backbuffer()
69 glXMakeCurrent(context->x_display, None, NULL); in vice_opengl_renderer_clear_current()
123 …*framebuffer_configs = vice_glXChooseFBConfig(context->x_display, DefaultScreen(context->x_display in vice_opengl_renderer_create_child_view()
142 context->x_display, in vice_opengl_renderer_create_child_view()
152 context->x_display, in vice_opengl_renderer_create_child_view()
162 XMapWindow(context->x_display, context->x_overlay_window); in vice_opengl_renderer_create_child_view()
168 …ar *glx_extensions = glXQueryExtensionsString(context->x_display, DefaultScreen(context->x_display in vice_opengl_renderer_create_child_view()
197 XSync(context->x_display, False); in vice_opengl_renderer_create_child_view()
218 XSync(context->x_display, False); in vice_opengl_renderer_create_child_view()
240 if (!glXIsDirect(context->x_display, context->gl_context)) { in vice_opengl_renderer_create_child_view()
[all …]
/dports/net-im/toxic/toxic-0.11.3/src/
H A Dvideo_device.c89 Display *x_display; member
537 …if (!(device->x_window = XCreateSimpleWindow(device->x_display, RootWindow(device->x_display, scre… in open_video_device()
561 XFlush(device->x_display); in open_video_device()
585 …if (!(device->x_window = XCreateSimpleWindow(device->x_display, RootWindow(device->x_display, scre… in open_video_device()
608 XFlush(device->x_display); in open_video_device()
676 XFreePixmap(device->x_display, pixmap); in write_video_out()
677 XFlush(device->x_display); in write_video_out()
839 XFlush(device->x_display); in close_video_device()
840 XCloseDisplay(device->x_display); in close_video_device()
851 XFlush(device->x_display); in close_video_device()
[all …]
/dports/www/links/links-2.25/
H A Dx.c299 XFlush(x_display); in x_do_flush()
1096 if (x_display) { in x_free_hash_table()
1106 XCloseDisplay(x_display), x_display = NULL; in x_free_hash_table()
1822 x_display, in x_init_driver()
1984 x_display, in x_init_device()
2450 x_display, in x_fill_area()
2472 x_display, in x_draw_hline()
2494 x_display, in x_draw_vline()
2646 x_display, in x_scroll()
2929 x_display, in x_get_clipboard_text()
[all …]
/dports/chinese/pcmanx/pcmanx-gtk2-1.3/src/notifier/
H A Dworking_area.c34 Display *x_display; in gf_display_get_workarea() local
51 x_display = gdk_x11_display_get_xdisplay(g_display); in gf_display_get_workarea()
52 if(!x_display) in gf_display_get_workarea()
69 xa_desktops = XInternAtom(x_display, "_NET_NUMBER_OF_DESKTOPS", True); in gf_display_get_workarea()
74 if(XGetWindowProperty(x_display, x_root, xa_desktops, 0, 1, False, in gf_display_get_workarea()
87 xa_current = XInternAtom(x_display, "_NET_CURRENT_DESKTOP", True); in gf_display_get_workarea()
92 if(XGetWindowProperty(x_display, x_root, xa_current, 0, 1, False, in gf_display_get_workarea()
106 xa_workarea = XInternAtom(x_display, "_NET_WORKAREA", True); in gf_display_get_workarea()
110 if(XGetWindowProperty(x_display, x_root, xa_workarea, 0, (glong)(4 * 32), in gf_display_get_workarea()
/dports/graphics/gpicview/gpicview-0.2.5/src/
H A Dworking-area.c35 Display *x_display; in gf_display_get_workarea() local
51 x_display = gdk_x11_display_get_xdisplay(g_display); in gf_display_get_workarea()
52 if(!x_display) in gf_display_get_workarea()
64 xa_desktops = XInternAtom(x_display, "_NET_NUMBER_OF_DESKTOPS", True); in gf_display_get_workarea()
69 if(XGetWindowProperty(x_display, x_root, xa_desktops, 0, 1, False, in gf_display_get_workarea()
83 xa_current = XInternAtom(x_display, "_NET_CURRENT_DESKTOP", True); in gf_display_get_workarea()
88 if(XGetWindowProperty(x_display, x_root, xa_current, 0, 1, False, in gf_display_get_workarea()
102 xa_workarea = XInternAtom(x_display, "_NET_WORKAREA", True); in gf_display_get_workarea()
106 if(XGetWindowProperty(x_display, x_root, xa_workarea, 0, (glong)(4 * 32), in gf_display_get_workarea()
/dports/games/xinfocom/xinfocom/
H A Dwio_unix.c104 #define x_display XtDisplay(toplevel) macro
113 int x_screen = DefaultScreen(x_display); in alloc_colours()
196 XSetForeground(x_display, gc, back); in print_text()
198 XSetForeground(x_display, gc, fore); in print_text()
199 XSetBackground(x_display, gc, back); in print_text()
208 XSetForeground(x_display, gc, back); in wipe_area()
319 XSetForeground(x_display, gc, appdata.fore); in repaint_cursor()
322 XSetFunction(x_display, gc, GXinvert); in repaint_cursor()
329 XSetFunction(x_display, gc, GXcopy); in repaint_cursor()
355 XFillRectangle(x_display, x_window, gc, 0, in repaint_border()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/glbook/Common/
H A DesUtil.c35 static Display *x_display = NULL; variable
128 x_display = XOpenDisplay(NULL); in WinCreate()
129 if ( x_display == NULL ) in WinCreate()
134 root = DefaultRootWindow(x_display); in WinCreate()
138 x_display, root, in WinCreate()
152 XMapWindow (x_display, win); in WinCreate()
153 XStoreName (x_display, win, title); in WinCreate()
166 x_display, in WinCreate()
167 DefaultRootWindow ( x_display ), in WinCreate()
191 while ( XPending ( x_display ) ) in userInterrupt()
[all …]
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/gl/
H A Dxlib.py54 x_display = canvas.display._display
57 info = glx_info.GLXInfo(x_display)
143 x_display = canvas.display._display
147 x_display, x_screen, attrib_list)
189 x_display = canvas.display._display
195 x_display, self._fbconfig, attr, byref(value))
213 self.x_display = config.canvas.display._display
294 glx.glXMakeCurrent(self.x_display, 0, None)
300 glx.glXDestroyContext(self.x_display, self.glx_context)
356 glx.glXMakeContextCurrent(self.x_display, 0, 0, None)
[all …]
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/gl/
H A Dxlib.py54 x_display = canvas.display._display
57 info = glx_info.GLXInfo(x_display)
143 x_display = canvas.display._display
147 x_display, x_screen, attrib_list)
189 x_display = canvas.display._display
195 x_display, self._fbconfig, attr, byref(value))
213 self.x_display = config.canvas.display._display
294 glx.glXMakeCurrent(self.x_display, 0, None)
300 glx.glXDestroyContext(self.x_display, self.glx_context)
356 glx.glXMakeContextCurrent(self.x_display, 0, 0, None)
[all …]
/dports/games/flightgear/flightgear-2020.3.11/utils/fgpanel/
H A DGLES_utils.cxx256 state.x_display = XOpenDisplay (NULL); in init_display()
257 assert (state.x_display != NULL); in init_display()
259 root = DefaultRootWindow (state.x_display); in init_display()
262 win = XCreateWindow (state.x_display, in init_display()
280 XSetWMHints (state.x_display, win, &hints); in init_display()
283 XMapWindow (state.x_display, win); in init_display()
284 XStoreName (state.x_display, win, title.c_str ()); in init_display()
287 wm_state = XInternAtom (state.x_display, "_NET_WM_STATE", false); in init_display()
296 …XSendEvent (state.x_display, DefaultRootWindow (state.x_display), false, SubstructureNotifyMask, &… in init_display()
309 while (XPending (m_State.x_display)) { in user_interrupt()
[all …]
/dports/lang/yorick/yorick-y_2_2_04/play/x11/
H A Dplaywin.h26 typedef struct x_display x_display; typedef
27 struct x_display { struct
30 x_display *next; /* list of all servers */ argument
66 extern x_display *x_displays; argument
70 x_display *xdpy; /* may be accessing multiple screens on server */
H A Dplayx.h25 extern x_display *x_dpy(Display *dpy);
26 extern p_win *x_pwin(x_display *xdpy, Drawable d);
36 extern void (*x_wire_events)(x_display *xdpy, int disconnect);
39 extern XFontStruct *x_font(x_display *xdpy, int font, int pixsize);
H A Dconnect.c23 static void x_disconnect(x_display *xdpy);
26 x_display *x_displays = 0;
31 x_display *xdpy = other->xdpy; in p_multihead()
42 x_display *xdpy; in p_connect()
55 xdpy = p_malloc(sizeof(x_display)); in p_connect()
175 x_display *
182 x_display *xdpy; in x_dpy()
196 x_disconnect(x_display *xdpy) in x_disconnect()
208 x_display **pxdpy = &x_displays; in x_disconnect()
497 x_display *xdpy = s->xdpy; in p_disconnect()
[all …]
/dports/editors/lazarus/lazarus/components/aggpas/src/platform/linux/
H A Dagg_platform_support.pas2274 x_display : PDisplay;
2362 x_display:=XOpenDisplay(NIL );
2364 if x_display <> NIL then
2368 x_display ,
2413 x_display ,
2417 XFlush(x_display );
2422 XFlush(x_display );
2423 XSync (x_display ,true );
2446 XFlush(x_display );
2447 XSync (x_display ,true );
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/platform/linux/
H A Dagg_platform_support.pas2274 x_display : PDisplay;
2362 x_display:=XOpenDisplay(NIL );
2364 if x_display <> NIL then
2368 x_display ,
2413 x_display ,
2417 XFlush(x_display );
2422 XFlush(x_display );
2423 XSync (x_display ,true );
2446 XFlush(x_display );
2447 XSync (x_display ,true );
[all …]
/dports/editors/lazarus-qt5/lazarus/components/aggpas/src/platform/linux/
H A Dagg_platform_support.pas2274 x_display : PDisplay;
2362 x_display:=XOpenDisplay(NIL );
2364 if x_display <> NIL then
2368 x_display ,
2413 x_display ,
2417 XFlush(x_display );
2422 XFlush(x_display );
2423 XSync (x_display ,true );
2446 XFlush(x_display );
2447 XSync (x_display ,true );
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/platform/linux/
H A Dagg_platform_support.pas2274 x_display : PDisplay;
2362 x_display:=XOpenDisplay(NIL );
2364 if x_display <> NIL then
2368 x_display ,
2413 x_display ,
2417 XFlush(x_display );
2422 XFlush(x_display );
2423 XSync (x_display ,true );
2446 XFlush(x_display );
2447 XSync (x_display ,true );
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/
H A Dscreen_capturer_x11.cc45 options_.x_display()->RemoveEventHandler(ConfigureNotify, this); in ~ScreenCapturerX11()
47 options_.x_display()->RemoveEventHandler(damage_event_base_ + XDamageNotify, in ~ScreenCapturerX11()
51 options_.x_display()->RemoveEventHandler( in ~ScreenCapturerX11()
77 options_.x_display()->AddEventHandler(ConfigureNotify, this); in Init()
143 options_.x_display()->AddEventHandler(damage_event_base_ + XDamageNotify, in InitXDamage()
173 options_.x_display()->AddEventHandler( in InitXrandr()
234 options_.x_display()->ProcessPendingXEvents(); in CaptureFrame()
281 options_.x_display()->ProcessPendingXEvents(); in GetSourceList()
469 if (!options.x_display()) in CreateRawScreenCapturer()
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/desktop_capture/linux/
H A Dscreen_capturer_x11.cc44 options_.x_display()->RemoveEventHandler(ConfigureNotify, this); in ~ScreenCapturerX11()
46 options_.x_display()->RemoveEventHandler(damage_event_base_ + XDamageNotify, in ~ScreenCapturerX11()
50 options_.x_display()->RemoveEventHandler( in ~ScreenCapturerX11()
76 options_.x_display()->AddEventHandler(ConfigureNotify, this); in Init()
142 options_.x_display()->AddEventHandler(damage_event_base_ + XDamageNotify, in InitXDamage()
165 options_.x_display()->AddEventHandler( in InitXrandr()
223 options_.x_display()->ProcessPendingXEvents(); in CaptureFrame()
270 options_.x_display()->ProcessPendingXEvents(); in GetSourceList()
458 if (!options.x_display()) in CreateRawScreenCapturer()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/desktop_capture/linux/
H A Dscreen_capturer_x11.cc45 options_.x_display()->RemoveEventHandler(ConfigureNotify, this); in ~ScreenCapturerX11()
47 options_.x_display()->RemoveEventHandler(damage_event_base_ + XDamageNotify, in ~ScreenCapturerX11()
51 options_.x_display()->RemoveEventHandler( in ~ScreenCapturerX11()
77 options_.x_display()->AddEventHandler(ConfigureNotify, this); in Init()
143 options_.x_display()->AddEventHandler(damage_event_base_ + XDamageNotify, in InitXDamage()
173 options_.x_display()->AddEventHandler( in InitXrandr()
234 options_.x_display()->ProcessPendingXEvents(); in CaptureFrame()
281 options_.x_display()->ProcessPendingXEvents(); in GetSourceList()
469 if (!options.x_display()) in CreateRawScreenCapturer()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/desktop_capture/linux/
H A Dscreen_capturer_x11.cc45 options_.x_display()->RemoveEventHandler(ConfigureNotify, this); in ~ScreenCapturerX11()
47 options_.x_display()->RemoveEventHandler(damage_event_base_ + XDamageNotify, in ~ScreenCapturerX11()
51 options_.x_display()->RemoveEventHandler( in ~ScreenCapturerX11()
77 options_.x_display()->AddEventHandler(ConfigureNotify, this); in Init()
143 options_.x_display()->AddEventHandler(damage_event_base_ + XDamageNotify, in InitXDamage()
173 options_.x_display()->AddEventHandler( in InitXrandr()
234 options_.x_display()->ProcessPendingXEvents(); in CaptureFrame()
281 options_.x_display()->ProcessPendingXEvents(); in GetSourceList()
469 if (!options.x_display()) in CreateRawScreenCapturer()

12345678