00001
00002
00003
00004
00005
00012 #ifndef __RANDR_H
00013 #define __RANDR_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #define XCB_RANDR_MAJOR_VERSION 1
00023 #define XCB_RANDR_MINOR_VERSION 2
00024
00025 extern xcb_extension_t xcb_randr_id;
00026
00028 #define XCB_RANDR_BAD_OUTPUT 0
00029
00033 typedef struct xcb_randr_bad_output_error_t {
00034 uint8_t response_type;
00035 uint8_t error_code;
00036 uint16_t sequence;
00037 } xcb_randr_bad_output_error_t;
00038
00040 #define XCB_RANDR_BAD_CRTC 1
00041
00045 typedef struct xcb_randr_bad_crtc_error_t {
00046 uint8_t response_type;
00047 uint8_t error_code;
00048 uint16_t sequence;
00049 } xcb_randr_bad_crtc_error_t;
00050
00052 #define XCB_RANDR_BAD_MODE 2
00053
00057 typedef struct xcb_randr_bad_mode_error_t {
00058 uint8_t response_type;
00059 uint8_t error_code;
00060 uint16_t sequence;
00061 } xcb_randr_bad_mode_error_t;
00062
00063 typedef enum xcb_randr_rotation_t {
00064 XCB_RANDR_ROTATION_ROTATE_0 = (1 << 0),
00065 XCB_RANDR_ROTATION_ROTATE_90 = (1 << 1),
00066 XCB_RANDR_ROTATION_ROTATE_180 = (1 << 2),
00067 XCB_RANDR_ROTATION_ROTATE_270 = (1 << 3),
00068 XCB_RANDR_ROTATION_REFLECT_X = (1 << 4),
00069 XCB_RANDR_ROTATION_REFLECT_Y = (1 << 5)
00070 } xcb_randr_rotation_t;
00071
00075 typedef struct xcb_randr_screen_size_t {
00076 int16_t width;
00077 int16_t height;
00078 int16_t mwidth;
00079 int16_t mheight;
00080 } xcb_randr_screen_size_t;
00081
00085 typedef struct xcb_randr_screen_size_iterator_t {
00086 xcb_randr_screen_size_t *data;
00087 int rem;
00088 int index;
00089 } xcb_randr_screen_size_iterator_t;
00090
00094 typedef struct xcb_randr_refresh_rates_t {
00095 uint16_t nRates;
00096 } xcb_randr_refresh_rates_t;
00097
00101 typedef struct xcb_randr_refresh_rates_iterator_t {
00102 xcb_randr_refresh_rates_t *data;
00103 int rem;
00104 int index;
00105 } xcb_randr_refresh_rates_iterator_t;
00106
00110 typedef struct xcb_randr_query_version_cookie_t {
00111 unsigned int sequence;
00112 } xcb_randr_query_version_cookie_t;
00113
00115 #define XCB_RANDR_QUERY_VERSION 0
00116
00120 typedef struct xcb_randr_query_version_request_t {
00121 uint8_t major_opcode;
00122 uint8_t minor_opcode;
00123 uint16_t length;
00124 uint32_t major_version;
00125 uint32_t minor_version;
00126 } xcb_randr_query_version_request_t;
00127
00131 typedef struct xcb_randr_query_version_reply_t {
00132 uint8_t response_type;
00133 uint8_t pad0;
00134 uint16_t sequence;
00135 uint32_t length;
00136 uint32_t major_version;
00137 uint32_t minor_version;
00138 uint8_t pad1[16];
00139 } xcb_randr_query_version_reply_t;
00140
00144 typedef struct xcb_randr_set_screen_config_cookie_t {
00145 unsigned int sequence;
00146 } xcb_randr_set_screen_config_cookie_t;
00147
00149 #define XCB_RANDR_SET_SCREEN_CONFIG 2
00150
00154 typedef struct xcb_randr_set_screen_config_request_t {
00155 uint8_t major_opcode;
00156 uint8_t minor_opcode;
00157 uint16_t length;
00158 xcb_drawable_t drawable;
00159 xcb_timestamp_t timestamp;
00160 xcb_timestamp_t config_timestamp;
00161 uint16_t sizeID;
00162 int16_t rotation;
00163 uint16_t rate;
00164 uint8_t pad0[2];
00165 } xcb_randr_set_screen_config_request_t;
00166
00170 typedef struct xcb_randr_set_screen_config_reply_t {
00171 uint8_t response_type;
00172 uint8_t status;
00173 uint16_t sequence;
00174 uint32_t length;
00175 xcb_timestamp_t new_timestamp;
00176 xcb_timestamp_t config_timestamp;
00177 xcb_window_t root;
00178 uint16_t subpixel_order;
00179 uint8_t pad0[10];
00180 } xcb_randr_set_screen_config_reply_t;
00181
00182 typedef enum xcb_randr_set_config_t {
00183 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
00184 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
00185 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
00186 XCB_RANDR_SET_CONFIG_FAILED = 3
00187 } xcb_randr_set_config_t;
00188
00190 #define XCB_RANDR_SELECT_INPUT 4
00191
00195 typedef struct xcb_randr_select_input_request_t {
00196 uint8_t major_opcode;
00197 uint8_t minor_opcode;
00198 uint16_t length;
00199 xcb_window_t window;
00200 uint16_t enable;
00201 uint8_t pad0[2];
00202 } xcb_randr_select_input_request_t;
00203
00207 typedef struct xcb_randr_get_screen_info_cookie_t {
00208 unsigned int sequence;
00209 } xcb_randr_get_screen_info_cookie_t;
00210
00212 #define XCB_RANDR_GET_SCREEN_INFO 5
00213
00217 typedef struct xcb_randr_get_screen_info_request_t {
00218 uint8_t major_opcode;
00219 uint8_t minor_opcode;
00220 uint16_t length;
00221 xcb_window_t window;
00222 } xcb_randr_get_screen_info_request_t;
00223
00227 typedef struct xcb_randr_get_screen_info_reply_t {
00228 uint8_t response_type;
00229 uint8_t rotations;
00230 uint16_t sequence;
00231 uint32_t length;
00232 xcb_window_t root;
00233 xcb_timestamp_t timestamp;
00234 xcb_timestamp_t config_timestamp;
00235 uint16_t nSizes;
00236 uint16_t sizeID;
00237 int16_t rotation;
00238 uint16_t rate;
00239 uint16_t nInfo;
00240 uint8_t pad0[2];
00241 } xcb_randr_get_screen_info_reply_t;
00242
00246 typedef struct xcb_randr_get_screen_size_range_cookie_t {
00247 unsigned int sequence;
00248 } xcb_randr_get_screen_size_range_cookie_t;
00249
00251 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
00252
00256 typedef struct xcb_randr_get_screen_size_range_request_t {
00257 uint8_t major_opcode;
00258 uint8_t minor_opcode;
00259 uint16_t length;
00260 xcb_window_t window;
00261 } xcb_randr_get_screen_size_range_request_t;
00262
00266 typedef struct xcb_randr_get_screen_size_range_reply_t {
00267 uint8_t response_type;
00268 uint8_t pad0;
00269 uint16_t sequence;
00270 uint32_t length;
00271 uint16_t min_width;
00272 uint16_t min_height;
00273 uint16_t max_width;
00274 uint16_t max_height;
00275 } xcb_randr_get_screen_size_range_reply_t;
00276
00278 #define XCB_RANDR_SET_SCREEN_SIZE 7
00279
00283 typedef struct xcb_randr_set_screen_size_request_t {
00284 uint8_t major_opcode;
00285 uint8_t minor_opcode;
00286 uint16_t length;
00287 xcb_window_t window;
00288 uint16_t width;
00289 uint16_t height;
00290 uint32_t mm_width;
00291 uint32_t mm_height;
00292 } xcb_randr_set_screen_size_request_t;
00293
00294 typedef enum xcb_randr_mode_flag_t {
00295 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = (1 << 0),
00296 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = (1 << 1),
00297 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = (1 << 2),
00298 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = (1 << 3),
00299 XCB_RANDR_MODE_FLAG_INTERLACE = (1 << 4),
00300 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = (1 << 5),
00301 XCB_RANDR_MODE_FLAG_CSYNC = (1 << 6),
00302 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = (1 << 7),
00303 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = (1 << 8),
00304 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = (1 << 9),
00305 XCB_RANDR_MODE_FLAG_BCAST = (1 << 10),
00306 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = (1 << 11),
00307 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = (1 << 12),
00308 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = (1 << 13)
00309 } xcb_randr_mode_flag_t;
00310
00314 typedef struct xcb_randr_mode_info_t {
00315 uint32_t id;
00316 uint16_t width;
00317 uint16_t height;
00318 uint32_t dot_clock;
00319 uint16_t hsync_start;
00320 uint16_t hsync_end;
00321 uint16_t htotal;
00322 uint16_t hskew;
00323 uint16_t vsync_start;
00324 uint16_t vsync_end;
00325 uint16_t vtotal;
00326 uint16_t name_len;
00327 uint32_t mode_flags;
00328 } xcb_randr_mode_info_t;
00329
00333 typedef struct xcb_randr_mode_info_iterator_t {
00334 xcb_randr_mode_info_t *data;
00335 int rem;
00336 int index;
00337 } xcb_randr_mode_info_iterator_t;
00338
00342 typedef struct xcb_randr_get_screen_resources_cookie_t {
00343 unsigned int sequence;
00344 } xcb_randr_get_screen_resources_cookie_t;
00345
00347 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
00348
00352 typedef struct xcb_randr_get_screen_resources_request_t {
00353 uint8_t major_opcode;
00354 uint8_t minor_opcode;
00355 uint16_t length;
00356 xcb_window_t window;
00357 } xcb_randr_get_screen_resources_request_t;
00358
00362 typedef struct xcb_randr_get_screen_resources_reply_t {
00363 uint8_t response_type;
00364 uint8_t pad0;
00365 uint16_t sequence;
00366 uint32_t length;
00367 xcb_timestamp_t timestamp;
00368 xcb_timestamp_t config_timestamp;
00369 uint16_t num_crtcs;
00370 uint16_t num_outputs;
00371 uint16_t num_modes;
00372 uint16_t names_len;
00373 uint8_t pad1[8];
00374 } xcb_randr_get_screen_resources_reply_t;
00375
00376 typedef enum xcb_randr_connection_t {
00377 XCB_RANDR_CONNECTION_CONNECTED,
00378 XCB_RANDR_CONNECTION_DISCONNECTED,
00379 XCB_RANDR_CONNECTION_UNKNOWN
00380 } xcb_randr_connection_t;
00381
00385 typedef struct xcb_randr_get_output_info_cookie_t {
00386 unsigned int sequence;
00387 } xcb_randr_get_output_info_cookie_t;
00388
00390 #define XCB_RANDR_GET_OUTPUT_INFO 9
00391
00395 typedef struct xcb_randr_get_output_info_request_t {
00396 uint8_t major_opcode;
00397 uint8_t minor_opcode;
00398 uint16_t length;
00399 uint32_t output;
00400 xcb_timestamp_t config_timestamp;
00401 } xcb_randr_get_output_info_request_t;
00402
00406 typedef struct xcb_randr_get_output_info_reply_t {
00407 uint8_t response_type;
00408 uint8_t status;
00409 uint16_t sequence;
00410 uint32_t length;
00411 xcb_timestamp_t timestamp;
00412 uint32_t crtc;
00413 uint32_t mm_width;
00414 uint32_t mm_height;
00415 uint8_t connection;
00416 uint8_t subpixel_order;
00417 uint16_t num_crtcs;
00418 uint16_t num_modes;
00419 uint16_t num_preferred;
00420 uint16_t num_clones;
00421 uint16_t name_len;
00422 } xcb_randr_get_output_info_reply_t;
00423
00427 typedef struct xcb_randr_list_output_properties_cookie_t {
00428 unsigned int sequence;
00429 } xcb_randr_list_output_properties_cookie_t;
00430
00432 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
00433
00437 typedef struct xcb_randr_list_output_properties_request_t {
00438 uint8_t major_opcode;
00439 uint8_t minor_opcode;
00440 uint16_t length;
00441 uint32_t output;
00442 } xcb_randr_list_output_properties_request_t;
00443
00447 typedef struct xcb_randr_list_output_properties_reply_t {
00448 uint8_t response_type;
00449 uint8_t pad0;
00450 uint16_t sequence;
00451 uint32_t length;
00452 uint16_t num_atoms;
00453 uint8_t pad1[22];
00454 } xcb_randr_list_output_properties_reply_t;
00455
00459 typedef struct xcb_randr_query_output_property_cookie_t {
00460 unsigned int sequence;
00461 } xcb_randr_query_output_property_cookie_t;
00462
00464 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
00465
00469 typedef struct xcb_randr_query_output_property_request_t {
00470 uint8_t major_opcode;
00471 uint8_t minor_opcode;
00472 uint16_t length;
00473 uint32_t output;
00474 xcb_atom_t property;
00475 } xcb_randr_query_output_property_request_t;
00476
00480 typedef struct xcb_randr_query_output_property_reply_t {
00481 uint8_t response_type;
00482 uint8_t pad0;
00483 uint16_t sequence;
00484 uint32_t length;
00485 uint8_t pending;
00486 uint8_t range;
00487 uint8_t immutable;
00488 uint8_t pad1[21];
00489 } xcb_randr_query_output_property_reply_t;
00490
00492 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
00493
00497 typedef struct xcb_randr_configure_output_property_request_t {
00498 uint8_t major_opcode;
00499 uint8_t minor_opcode;
00500 uint16_t length;
00501 uint32_t output;
00502 xcb_atom_t property;
00503 uint8_t pending;
00504 uint8_t range;
00505 uint8_t pad0[2];
00506 } xcb_randr_configure_output_property_request_t;
00507
00509 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
00510
00514 typedef struct xcb_randr_change_output_property_request_t {
00515 uint8_t major_opcode;
00516 uint8_t minor_opcode;
00517 uint16_t length;
00518 uint32_t output;
00519 xcb_atom_t property;
00520 xcb_atom_t type;
00521 uint8_t format;
00522 uint8_t mode;
00523 uint8_t pad0[2];
00524 uint32_t num_units;
00525 } xcb_randr_change_output_property_request_t;
00526
00528 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
00529
00533 typedef struct xcb_randr_delete_output_property_request_t {
00534 uint8_t major_opcode;
00535 uint8_t minor_opcode;
00536 uint16_t length;
00537 uint32_t output;
00538 xcb_atom_t property;
00539 } xcb_randr_delete_output_property_request_t;
00540
00544 typedef struct xcb_randr_get_output_property_cookie_t {
00545 unsigned int sequence;
00546 } xcb_randr_get_output_property_cookie_t;
00547
00549 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
00550
00554 typedef struct xcb_randr_get_output_property_request_t {
00555 uint8_t major_opcode;
00556 uint8_t minor_opcode;
00557 uint16_t length;
00558 uint32_t output;
00559 xcb_atom_t property;
00560 xcb_atom_t type;
00561 uint32_t long_offset;
00562 uint32_t long_length;
00563 uint8_t _delete;
00564 uint8_t pending;
00565 } xcb_randr_get_output_property_request_t;
00566
00570 typedef struct xcb_randr_get_output_property_reply_t {
00571 uint8_t response_type;
00572 uint8_t format;
00573 uint16_t sequence;
00574 uint32_t length;
00575 xcb_atom_t type;
00576 uint32_t bytes_after;
00577 uint32_t num_items;
00578 uint8_t pad0[12];
00579 } xcb_randr_get_output_property_reply_t;
00580
00584 typedef struct xcb_randr_create_mode_cookie_t {
00585 unsigned int sequence;
00586 } xcb_randr_create_mode_cookie_t;
00587
00589 #define XCB_RANDR_CREATE_MODE 16
00590
00594 typedef struct xcb_randr_create_mode_request_t {
00595 uint8_t major_opcode;
00596 uint8_t minor_opcode;
00597 uint16_t length;
00598 xcb_window_t window;
00599 xcb_randr_mode_info_t mode_info;
00600 } xcb_randr_create_mode_request_t;
00601
00605 typedef struct xcb_randr_create_mode_reply_t {
00606 uint8_t response_type;
00607 uint8_t status;
00608 uint16_t sequence;
00609 uint32_t length;
00610 uint32_t mode;
00611 } xcb_randr_create_mode_reply_t;
00612
00614 #define XCB_RANDR_DESTROY_MODE 17
00615
00619 typedef struct xcb_randr_destroy_mode_request_t {
00620 uint8_t major_opcode;
00621 uint8_t minor_opcode;
00622 uint16_t length;
00623 uint32_t mode;
00624 } xcb_randr_destroy_mode_request_t;
00625
00627 #define XCB_RANDR_ADD_OUTPUT_MODE 18
00628
00632 typedef struct xcb_randr_add_output_mode_request_t {
00633 uint8_t major_opcode;
00634 uint8_t minor_opcode;
00635 uint16_t length;
00636 uint32_t output;
00637 uint32_t mode;
00638 } xcb_randr_add_output_mode_request_t;
00639
00641 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
00642
00646 typedef struct xcb_randr_delete_output_mode_request_t {
00647 uint8_t major_opcode;
00648 uint8_t minor_opcode;
00649 uint16_t length;
00650 uint32_t output;
00651 uint32_t mode;
00652 } xcb_randr_delete_output_mode_request_t;
00653
00657 typedef struct xcb_randr_get_crtc_info_cookie_t {
00658 unsigned int sequence;
00659 } xcb_randr_get_crtc_info_cookie_t;
00660
00662 #define XCB_RANDR_GET_CRTC_INFO 20
00663
00667 typedef struct xcb_randr_get_crtc_info_request_t {
00668 uint8_t major_opcode;
00669 uint8_t minor_opcode;
00670 uint16_t length;
00671 uint32_t crtc;
00672 xcb_timestamp_t config_timestamp;
00673 } xcb_randr_get_crtc_info_request_t;
00674
00678 typedef struct xcb_randr_get_crtc_info_reply_t {
00679 uint8_t response_type;
00680 uint8_t status;
00681 uint16_t sequence;
00682 uint32_t length;
00683 xcb_timestamp_t timestamp;
00684 uint32_t crtc;
00685 int16_t x;
00686 int16_t y;
00687 uint16_t width;
00688 uint16_t height;
00689 uint32_t mode;
00690 uint16_t rotation;
00691 uint16_t rotations;
00692 uint16_t num_outputs;
00693 uint16_t num_possible_outputs;
00694 } xcb_randr_get_crtc_info_reply_t;
00695
00699 typedef struct xcb_randr_set_crtc_config_cookie_t {
00700 unsigned int sequence;
00701 } xcb_randr_set_crtc_config_cookie_t;
00702
00704 #define XCB_RANDR_SET_CRTC_CONFIG 21
00705
00709 typedef struct xcb_randr_set_crtc_config_request_t {
00710 uint8_t major_opcode;
00711 uint8_t minor_opcode;
00712 uint16_t length;
00713 uint32_t crtc;
00714 xcb_timestamp_t timestamp;
00715 xcb_timestamp_t config_timestamp;
00716 int16_t x;
00717 int16_t y;
00718 uint32_t mode;
00719 uint16_t rotation;
00720 } xcb_randr_set_crtc_config_request_t;
00721
00725 typedef struct xcb_randr_set_crtc_config_reply_t {
00726 uint8_t response_type;
00727 uint8_t status;
00728 uint16_t sequence;
00729 uint32_t length;
00730 xcb_timestamp_t timestamp;
00731 } xcb_randr_set_crtc_config_reply_t;
00732
00736 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
00737 unsigned int sequence;
00738 } xcb_randr_get_crtc_gamma_size_cookie_t;
00739
00741 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
00742
00746 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
00747 uint8_t major_opcode;
00748 uint8_t minor_opcode;
00749 uint16_t length;
00750 uint32_t crtc;
00751 } xcb_randr_get_crtc_gamma_size_request_t;
00752
00756 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
00757 uint8_t response_type;
00758 uint8_t status;
00759 uint16_t sequence;
00760 uint32_t length;
00761 uint16_t size;
00762 } xcb_randr_get_crtc_gamma_size_reply_t;
00763
00767 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
00768 unsigned int sequence;
00769 } xcb_randr_get_crtc_gamma_cookie_t;
00770
00772 #define XCB_RANDR_GET_CRTC_GAMMA 23
00773
00777 typedef struct xcb_randr_get_crtc_gamma_request_t {
00778 uint8_t major_opcode;
00779 uint8_t minor_opcode;
00780 uint16_t length;
00781 uint32_t crtc;
00782 } xcb_randr_get_crtc_gamma_request_t;
00783
00787 typedef struct xcb_randr_get_crtc_gamma_reply_t {
00788 uint8_t response_type;
00789 uint8_t status;
00790 uint16_t sequence;
00791 uint32_t length;
00792 uint16_t size;
00793 uint8_t pad0[22];
00794 } xcb_randr_get_crtc_gamma_reply_t;
00795
00797 #define XCB_RANDR_SET_CRTC_GAMMA 24
00798
00802 typedef struct xcb_randr_set_crtc_gamma_request_t {
00803 uint8_t major_opcode;
00804 uint8_t minor_opcode;
00805 uint16_t length;
00806 uint32_t crtc;
00807 uint16_t size;
00808 uint8_t pad0[2];
00809 } xcb_randr_set_crtc_gamma_request_t;
00810
00811 typedef enum xcb_randr_notify_mask_t {
00812 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = (1 << 0),
00813 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = (1 << 1),
00814 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = (1 << 2),
00815 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = (1 << 3)
00816 } xcb_randr_notify_mask_t;
00817
00819 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
00820
00824 typedef struct xcb_randr_screen_change_notify_event_t {
00825 uint8_t response_type;
00826 uint8_t rotation;
00827 uint16_t sequence;
00828 xcb_timestamp_t timestamp;
00829 xcb_timestamp_t config_timestamp;
00830 xcb_window_t root;
00831 xcb_window_t request_window;
00832 uint16_t sizeID;
00833 uint16_t subpixel_order;
00834 uint16_t width;
00835 uint16_t height;
00836 uint16_t mwidth;
00837 uint16_t mheight;
00838 } xcb_randr_screen_change_notify_event_t;
00839
00840 typedef enum xcb_randr_notify_t {
00841 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
00842 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
00843 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2
00844 } xcb_randr_notify_t;
00845
00849 typedef struct xcb_randr_crtc_change_t {
00850 xcb_timestamp_t timestamp;
00851 xcb_window_t window;
00852 uint32_t crtc;
00853 uint32_t mode;
00854 uint16_t rotation;
00855 uint8_t pad0[2];
00856 int16_t x;
00857 int16_t y;
00858 uint16_t width;
00859 uint16_t height;
00860 } xcb_randr_crtc_change_t;
00861
00865 typedef struct xcb_randr_crtc_change_iterator_t {
00866 xcb_randr_crtc_change_t *data;
00867 int rem;
00868 int index;
00869 } xcb_randr_crtc_change_iterator_t;
00870
00874 typedef struct xcb_randr_output_change_t {
00875 xcb_timestamp_t timestamp;
00876 xcb_timestamp_t config_timestamp;
00877 xcb_window_t window;
00878 uint32_t output;
00879 uint32_t crtc;
00880 uint32_t mode;
00881 uint16_t rotation;
00882 uint8_t connection;
00883 uint8_t subpixel_order;
00884 } xcb_randr_output_change_t;
00885
00889 typedef struct xcb_randr_output_change_iterator_t {
00890 xcb_randr_output_change_t *data;
00891 int rem;
00892 int index;
00893 } xcb_randr_output_change_iterator_t;
00894
00898 typedef struct xcb_randr_output_property_t {
00899 xcb_window_t window;
00900 uint32_t output;
00901 xcb_atom_t atom;
00902 xcb_timestamp_t timestamp;
00903 uint8_t status;
00904 uint8_t pad0[11];
00905 } xcb_randr_output_property_t;
00906
00910 typedef struct xcb_randr_output_property_iterator_t {
00911 xcb_randr_output_property_t *data;
00912 int rem;
00913 int index;
00914 } xcb_randr_output_property_iterator_t;
00915
00919 typedef union xcb_randr_notify_data_t {
00920 xcb_randr_crtc_change_t cc;
00921 xcb_randr_output_change_t oc;
00922 xcb_randr_output_property_t op;
00923 } xcb_randr_notify_data_t;
00924
00928 typedef struct xcb_randr_notify_data_iterator_t {
00929 xcb_randr_notify_data_t *data;
00930 int rem;
00931 int index;
00932 } xcb_randr_notify_data_iterator_t;
00933
00935 #define XCB_RANDR_NOTIFY 1
00936
00940 typedef struct xcb_randr_notify_event_t {
00941 uint8_t response_type;
00942 uint8_t subCode;
00943 uint16_t sequence;
00944 xcb_randr_notify_data_t u;
00945 } xcb_randr_notify_event_t;
00946
00956
00957
00958
00959
00960
00961
00962
00963
00964
00965 void
00966 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i );
00967
00978
00979
00980
00981
00982
00983
00984
00985
00986
00987 xcb_generic_iterator_t
00988 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i );
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998
00999
01000 uint16_t *
01001 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R );
01002
01003
01004
01005
01006
01007
01008
01009
01010
01011
01012
01013 int
01014 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R );
01015
01016
01017
01018
01019
01020
01021
01022
01023
01024
01025
01026 xcb_generic_iterator_t
01027 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R );
01028
01038
01039
01040
01041
01042
01043
01044
01045
01046
01047 void
01048 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i );
01049
01060
01061
01062
01063
01064
01065
01066
01067
01068
01069 xcb_generic_iterator_t
01070 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i );
01071
01081
01082
01083
01084
01085
01086
01087
01088
01089
01090
01091
01092 xcb_randr_query_version_cookie_t
01093 xcb_randr_query_version (xcb_connection_t *c ,
01094 uint32_t major_version ,
01095 uint32_t minor_version );
01096
01109
01110
01111
01112
01113
01114
01115
01116
01117
01118
01119
01120 xcb_randr_query_version_cookie_t
01121 xcb_randr_query_version_unchecked (xcb_connection_t *c ,
01122 uint32_t major_version ,
01123 uint32_t minor_version );
01124
01140
01141
01142
01143
01144
01145
01146
01147
01148
01149
01150
01151 xcb_randr_query_version_reply_t *
01152 xcb_randr_query_version_reply (xcb_connection_t *c ,
01153 xcb_randr_query_version_cookie_t cookie ,
01154 xcb_generic_error_t **e );
01155
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178
01179
01180 xcb_randr_set_screen_config_cookie_t
01181 xcb_randr_set_screen_config (xcb_connection_t *c ,
01182 xcb_drawable_t drawable ,
01183 xcb_timestamp_t timestamp ,
01184 xcb_timestamp_t config_timestamp ,
01185 uint16_t sizeID ,
01186 int16_t rotation ,
01187 uint16_t rate );
01188
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210
01211
01212
01213
01214
01215
01216 xcb_randr_set_screen_config_cookie_t
01217 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c ,
01218 xcb_drawable_t drawable ,
01219 xcb_timestamp_t timestamp ,
01220 xcb_timestamp_t config_timestamp ,
01221 uint16_t sizeID ,
01222 int16_t rotation ,
01223 uint16_t rate );
01224
01240
01241
01242
01243
01244
01245
01246
01247
01248
01249
01250
01251 xcb_randr_set_screen_config_reply_t *
01252 xcb_randr_set_screen_config_reply (xcb_connection_t *c ,
01253 xcb_randr_set_screen_config_cookie_t cookie ,
01254 xcb_generic_error_t **e );
01255
01268
01269
01270
01271
01272
01273
01274
01275
01276
01277
01278
01279 xcb_void_cookie_t
01280 xcb_randr_select_input_checked (xcb_connection_t *c ,
01281 xcb_window_t window ,
01282 uint16_t enable );
01283
01293
01294
01295
01296
01297
01298
01299
01300
01301
01302
01303
01304 xcb_void_cookie_t
01305 xcb_randr_select_input (xcb_connection_t *c ,
01306 xcb_window_t window ,
01307 uint16_t enable );
01308
01318
01319
01320
01321
01322
01323
01324
01325
01326
01327
01328 xcb_randr_get_screen_info_cookie_t
01329 xcb_randr_get_screen_info (xcb_connection_t *c ,
01330 xcb_window_t window );
01331
01344
01345
01346
01347
01348
01349
01350
01351
01352
01353
01354 xcb_randr_get_screen_info_cookie_t
01355 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c ,
01356 xcb_window_t window );
01357
01358
01359
01360
01361
01362
01363
01364
01365
01366
01367
01368 xcb_randr_screen_size_t *
01369 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R );
01370
01371
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381 int
01382 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R );
01383
01384
01385
01386
01387
01388
01389
01390
01391
01392
01393
01394 xcb_randr_screen_size_iterator_t
01395 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R );
01396
01397
01398
01399
01400
01401
01402
01403
01404
01405
01406
01407 int
01408 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R );
01409
01410
01411
01412
01413
01414
01415
01416
01417
01418
01419
01420 xcb_randr_refresh_rates_iterator_t
01421 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R );
01422
01438
01439
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449 xcb_randr_get_screen_info_reply_t *
01450 xcb_randr_get_screen_info_reply (xcb_connection_t *c ,
01451 xcb_randr_get_screen_info_cookie_t cookie ,
01452 xcb_generic_error_t **e );
01453
01463
01464
01465
01466
01467
01468
01469
01470
01471
01472
01473 xcb_randr_get_screen_size_range_cookie_t
01474 xcb_randr_get_screen_size_range (xcb_connection_t *c ,
01475 xcb_window_t window );
01476
01489
01490
01491
01492
01493
01494
01495
01496
01497
01498
01499 xcb_randr_get_screen_size_range_cookie_t
01500 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c ,
01501 xcb_window_t window );
01502
01518
01519
01520
01521
01522
01523
01524
01525
01526
01527
01528
01529 xcb_randr_get_screen_size_range_reply_t *
01530 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c ,
01531 xcb_randr_get_screen_size_range_cookie_t cookie ,
01532 xcb_generic_error_t **e );
01533
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556
01557
01558
01559
01560 xcb_void_cookie_t
01561 xcb_randr_set_screen_size_checked (xcb_connection_t *c ,
01562 xcb_window_t window ,
01563 uint16_t width ,
01564 uint16_t height ,
01565 uint32_t mm_width ,
01566 uint32_t mm_height );
01567
01577
01578
01579
01580
01581
01582
01583
01584
01585
01586
01587
01588
01589
01590
01591 xcb_void_cookie_t
01592 xcb_randr_set_screen_size (xcb_connection_t *c ,
01593 xcb_window_t window ,
01594 uint16_t width ,
01595 uint16_t height ,
01596 uint32_t mm_width ,
01597 uint32_t mm_height );
01598
01608
01609
01610
01611
01612
01613
01614
01615
01616
01617 void
01618 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i );
01619
01630
01631
01632
01633
01634
01635
01636
01637
01638
01639 xcb_generic_iterator_t
01640 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i );
01641
01651
01652
01653
01654
01655
01656
01657
01658
01659
01660
01661 xcb_randr_get_screen_resources_cookie_t
01662 xcb_randr_get_screen_resources (xcb_connection_t *c ,
01663 xcb_window_t window );
01664
01677
01678
01679
01680
01681
01682
01683
01684
01685
01686
01687 xcb_randr_get_screen_resources_cookie_t
01688 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c ,
01689 xcb_window_t window );
01690
01691
01692
01693
01694
01695
01696
01697
01698
01699
01700
01701 uint32_t *
01702 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R );
01703
01704
01705
01706
01707
01708
01709
01710
01711
01712
01713
01714 int
01715 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R );
01716
01717
01718
01719
01720
01721
01722
01723
01724
01725
01726
01727 xcb_generic_iterator_t
01728 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R );
01729
01730
01731
01732
01733
01734
01735
01736
01737
01738
01739
01740 uint32_t *
01741 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R );
01742
01743
01744
01745
01746
01747
01748
01749
01750
01751
01752
01753 int
01754 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R );
01755
01756
01757
01758
01759
01760
01761
01762
01763
01764
01765
01766 xcb_generic_iterator_t
01767 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R );
01768
01769
01770
01771
01772
01773
01774
01775
01776
01777
01778
01779 xcb_randr_mode_info_t *
01780 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R );
01781
01782
01783
01784
01785
01786
01787
01788
01789
01790
01791
01792 int
01793 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R );
01794
01795
01796
01797
01798
01799
01800
01801
01802
01803
01804
01805 xcb_randr_mode_info_iterator_t
01806 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R );
01807
01808
01809
01810
01811
01812
01813
01814
01815
01816
01817
01818 uint8_t *
01819 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R );
01820
01821
01822
01823
01824
01825
01826
01827
01828
01829
01830
01831 int
01832 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R );
01833
01834
01835
01836
01837
01838
01839
01840
01841
01842
01843
01844 xcb_generic_iterator_t
01845 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R );
01846
01862
01863
01864
01865
01866
01867
01868
01869
01870
01871
01872
01873 xcb_randr_get_screen_resources_reply_t *
01874 xcb_randr_get_screen_resources_reply (xcb_connection_t *c ,
01875 xcb_randr_get_screen_resources_cookie_t cookie ,
01876 xcb_generic_error_t **e );
01877
01887
01888
01889
01890
01891
01892
01893
01894
01895
01896
01897
01898 xcb_randr_get_output_info_cookie_t
01899 xcb_randr_get_output_info (xcb_connection_t *c ,
01900 uint32_t output ,
01901 xcb_timestamp_t config_timestamp );
01902
01915
01916
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926 xcb_randr_get_output_info_cookie_t
01927 xcb_randr_get_output_info_unchecked (xcb_connection_t *c ,
01928 uint32_t output ,
01929 xcb_timestamp_t config_timestamp );
01930
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940
01941 uint32_t *
01942 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R );
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952
01953
01954 int
01955 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R );
01956
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966
01967 xcb_generic_iterator_t
01968 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R );
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978
01979
01980 uint32_t *
01981 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R );
01982
01983
01984
01985
01986
01987
01988
01989
01990
01991
01992
01993 int
01994 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R );
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005
02006 xcb_generic_iterator_t
02007 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R );
02008
02009
02010
02011
02012
02013
02014
02015
02016
02017
02018
02019 uint32_t *
02020 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R );
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032 int
02033 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R );
02034
02035
02036
02037
02038
02039
02040
02041
02042
02043
02044
02045 xcb_generic_iterator_t
02046 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R );
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058 uint8_t *
02059 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R );
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069
02070
02071 int
02072 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R );
02073
02074
02075
02076
02077
02078
02079
02080
02081
02082
02083
02084 xcb_generic_iterator_t
02085 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R );
02086
02102
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112
02113 xcb_randr_get_output_info_reply_t *
02114 xcb_randr_get_output_info_reply (xcb_connection_t *c ,
02115 xcb_randr_get_output_info_cookie_t cookie ,
02116 xcb_generic_error_t **e );
02117
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137 xcb_randr_list_output_properties_cookie_t
02138 xcb_randr_list_output_properties (xcb_connection_t *c ,
02139 uint32_t output );
02140
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163 xcb_randr_list_output_properties_cookie_t
02164 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c ,
02165 uint32_t output );
02166
02167
02168
02169
02170
02171
02172
02173
02174
02175
02176
02177 xcb_atom_t *
02178 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R );
02179
02180
02181
02182
02183
02184
02185
02186
02187
02188
02189
02190 int
02191 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R );
02192
02193
02194
02195
02196
02197
02198
02199
02200
02201
02202
02203 xcb_atom_iterator_t
02204 xcb_randr_list_output_properties_atoms_iterator (const xcb_randr_list_output_properties_reply_t *R );
02205
02221
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231
02232 xcb_randr_list_output_properties_reply_t *
02233 xcb_randr_list_output_properties_reply (xcb_connection_t *c ,
02234 xcb_randr_list_output_properties_cookie_t cookie ,
02235 xcb_generic_error_t **e );
02236
02246
02247
02248
02249
02250
02251
02252
02253
02254
02255
02256
02257 xcb_randr_query_output_property_cookie_t
02258 xcb_randr_query_output_property (xcb_connection_t *c ,
02259 uint32_t output ,
02260 xcb_atom_t property );
02261
02274
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285 xcb_randr_query_output_property_cookie_t
02286 xcb_randr_query_output_property_unchecked (xcb_connection_t *c ,
02287 uint32_t output ,
02288 xcb_atom_t property );
02289
02290
02291
02292
02293
02294
02295
02296
02297
02298
02299
02300 int32_t *
02301 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R );
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312
02313 int
02314 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R );
02315
02316
02317
02318
02319
02320
02321
02322
02323
02324
02325
02326 xcb_generic_iterator_t
02327 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R );
02328
02344
02345
02346
02347
02348
02349
02350
02351
02352
02353
02354
02355 xcb_randr_query_output_property_reply_t *
02356 xcb_randr_query_output_property_reply (xcb_connection_t *c ,
02357 xcb_randr_query_output_property_cookie_t cookie ,
02358 xcb_generic_error_t **e );
02359
02372
02373
02374
02375
02376
02377
02378
02379
02380
02381
02382
02383
02384
02385 xcb_void_cookie_t
02386 xcb_randr_configure_output_property_checked (xcb_connection_t *c ,
02387 uint32_t output ,
02388 xcb_atom_t property ,
02389 uint8_t pending ,
02390 uint8_t range );
02391
02401
02402
02403
02404
02405
02406
02407
02408
02409
02410
02411
02412
02413
02414 xcb_void_cookie_t
02415 xcb_randr_configure_output_property (xcb_connection_t *c ,
02416 uint32_t output ,
02417 xcb_atom_t property ,
02418 uint8_t pending ,
02419 uint8_t range );
02420
02433
02434
02435
02436
02437
02438
02439
02440
02441
02442
02443
02444
02445
02446
02447
02448 xcb_void_cookie_t
02449 xcb_randr_change_output_property_checked (xcb_connection_t *c ,
02450 uint32_t output ,
02451 xcb_atom_t property ,
02452 xcb_atom_t type ,
02453 uint8_t format ,
02454 uint8_t mode ,
02455 uint32_t num_units );
02456
02466
02467
02468
02469
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480
02481 xcb_void_cookie_t
02482 xcb_randr_change_output_property (xcb_connection_t *c ,
02483 uint32_t output ,
02484 xcb_atom_t property ,
02485 xcb_atom_t type ,
02486 uint8_t format ,
02487 uint8_t mode ,
02488 uint32_t num_units );
02489
02502
02503
02504
02505
02506
02507
02508
02509
02510
02511
02512
02513 xcb_void_cookie_t
02514 xcb_randr_delete_output_property_checked (xcb_connection_t *c ,
02515 uint32_t output ,
02516 xcb_atom_t property );
02517
02527
02528
02529
02530
02531
02532
02533
02534
02535
02536
02537
02538 xcb_void_cookie_t
02539 xcb_randr_delete_output_property (xcb_connection_t *c ,
02540 uint32_t output ,
02541 xcb_atom_t property );
02542
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561
02562
02563
02564
02565
02566
02567
02568 xcb_randr_get_output_property_cookie_t
02569 xcb_randr_get_output_property (xcb_connection_t *c ,
02570 uint32_t output ,
02571 xcb_atom_t property ,
02572 xcb_atom_t type ,
02573 uint32_t long_offset ,
02574 uint32_t long_length ,
02575 uint8_t _delete ,
02576 uint8_t pending );
02577
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604
02605
02606 xcb_randr_get_output_property_cookie_t
02607 xcb_randr_get_output_property_unchecked (xcb_connection_t *c ,
02608 uint32_t output ,
02609 xcb_atom_t property ,
02610 xcb_atom_t type ,
02611 uint32_t long_offset ,
02612 uint32_t long_length ,
02613 uint8_t _delete ,
02614 uint8_t pending );
02615
02616
02617
02618
02619
02620
02621
02622
02623
02624
02625
02626 uint8_t *
02627 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R );
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637
02638
02639 int
02640 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R );
02641
02642
02643
02644
02645
02646
02647
02648
02649
02650
02651
02652 xcb_generic_iterator_t
02653 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R );
02654
02670
02671
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681 xcb_randr_get_output_property_reply_t *
02682 xcb_randr_get_output_property_reply (xcb_connection_t *c ,
02683 xcb_randr_get_output_property_cookie_t cookie ,
02684 xcb_generic_error_t **e );
02685
02695
02696
02697
02698
02699
02700
02701
02702
02703
02704
02705
02706 xcb_randr_create_mode_cookie_t
02707 xcb_randr_create_mode (xcb_connection_t *c ,
02708 xcb_window_t window ,
02709 xcb_randr_mode_info_t mode_info );
02710
02723
02724
02725
02726
02727
02728
02729
02730
02731
02732
02733
02734 xcb_randr_create_mode_cookie_t
02735 xcb_randr_create_mode_unchecked (xcb_connection_t *c ,
02736 xcb_window_t window ,
02737 xcb_randr_mode_info_t mode_info );
02738
02754
02755
02756
02757
02758
02759
02760
02761
02762
02763
02764
02765 xcb_randr_create_mode_reply_t *
02766 xcb_randr_create_mode_reply (xcb_connection_t *c ,
02767 xcb_randr_create_mode_cookie_t cookie ,
02768 xcb_generic_error_t **e );
02769
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792 xcb_void_cookie_t
02793 xcb_randr_destroy_mode_checked (xcb_connection_t *c ,
02794 uint32_t mode );
02795
02805
02806
02807
02808
02809
02810
02811
02812
02813
02814
02815 xcb_void_cookie_t
02816 xcb_randr_destroy_mode (xcb_connection_t *c ,
02817 uint32_t mode );
02818
02831
02832
02833
02834
02835
02836
02837
02838
02839
02840
02841
02842 xcb_void_cookie_t
02843 xcb_randr_add_output_mode_checked (xcb_connection_t *c ,
02844 uint32_t output ,
02845 uint32_t mode );
02846
02856
02857
02858
02859
02860
02861
02862
02863
02864
02865
02866
02867 xcb_void_cookie_t
02868 xcb_randr_add_output_mode (xcb_connection_t *c ,
02869 uint32_t output ,
02870 uint32_t mode );
02871
02884
02885
02886
02887
02888
02889
02890
02891
02892
02893
02894
02895 xcb_void_cookie_t
02896 xcb_randr_delete_output_mode_checked (xcb_connection_t *c ,
02897 uint32_t output ,
02898 uint32_t mode );
02899
02909
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919
02920 xcb_void_cookie_t
02921 xcb_randr_delete_output_mode (xcb_connection_t *c ,
02922 uint32_t output ,
02923 uint32_t mode );
02924
02934
02935
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945 xcb_randr_get_crtc_info_cookie_t
02946 xcb_randr_get_crtc_info (xcb_connection_t *c ,
02947 uint32_t crtc ,
02948 xcb_timestamp_t config_timestamp );
02949
02962
02963
02964
02965
02966
02967
02968
02969
02970
02971
02972
02973 xcb_randr_get_crtc_info_cookie_t
02974 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c ,
02975 uint32_t crtc ,
02976 xcb_timestamp_t config_timestamp );
02977
02978
02979
02980
02981
02982
02983
02984
02985
02986
02987
02988 uint32_t *
02989 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R );
02990
02991
02992
02993
02994
02995
02996
02997
02998
02999
03000
03001 int
03002 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R );
03003
03004
03005
03006
03007
03008
03009
03010
03011
03012
03013
03014 xcb_generic_iterator_t
03015 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R );
03016
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041
03042
03043 xcb_randr_get_crtc_info_reply_t *
03044 xcb_randr_get_crtc_info_reply (xcb_connection_t *c ,
03045 xcb_randr_get_crtc_info_cookie_t cookie ,
03046 xcb_generic_error_t **e );
03047
03057
03058
03059
03060
03061
03062
03063
03064
03065
03066
03067
03068
03069
03070
03071
03072
03073 xcb_randr_set_crtc_config_cookie_t
03074 xcb_randr_set_crtc_config (xcb_connection_t *c ,
03075 uint32_t crtc ,
03076 xcb_timestamp_t timestamp ,
03077 xcb_timestamp_t config_timestamp ,
03078 int16_t x ,
03079 int16_t y ,
03080 uint32_t mode ,
03081 uint16_t rotation );
03082
03095
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105
03106
03107
03108
03109
03110
03111 xcb_randr_set_crtc_config_cookie_t
03112 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c ,
03113 uint32_t crtc ,
03114 xcb_timestamp_t timestamp ,
03115 xcb_timestamp_t config_timestamp ,
03116 int16_t x ,
03117 int16_t y ,
03118 uint32_t mode ,
03119 uint16_t rotation );
03120
03136
03137
03138
03139
03140
03141
03142
03143
03144
03145
03146
03147 xcb_randr_set_crtc_config_reply_t *
03148 xcb_randr_set_crtc_config_reply (xcb_connection_t *c ,
03149 xcb_randr_set_crtc_config_cookie_t cookie ,
03150 xcb_generic_error_t **e );
03151
03161
03162
03163
03164
03165
03166
03167
03168
03169
03170
03171 xcb_randr_get_crtc_gamma_size_cookie_t
03172 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c ,
03173 uint32_t crtc );
03174
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197 xcb_randr_get_crtc_gamma_size_cookie_t
03198 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c ,
03199 uint32_t crtc );
03200
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227 xcb_randr_get_crtc_gamma_size_reply_t *
03228 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c ,
03229 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
03230 xcb_generic_error_t **e );
03231
03241
03242
03243
03244
03245
03246
03247
03248
03249
03250
03251 xcb_randr_get_crtc_gamma_cookie_t
03252 xcb_randr_get_crtc_gamma (xcb_connection_t *c ,
03253 uint32_t crtc );
03254
03267
03268
03269
03270
03271
03272
03273
03274
03275
03276
03277 xcb_randr_get_crtc_gamma_cookie_t
03278 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c ,
03279 uint32_t crtc );
03280
03281
03282
03283
03284
03285
03286
03287
03288
03289
03290
03291 uint16_t *
03292 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R );
03293
03294
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304 int
03305 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315
03316
03317 xcb_generic_iterator_t
03318 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03319
03320
03321
03322
03323
03324
03325
03326
03327
03328
03329
03330 uint16_t *
03331 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R );
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341
03342
03343 int
03344 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03345
03346
03347
03348
03349
03350
03351
03352
03353
03354
03355
03356 xcb_generic_iterator_t
03357 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03358
03359
03360
03361
03362
03363
03364
03365
03366
03367
03368
03369 uint16_t *
03370 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R );
03371
03372
03373
03374
03375
03376
03377
03378
03379
03380
03381
03382 int
03383 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03384
03385
03386
03387
03388
03389
03390
03391
03392
03393
03394
03395 xcb_generic_iterator_t
03396 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03397
03413
03414
03415
03416
03417
03418
03419
03420
03421
03422
03423
03424 xcb_randr_get_crtc_gamma_reply_t *
03425 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c ,
03426 xcb_randr_get_crtc_gamma_cookie_t cookie ,
03427 xcb_generic_error_t **e );
03428
03441
03442
03443
03444
03445
03446
03447
03448
03449
03450
03451
03452
03453
03454
03455 xcb_void_cookie_t
03456 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c ,
03457 uint32_t crtc ,
03458 uint16_t size ,
03459 const uint16_t *red ,
03460 const uint16_t *green ,
03461 const uint16_t *blue );
03462
03472
03473
03474
03475
03476
03477
03478
03479
03480
03481
03482
03483
03484
03485
03486 xcb_void_cookie_t
03487 xcb_randr_set_crtc_gamma (xcb_connection_t *c ,
03488 uint32_t crtc ,
03489 uint16_t size ,
03490 const uint16_t *red ,
03491 const uint16_t *green ,
03492 const uint16_t *blue );
03493
03503
03504
03505
03506
03507
03508
03509
03510
03511
03512 void
03513 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i );
03514
03525
03526
03527
03528
03529
03530
03531
03532
03533
03534 xcb_generic_iterator_t
03535 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i );
03536
03546
03547
03548
03549
03550
03551
03552
03553
03554
03555 void
03556 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i );
03557
03568
03569
03570
03571
03572
03573
03574
03575
03576
03577 xcb_generic_iterator_t
03578 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i );
03579
03589
03590
03591
03592
03593
03594
03595
03596
03597
03598 void
03599 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i );
03600
03611
03612
03613
03614
03615
03616
03617
03618
03619
03620 xcb_generic_iterator_t
03621 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i );
03622
03632
03633
03634
03635
03636
03637
03638
03639
03640
03641 void
03642 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i );
03643
03654
03655
03656
03657
03658
03659
03660
03661
03662
03663 xcb_generic_iterator_t
03664 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i );
03665
03666
03667 #ifdef __cplusplus
03668 }
03669 #endif
03670
03671 #endif
03672