Lines Matching defs:connection
336 connector->connected = drm_connector->connection != DRM_MODE_DISCONNECTED;
2278 wsi_display_output_to_connector_id(xcb_connection_t *connection,
2287 xcb_intern_atom_cookie_t ia_c = xcb_intern_atom(connection,
2291 xcb_intern_atom_reply_t *ia_r = xcb_intern_atom_reply(connection,
2307 xcb_randr_query_version(connection, 1, 6);
2309 xcb_randr_get_output_property(connection,
2318 xcb_randr_query_version_reply(connection, qv_c, NULL);
2321 xcb_randr_get_output_property_reply(connection, gop_c, NULL);
2332 wsi_display_check_randr_version(xcb_connection_t *connection)
2335 xcb_randr_query_version(connection, 1, 6);
2337 xcb_randr_query_version_reply(connection, qv_c, NULL);
2357 wsi_display_connector_id_to_output(xcb_connection_t *connection,
2360 if (!wsi_display_check_randr_version(connection))
2363 const xcb_setup_t *setup = xcb_get_setup(connection);
2375 xcb_randr_get_screen_resources(connection, iter.data->root);
2377 xcb_randr_get_screen_resources_reply(connection, gsr_c, NULL);
2386 if (wsi_display_output_to_connector_id(connection,
2403 wsi_display_output_to_root(xcb_connection_t *connection,
2406 if (!wsi_display_check_randr_version(connection))
2409 const xcb_setup_t *setup = xcb_get_setup(connection);
2418 xcb_randr_get_screen_resources(connection, iter.data->root);
2420 xcb_randr_get_screen_resources_reply(connection, gsr_c, NULL);
2511 xcb_connection_t *connection,
2519 xcb_window_t root = wsi_display_output_to_root(connection, output);
2532 connector_id = wsi_display_output_to_connector_id(connection,
2555 xcb_randr_get_screen_resources(connection, root);
2557 xcb_randr_get_output_info(connection, output, XCB_CURRENT_TIME);
2559 xcb_randr_get_screen_resources_reply(connection, src, NULL);
2561 xcb_randr_get_output_info_reply(connection, oic, NULL);
2567 oir->connection != XCB_RANDR_CONNECTION_DISCONNECTED;
2598 wsi_display_find_crtc_for_output(xcb_connection_t *connection,
2603 xcb_randr_get_screen_resources(connection, root);
2605 xcb_randr_get_screen_resources_reply(connection, gsr_c, NULL);
2617 xcb_randr_get_crtc_info(connection, rc[c], gsr_r->config_timestamp);
2619 xcb_randr_get_crtc_info_reply(connection, gci_c, NULL);
2660 xcb_connection_t *connection = XGetXCBConnection(dpy);
2670 connector->output = wsi_display_connector_id_to_output(connection,
2678 root = wsi_display_output_to_root(connection, connector->output);
2682 xcb_randr_crtc_t crtc = wsi_display_find_crtc_for_output(connection,
2690 xcb_randr_lease_t lease = xcb_generate_id(connection);
2692 xcb_randr_create_lease(connection, root, lease, 1, 1,
2695 xcb_randr_create_lease_reply(connection, cl_c, NULL);
2701 int *rcl_f = xcb_randr_create_lease_reply_fds(connection, cl_r);
2723 xcb_connection_t *connection = XGetXCBConnection(dpy);
2725 wsi_display_get_output(wsi_device, connection,