Home
last modified time | relevance | path

Searched refs:visual_depth (Results 1 – 25 of 55) sorted by relevance

123

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/glx/
H A Dglx-fbconfig-compliance.c148 int visual_depth; in main() local
173 visual_depth = get_max_visual_depth(dpy, 1); in main()
174 if (!visual_depth) in main()
179 visual_depth, 1); in main()
182 visual_depth = get_max_visual_depth(dpy, 0); in main()
183 if (visual_depth) { in main()
202 visual_depth, 0); in main()
/dports/x11-wm/picom/picom-8.2/src/backend/gl/
H A Dglx.c61 m.blue_size, m.green_size, m.alpha_size, m.visual_depth); in glx_find_fbconfig()
117 if (m.visual_depth != -1 && in glx_find_fbconfig()
119 m.visual_depth) { in glx_find_fbconfig()
373 if (fmt.visual_depth > OPENGL_MAX_DEPTH) { in glx_bind_pixmap()
375 fmt.visual_depth, OPENGL_MAX_DEPTH); in glx_bind_pixmap()
379 if (fmt.visual_depth < 0) { in glx_bind_pixmap()
380 log_error("Pixmap %#010x with invalid depth %d", pixmap, fmt.visual_depth); in glx_bind_pixmap()
412 log_debug("depth %d, rgba %d", fmt.visual_depth, in glx_bind_pixmap()
H A Dglx.h41 int visual_depth; member
/dports/x11/xscreensaver/xscreensaver-5.44/utils/
H A Dvisual.c123 if (result && visual_depth(screen, result) <= 1) in get_visual()
194 visual_depth (screen, visual) >= 16) in pick_best_visual()
200 (!color_only || visual_depth(screen, visual) > 1)) \ in pick_best_visual()
214 if (!color_only || visual_depth(screen, visual) > 1) in pick_best_visual()
376 visual_depth (Screen *screen, Visual *visual) in visual_depth() function
411 int vdepth = visual_depth (screen, visual); in visual_pixmap_depth()
514 vi_in.depth = visual_depth (screen, old_visual); in find_similar_visual()
H A Dvisual.h17 extern int visual_depth (Screen *, Visual *);
H A Dlogo.c43 int depth = visual_depth (screen, visual); in xscreensaver_logo()
/dports/x11-clocks/xdaliclock/xdaliclock-2.44/X11/
H A Dvisual.c133 if (result && visual_depth(screen, result) <= 1) in get_visual()
204 visual_depth (screen, visual) >= 16) in pick_best_visual()
210 (!color_only || visual_depth(screen, visual) > 1)) \ in pick_best_visual()
224 if (!color_only || visual_depth(screen, visual) > 1) in pick_best_visual()
372 visual_depth (Screen *screen, Visual *visual) in visual_depth() function
400 int vdepth = visual_depth (screen, visual);
526 vi_in.depth = visual_depth (screen, old_visual); in find_similar_visual()
H A Dvisual.h17 extern int visual_depth (Screen *, Visual *);
/dports/news/knews/knews-1.0b.1/src/
H A Dcolor.c69 char *visual_depth = NULL; in color_init() local
78 visual_depth = get_resource(db, "visualDepth", "VisualDepth"); in color_init()
80 if (!visual_depth) in color_init()
82 else if (sscanf(visual_depth, "%d", &depth) != 1) { in color_init()
84 visual_depth); in color_init()
102 } else if (visual_depth) { in color_init()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/vulkan/wsi/
H A Dwsi_common_x11.c392 unsigned visual_depth; in wsi_get_physical_device_xcb_presentation_support() local
393 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_get_physical_device_xcb_presentation_support()
396 if (visual_depth != 24 && visual_depth != 32) in wsi_get_physical_device_xcb_presentation_support()
439 unsigned visual_depth; in x11_surface_get_support() local
440 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
445 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
491 unsigned visual_depth; in x11_surface_get_capabilities() local
499 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
525 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/comms/xastir/Xastir-Release-2.1.8/src/
H A Dcolor.h45 extern int visual_depth;
H A Dcolor.c46 int visual_depth; variable
269 visual_depth = vp->depth; in setup_visual_info()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/libosmesa/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-libs/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/graphics/mesa-dri/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/lang/clover/mesa-21.3.6/src/vulkan/wsi/
H A Dwsi_common_x11.c494 unsigned visual_depth; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
495 if (!connection_get_visualtype(connection, visual_id, &visual_depth)) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
498 if (visual_depth != 24 && visual_depth != 32) in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
555 unsigned visual_depth; in x11_surface_get_support() local
556 if (!get_visualtype_for_window(conn, window, &visual_depth)) { in x11_surface_get_support()
561 if (visual_depth != 24 && visual_depth != 32) { in x11_surface_get_support()
607 unsigned visual_depth; in x11_surface_get_capabilities() local
615 get_visualtype_for_window(conn, window, &visual_depth); in x11_surface_get_capabilities()
632 if (visual_has_alpha(visual, visual_depth)) { in x11_surface_get_capabilities()
/dports/x11/xlockmore/xlockmore-5.67/xlock/
H A Dcolor.h227 extern int visual_depth(Screen *, Visual *);
/dports/x11/xscreensaver/xscreensaver-5.44/jwxyz/
H A Djwxyz-common.c128 Assert (depth == 1 || depth == visual_depth(NULL, NULL), in jwxyz_validate_pixel()
384 jwxyz_validate_pixel (dpy, pixel, visual_depth (NULL, NULL), False); in XSetWindowBackground()
556 xgwa->depth = visual_depth (NULL, NULL); in XGetWindowAttributes()
679 jwxyz_validate_pixel (dpy, color->pixel, visual_depth (NULL, NULL), False); in XQueryColor()
798 ximage->bits_per_pixel = (depth == 1 ? 1 : visual_depth (NULL, NULL)); in XCreateImage()
839 ret[0].depth = visual_depth (NULL, NULL); in XListPixmapFormats()
1784 visual_depth (Screen *s, Visual *v) in visual_depth() function
/dports/net/x11vnc/x11vnc-0.9.16/src/
H A Doptions.h370 extern int visual_depth;
/dports/x11-wm/picom/picom-8.2/src/
H A Drender.c64 .visual_depth = 32}); in paint_bind_tex()
73 if (m.visual_depth < 0) { in paint_bind_tex()
77 if (depth && depth != m.visual_depth) { in paint_bind_tex()
78 log_error("Mismatching visual depth: %d != %d", depth, m.visual_depth); in paint_bind_tex()

123