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
00027 typedef uint32_t xcb_randr_mode_t;
00028
00032 typedef struct xcb_randr_mode_iterator_t {
00033 xcb_randr_mode_t *data;
00034 int rem;
00035 int index;
00036 } xcb_randr_mode_iterator_t;
00037
00038 typedef uint32_t xcb_randr_crtc_t;
00039
00043 typedef struct xcb_randr_crtc_iterator_t {
00044 xcb_randr_crtc_t *data;
00045 int rem;
00046 int index;
00047 } xcb_randr_crtc_iterator_t;
00048
00049 typedef uint32_t xcb_randr_output_t;
00050
00054 typedef struct xcb_randr_output_iterator_t {
00055 xcb_randr_output_t *data;
00056 int rem;
00057 int index;
00058 } xcb_randr_output_iterator_t;
00059
00061 #define XCB_RANDR_BAD_OUTPUT 0
00062
00066 typedef struct xcb_randr_bad_output_error_t {
00067 uint8_t response_type;
00068 uint8_t error_code;
00069 uint16_t sequence;
00070 } xcb_randr_bad_output_error_t;
00071
00073 #define XCB_RANDR_BAD_CRTC 1
00074
00078 typedef struct xcb_randr_bad_crtc_error_t {
00079 uint8_t response_type;
00080 uint8_t error_code;
00081 uint16_t sequence;
00082 } xcb_randr_bad_crtc_error_t;
00083
00085 #define XCB_RANDR_BAD_MODE 2
00086
00090 typedef struct xcb_randr_bad_mode_error_t {
00091 uint8_t response_type;
00092 uint8_t error_code;
00093 uint16_t sequence;
00094 } xcb_randr_bad_mode_error_t;
00095
00096 typedef enum xcb_randr_rotation_t {
00097 XCB_RANDR_ROTATION_ROTATE_0 = 1,
00098 XCB_RANDR_ROTATION_ROTATE_90 = 2,
00099 XCB_RANDR_ROTATION_ROTATE_180 = 4,
00100 XCB_RANDR_ROTATION_ROTATE_270 = 8,
00101 XCB_RANDR_ROTATION_REFLECT_X = 16,
00102 XCB_RANDR_ROTATION_REFLECT_Y = 32
00103 } xcb_randr_rotation_t;
00104
00108 typedef struct xcb_randr_screen_size_t {
00109 uint16_t width;
00110 uint16_t height;
00111 uint16_t mwidth;
00112 uint16_t mheight;
00113 } xcb_randr_screen_size_t;
00114
00118 typedef struct xcb_randr_screen_size_iterator_t {
00119 xcb_randr_screen_size_t *data;
00120 int rem;
00121 int index;
00122 } xcb_randr_screen_size_iterator_t;
00123
00127 typedef struct xcb_randr_refresh_rates_t {
00128 uint16_t nRates;
00129 } xcb_randr_refresh_rates_t;
00130
00134 typedef struct xcb_randr_refresh_rates_iterator_t {
00135 xcb_randr_refresh_rates_t *data;
00136 int rem;
00137 int index;
00138 } xcb_randr_refresh_rates_iterator_t;
00139
00143 typedef struct xcb_randr_query_version_cookie_t {
00144 unsigned int sequence;
00145 } xcb_randr_query_version_cookie_t;
00146
00148 #define XCB_RANDR_QUERY_VERSION 0
00149
00153 typedef struct xcb_randr_query_version_request_t {
00154 uint8_t major_opcode;
00155 uint8_t minor_opcode;
00156 uint16_t length;
00157 uint32_t major_version;
00158 uint32_t minor_version;
00159 } xcb_randr_query_version_request_t;
00160
00164 typedef struct xcb_randr_query_version_reply_t {
00165 uint8_t response_type;
00166 uint8_t pad0;
00167 uint16_t sequence;
00168 uint32_t length;
00169 uint32_t major_version;
00170 uint32_t minor_version;
00171 uint8_t pad1[16];
00172 } xcb_randr_query_version_reply_t;
00173
00177 typedef struct xcb_randr_set_screen_config_cookie_t {
00178 unsigned int sequence;
00179 } xcb_randr_set_screen_config_cookie_t;
00180
00182 #define XCB_RANDR_SET_SCREEN_CONFIG 2
00183
00187 typedef struct xcb_randr_set_screen_config_request_t {
00188 uint8_t major_opcode;
00189 uint8_t minor_opcode;
00190 uint16_t length;
00191 xcb_window_t window;
00192 xcb_timestamp_t timestamp;
00193 xcb_timestamp_t config_timestamp;
00194 uint16_t sizeID;
00195 uint16_t rotation;
00196 uint16_t rate;
00197 uint8_t pad0[2];
00198 } xcb_randr_set_screen_config_request_t;
00199
00203 typedef struct xcb_randr_set_screen_config_reply_t {
00204 uint8_t response_type;
00205 uint8_t status;
00206 uint16_t sequence;
00207 uint32_t length;
00208 xcb_timestamp_t new_timestamp;
00209 xcb_timestamp_t config_timestamp;
00210 xcb_window_t root;
00211 uint16_t subpixel_order;
00212 uint8_t pad0[10];
00213 } xcb_randr_set_screen_config_reply_t;
00214
00215 typedef enum xcb_randr_set_config_t {
00216 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
00217 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
00218 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
00219 XCB_RANDR_SET_CONFIG_FAILED = 3
00220 } xcb_randr_set_config_t;
00221
00223 #define XCB_RANDR_SELECT_INPUT 4
00224
00228 typedef struct xcb_randr_select_input_request_t {
00229 uint8_t major_opcode;
00230 uint8_t minor_opcode;
00231 uint16_t length;
00232 xcb_window_t window;
00233 uint16_t enable;
00234 uint8_t pad0[2];
00235 } xcb_randr_select_input_request_t;
00236
00240 typedef struct xcb_randr_get_screen_info_cookie_t {
00241 unsigned int sequence;
00242 } xcb_randr_get_screen_info_cookie_t;
00243
00245 #define XCB_RANDR_GET_SCREEN_INFO 5
00246
00250 typedef struct xcb_randr_get_screen_info_request_t {
00251 uint8_t major_opcode;
00252 uint8_t minor_opcode;
00253 uint16_t length;
00254 xcb_window_t window;
00255 } xcb_randr_get_screen_info_request_t;
00256
00260 typedef struct xcb_randr_get_screen_info_reply_t {
00261 uint8_t response_type;
00262 uint8_t rotations;
00263 uint16_t sequence;
00264 uint32_t length;
00265 xcb_window_t root;
00266 xcb_timestamp_t timestamp;
00267 xcb_timestamp_t config_timestamp;
00268 uint16_t nSizes;
00269 uint16_t sizeID;
00270 uint16_t rotation;
00271 uint16_t rate;
00272 uint16_t nInfo;
00273 uint8_t pad0[2];
00274 } xcb_randr_get_screen_info_reply_t;
00275
00279 typedef struct xcb_randr_get_screen_size_range_cookie_t {
00280 unsigned int sequence;
00281 } xcb_randr_get_screen_size_range_cookie_t;
00282
00284 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
00285
00289 typedef struct xcb_randr_get_screen_size_range_request_t {
00290 uint8_t major_opcode;
00291 uint8_t minor_opcode;
00292 uint16_t length;
00293 xcb_window_t window;
00294 } xcb_randr_get_screen_size_range_request_t;
00295
00299 typedef struct xcb_randr_get_screen_size_range_reply_t {
00300 uint8_t response_type;
00301 uint8_t pad0;
00302 uint16_t sequence;
00303 uint32_t length;
00304 uint16_t min_width;
00305 uint16_t min_height;
00306 uint16_t max_width;
00307 uint16_t max_height;
00308 uint8_t pad1[16];
00309 } xcb_randr_get_screen_size_range_reply_t;
00310
00312 #define XCB_RANDR_SET_SCREEN_SIZE 7
00313
00317 typedef struct xcb_randr_set_screen_size_request_t {
00318 uint8_t major_opcode;
00319 uint8_t minor_opcode;
00320 uint16_t length;
00321 xcb_window_t window;
00322 uint16_t width;
00323 uint16_t height;
00324 uint32_t mm_width;
00325 uint32_t mm_height;
00326 } xcb_randr_set_screen_size_request_t;
00327
00328 typedef enum xcb_randr_mode_flag_t {
00329 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
00330 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
00331 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
00332 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
00333 XCB_RANDR_MODE_FLAG_INTERLACE = 16,
00334 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
00335 XCB_RANDR_MODE_FLAG_CSYNC = 64,
00336 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
00337 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
00338 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
00339 XCB_RANDR_MODE_FLAG_BCAST = 1024,
00340 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
00341 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
00342 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
00343 } xcb_randr_mode_flag_t;
00344
00348 typedef struct xcb_randr_mode_info_t {
00349 uint32_t id;
00350 uint16_t width;
00351 uint16_t height;
00352 uint32_t dot_clock;
00353 uint16_t hsync_start;
00354 uint16_t hsync_end;
00355 uint16_t htotal;
00356 uint16_t hskew;
00357 uint16_t vsync_start;
00358 uint16_t vsync_end;
00359 uint16_t vtotal;
00360 uint16_t name_len;
00361 uint32_t mode_flags;
00362 } xcb_randr_mode_info_t;
00363
00367 typedef struct xcb_randr_mode_info_iterator_t {
00368 xcb_randr_mode_info_t *data;
00369 int rem;
00370 int index;
00371 } xcb_randr_mode_info_iterator_t;
00372
00376 typedef struct xcb_randr_get_screen_resources_cookie_t {
00377 unsigned int sequence;
00378 } xcb_randr_get_screen_resources_cookie_t;
00379
00381 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
00382
00386 typedef struct xcb_randr_get_screen_resources_request_t {
00387 uint8_t major_opcode;
00388 uint8_t minor_opcode;
00389 uint16_t length;
00390 xcb_window_t window;
00391 } xcb_randr_get_screen_resources_request_t;
00392
00396 typedef struct xcb_randr_get_screen_resources_reply_t {
00397 uint8_t response_type;
00398 uint8_t pad0;
00399 uint16_t sequence;
00400 uint32_t length;
00401 xcb_timestamp_t timestamp;
00402 xcb_timestamp_t config_timestamp;
00403 uint16_t num_crtcs;
00404 uint16_t num_outputs;
00405 uint16_t num_modes;
00406 uint16_t names_len;
00407 uint8_t pad1[8];
00408 } xcb_randr_get_screen_resources_reply_t;
00409
00410 typedef enum xcb_randr_connection_t {
00411 XCB_RANDR_CONNECTION_CONNECTED,
00412 XCB_RANDR_CONNECTION_DISCONNECTED,
00413 XCB_RANDR_CONNECTION_UNKNOWN
00414 } xcb_randr_connection_t;
00415
00419 typedef struct xcb_randr_get_output_info_cookie_t {
00420 unsigned int sequence;
00421 } xcb_randr_get_output_info_cookie_t;
00422
00424 #define XCB_RANDR_GET_OUTPUT_INFO 9
00425
00429 typedef struct xcb_randr_get_output_info_request_t {
00430 uint8_t major_opcode;
00431 uint8_t minor_opcode;
00432 uint16_t length;
00433 xcb_randr_output_t output;
00434 xcb_timestamp_t config_timestamp;
00435 } xcb_randr_get_output_info_request_t;
00436
00440 typedef struct xcb_randr_get_output_info_reply_t {
00441 uint8_t response_type;
00442 uint8_t status;
00443 uint16_t sequence;
00444 uint32_t length;
00445 xcb_timestamp_t timestamp;
00446 xcb_randr_crtc_t crtc;
00447 uint32_t mm_width;
00448 uint32_t mm_height;
00449 uint8_t connection;
00450 uint8_t subpixel_order;
00451 uint16_t num_crtcs;
00452 uint16_t num_modes;
00453 uint16_t num_preferred;
00454 uint16_t num_clones;
00455 uint16_t name_len;
00456 } xcb_randr_get_output_info_reply_t;
00457
00461 typedef struct xcb_randr_list_output_properties_cookie_t {
00462 unsigned int sequence;
00463 } xcb_randr_list_output_properties_cookie_t;
00464
00466 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
00467
00471 typedef struct xcb_randr_list_output_properties_request_t {
00472 uint8_t major_opcode;
00473 uint8_t minor_opcode;
00474 uint16_t length;
00475 xcb_randr_output_t output;
00476 } xcb_randr_list_output_properties_request_t;
00477
00481 typedef struct xcb_randr_list_output_properties_reply_t {
00482 uint8_t response_type;
00483 uint8_t pad0;
00484 uint16_t sequence;
00485 uint32_t length;
00486 uint16_t num_atoms;
00487 uint8_t pad1[22];
00488 } xcb_randr_list_output_properties_reply_t;
00489
00493 typedef struct xcb_randr_query_output_property_cookie_t {
00494 unsigned int sequence;
00495 } xcb_randr_query_output_property_cookie_t;
00496
00498 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
00499
00503 typedef struct xcb_randr_query_output_property_request_t {
00504 uint8_t major_opcode;
00505 uint8_t minor_opcode;
00506 uint16_t length;
00507 xcb_randr_output_t output;
00508 xcb_atom_t property;
00509 } xcb_randr_query_output_property_request_t;
00510
00514 typedef struct xcb_randr_query_output_property_reply_t {
00515 uint8_t response_type;
00516 uint8_t pad0;
00517 uint16_t sequence;
00518 uint32_t length;
00519 uint8_t pending;
00520 uint8_t range;
00521 uint8_t immutable;
00522 uint8_t pad1[21];
00523 } xcb_randr_query_output_property_reply_t;
00524
00526 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
00527
00531 typedef struct xcb_randr_configure_output_property_request_t {
00532 uint8_t major_opcode;
00533 uint8_t minor_opcode;
00534 uint16_t length;
00535 xcb_randr_output_t output;
00536 xcb_atom_t property;
00537 uint8_t pending;
00538 uint8_t range;
00539 uint8_t pad0[2];
00540 } xcb_randr_configure_output_property_request_t;
00541
00543 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
00544
00548 typedef struct xcb_randr_change_output_property_request_t {
00549 uint8_t major_opcode;
00550 uint8_t minor_opcode;
00551 uint16_t length;
00552 xcb_randr_output_t output;
00553 xcb_atom_t property;
00554 xcb_atom_t type;
00555 uint8_t format;
00556 uint8_t mode;
00557 uint8_t pad0[2];
00558 uint32_t num_units;
00559 } xcb_randr_change_output_property_request_t;
00560
00562 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
00563
00567 typedef struct xcb_randr_delete_output_property_request_t {
00568 uint8_t major_opcode;
00569 uint8_t minor_opcode;
00570 uint16_t length;
00571 xcb_randr_output_t output;
00572 xcb_atom_t property;
00573 } xcb_randr_delete_output_property_request_t;
00574
00578 typedef struct xcb_randr_get_output_property_cookie_t {
00579 unsigned int sequence;
00580 } xcb_randr_get_output_property_cookie_t;
00581
00583 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
00584
00588 typedef struct xcb_randr_get_output_property_request_t {
00589 uint8_t major_opcode;
00590 uint8_t minor_opcode;
00591 uint16_t length;
00592 xcb_randr_output_t output;
00593 xcb_atom_t property;
00594 xcb_atom_t type;
00595 uint32_t long_offset;
00596 uint32_t long_length;
00597 uint8_t _delete;
00598 uint8_t pending;
00599 uint8_t pad0[2];
00600 } xcb_randr_get_output_property_request_t;
00601
00605 typedef struct xcb_randr_get_output_property_reply_t {
00606 uint8_t response_type;
00607 uint8_t format;
00608 uint16_t sequence;
00609 uint32_t length;
00610 xcb_atom_t type;
00611 uint32_t bytes_after;
00612 uint32_t num_items;
00613 uint8_t pad0[12];
00614 } xcb_randr_get_output_property_reply_t;
00615
00619 typedef struct xcb_randr_create_mode_cookie_t {
00620 unsigned int sequence;
00621 } xcb_randr_create_mode_cookie_t;
00622
00624 #define XCB_RANDR_CREATE_MODE 16
00625
00629 typedef struct xcb_randr_create_mode_request_t {
00630 uint8_t major_opcode;
00631 uint8_t minor_opcode;
00632 uint16_t length;
00633 xcb_window_t window;
00634 xcb_randr_mode_info_t mode_info;
00635 } xcb_randr_create_mode_request_t;
00636
00640 typedef struct xcb_randr_create_mode_reply_t {
00641 uint8_t response_type;
00642 uint8_t pad0;
00643 uint16_t sequence;
00644 uint32_t length;
00645 xcb_randr_mode_t mode;
00646 uint8_t pad1[20];
00647 } xcb_randr_create_mode_reply_t;
00648
00650 #define XCB_RANDR_DESTROY_MODE 17
00651
00655 typedef struct xcb_randr_destroy_mode_request_t {
00656 uint8_t major_opcode;
00657 uint8_t minor_opcode;
00658 uint16_t length;
00659 xcb_randr_mode_t mode;
00660 } xcb_randr_destroy_mode_request_t;
00661
00663 #define XCB_RANDR_ADD_OUTPUT_MODE 18
00664
00668 typedef struct xcb_randr_add_output_mode_request_t {
00669 uint8_t major_opcode;
00670 uint8_t minor_opcode;
00671 uint16_t length;
00672 xcb_randr_output_t output;
00673 xcb_randr_mode_t mode;
00674 } xcb_randr_add_output_mode_request_t;
00675
00677 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
00678
00682 typedef struct xcb_randr_delete_output_mode_request_t {
00683 uint8_t major_opcode;
00684 uint8_t minor_opcode;
00685 uint16_t length;
00686 xcb_randr_output_t output;
00687 xcb_randr_mode_t mode;
00688 } xcb_randr_delete_output_mode_request_t;
00689
00693 typedef struct xcb_randr_get_crtc_info_cookie_t {
00694 unsigned int sequence;
00695 } xcb_randr_get_crtc_info_cookie_t;
00696
00698 #define XCB_RANDR_GET_CRTC_INFO 20
00699
00703 typedef struct xcb_randr_get_crtc_info_request_t {
00704 uint8_t major_opcode;
00705 uint8_t minor_opcode;
00706 uint16_t length;
00707 xcb_randr_crtc_t crtc;
00708 xcb_timestamp_t config_timestamp;
00709 } xcb_randr_get_crtc_info_request_t;
00710
00714 typedef struct xcb_randr_get_crtc_info_reply_t {
00715 uint8_t response_type;
00716 uint8_t status;
00717 uint16_t sequence;
00718 uint32_t length;
00719 xcb_timestamp_t timestamp;
00720 int16_t x;
00721 int16_t y;
00722 uint16_t width;
00723 uint16_t height;
00724 xcb_randr_mode_t mode;
00725 uint16_t rotation;
00726 uint16_t rotations;
00727 uint16_t num_outputs;
00728 uint16_t num_possible_outputs;
00729 } xcb_randr_get_crtc_info_reply_t;
00730
00734 typedef struct xcb_randr_set_crtc_config_cookie_t {
00735 unsigned int sequence;
00736 } xcb_randr_set_crtc_config_cookie_t;
00737
00739 #define XCB_RANDR_SET_CRTC_CONFIG 21
00740
00744 typedef struct xcb_randr_set_crtc_config_request_t {
00745 uint8_t major_opcode;
00746 uint8_t minor_opcode;
00747 uint16_t length;
00748 xcb_randr_crtc_t crtc;
00749 xcb_timestamp_t timestamp;
00750 xcb_timestamp_t config_timestamp;
00751 int16_t x;
00752 int16_t y;
00753 xcb_randr_mode_t mode;
00754 uint16_t rotation;
00755 uint8_t pad0[2];
00756 } xcb_randr_set_crtc_config_request_t;
00757
00761 typedef struct xcb_randr_set_crtc_config_reply_t {
00762 uint8_t response_type;
00763 uint8_t status;
00764 uint16_t sequence;
00765 uint32_t length;
00766 xcb_timestamp_t timestamp;
00767 uint8_t pad0[20];
00768 } xcb_randr_set_crtc_config_reply_t;
00769
00773 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
00774 unsigned int sequence;
00775 } xcb_randr_get_crtc_gamma_size_cookie_t;
00776
00778 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
00779
00783 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
00784 uint8_t major_opcode;
00785 uint8_t minor_opcode;
00786 uint16_t length;
00787 xcb_randr_crtc_t crtc;
00788 } xcb_randr_get_crtc_gamma_size_request_t;
00789
00793 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
00794 uint8_t response_type;
00795 uint8_t pad0;
00796 uint16_t sequence;
00797 uint32_t length;
00798 uint16_t size;
00799 uint8_t pad1[22];
00800 } xcb_randr_get_crtc_gamma_size_reply_t;
00801
00805 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
00806 unsigned int sequence;
00807 } xcb_randr_get_crtc_gamma_cookie_t;
00808
00810 #define XCB_RANDR_GET_CRTC_GAMMA 23
00811
00815 typedef struct xcb_randr_get_crtc_gamma_request_t {
00816 uint8_t major_opcode;
00817 uint8_t minor_opcode;
00818 uint16_t length;
00819 xcb_randr_crtc_t crtc;
00820 } xcb_randr_get_crtc_gamma_request_t;
00821
00825 typedef struct xcb_randr_get_crtc_gamma_reply_t {
00826 uint8_t response_type;
00827 uint8_t pad0;
00828 uint16_t sequence;
00829 uint32_t length;
00830 uint16_t size;
00831 uint8_t pad1[22];
00832 } xcb_randr_get_crtc_gamma_reply_t;
00833
00835 #define XCB_RANDR_SET_CRTC_GAMMA 24
00836
00840 typedef struct xcb_randr_set_crtc_gamma_request_t {
00841 uint8_t major_opcode;
00842 uint8_t minor_opcode;
00843 uint16_t length;
00844 xcb_randr_crtc_t crtc;
00845 uint16_t size;
00846 uint8_t pad0[2];
00847 } xcb_randr_set_crtc_gamma_request_t;
00848
00849 typedef enum xcb_randr_notify_mask_t {
00850 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
00851 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
00852 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
00853 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8
00854 } xcb_randr_notify_mask_t;
00855
00857 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
00858
00862 typedef struct xcb_randr_screen_change_notify_event_t {
00863 uint8_t response_type;
00864 uint8_t rotation;
00865 uint16_t sequence;
00866 xcb_timestamp_t timestamp;
00867 xcb_timestamp_t config_timestamp;
00868 xcb_window_t root;
00869 xcb_window_t request_window;
00870 uint16_t sizeID;
00871 uint16_t subpixel_order;
00872 uint16_t width;
00873 uint16_t height;
00874 uint16_t mwidth;
00875 uint16_t mheight;
00876 } xcb_randr_screen_change_notify_event_t;
00877
00878 typedef enum xcb_randr_notify_t {
00879 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
00880 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
00881 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2
00882 } xcb_randr_notify_t;
00883
00887 typedef struct xcb_randr_crtc_change_t {
00888 xcb_timestamp_t timestamp;
00889 xcb_window_t window;
00890 xcb_randr_crtc_t crtc;
00891 xcb_randr_mode_t mode;
00892 uint16_t rotation;
00893 uint8_t pad0[2];
00894 int16_t x;
00895 int16_t y;
00896 uint16_t width;
00897 uint16_t height;
00898 } xcb_randr_crtc_change_t;
00899
00903 typedef struct xcb_randr_crtc_change_iterator_t {
00904 xcb_randr_crtc_change_t *data;
00905 int rem;
00906 int index;
00907 } xcb_randr_crtc_change_iterator_t;
00908
00912 typedef struct xcb_randr_output_change_t {
00913 xcb_timestamp_t timestamp;
00914 xcb_timestamp_t config_timestamp;
00915 xcb_window_t window;
00916 xcb_randr_output_t output;
00917 xcb_randr_crtc_t crtc;
00918 xcb_randr_mode_t mode;
00919 uint16_t rotation;
00920 uint8_t connection;
00921 uint8_t subpixel_order;
00922 } xcb_randr_output_change_t;
00923
00927 typedef struct xcb_randr_output_change_iterator_t {
00928 xcb_randr_output_change_t *data;
00929 int rem;
00930 int index;
00931 } xcb_randr_output_change_iterator_t;
00932
00936 typedef struct xcb_randr_output_property_t {
00937 xcb_window_t window;
00938 xcb_randr_output_t output;
00939 xcb_atom_t atom;
00940 xcb_timestamp_t timestamp;
00941 uint8_t status;
00942 uint8_t pad0[11];
00943 } xcb_randr_output_property_t;
00944
00948 typedef struct xcb_randr_output_property_iterator_t {
00949 xcb_randr_output_property_t *data;
00950 int rem;
00951 int index;
00952 } xcb_randr_output_property_iterator_t;
00953
00957 typedef union xcb_randr_notify_data_t {
00958 xcb_randr_crtc_change_t cc;
00959 xcb_randr_output_change_t oc;
00960 xcb_randr_output_property_t op;
00961 } xcb_randr_notify_data_t;
00962
00966 typedef struct xcb_randr_notify_data_iterator_t {
00967 xcb_randr_notify_data_t *data;
00968 int rem;
00969 int index;
00970 } xcb_randr_notify_data_iterator_t;
00971
00973 #define XCB_RANDR_NOTIFY 1
00974
00978 typedef struct xcb_randr_notify_event_t {
00979 uint8_t response_type;
00980 uint8_t subCode;
00981 uint16_t sequence;
00982 xcb_randr_notify_data_t u;
00983 } xcb_randr_notify_event_t;
00984
00994
00995
00996
00997
00998
00999
01000
01001
01002
01003 void
01004 xcb_randr_mode_next (xcb_randr_mode_iterator_t *i );
01005
01016
01017
01018
01019
01020
01021
01022
01023
01024
01025 xcb_generic_iterator_t
01026 xcb_randr_mode_end (xcb_randr_mode_iterator_t i );
01027
01037
01038
01039
01040
01041
01042
01043
01044
01045
01046 void
01047 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t *i );
01048
01059
01060
01061
01062
01063
01064
01065
01066
01067
01068 xcb_generic_iterator_t
01069 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i );
01070
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089 void
01090 xcb_randr_output_next (xcb_randr_output_iterator_t *i );
01091
01102
01103
01104
01105
01106
01107
01108
01109
01110
01111 xcb_generic_iterator_t
01112 xcb_randr_output_end (xcb_randr_output_iterator_t i );
01113
01123
01124
01125
01126
01127
01128
01129
01130
01131
01132 void
01133 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i );
01134
01145
01146
01147
01148
01149
01150
01151
01152
01153
01154 xcb_generic_iterator_t
01155 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i );
01156
01157
01158
01159
01160
01161
01162
01163
01164
01165
01166
01167 uint16_t *
01168 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R );
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178
01179
01180 int
01181 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R );
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193 xcb_generic_iterator_t
01194 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R );
01195
01205
01206
01207
01208
01209
01210
01211
01212
01213
01214 void
01215 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i );
01216
01227
01228
01229
01230
01231
01232
01233
01234
01235
01236 xcb_generic_iterator_t
01237 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i );
01238
01248
01249
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259 xcb_randr_query_version_cookie_t
01260 xcb_randr_query_version (xcb_connection_t *c ,
01261 uint32_t major_version ,
01262 uint32_t minor_version );
01263
01276
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286
01287 xcb_randr_query_version_cookie_t
01288 xcb_randr_query_version_unchecked (xcb_connection_t *c ,
01289 uint32_t major_version ,
01290 uint32_t minor_version );
01291
01307
01308
01309
01310
01311
01312
01313
01314
01315
01316
01317
01318 xcb_randr_query_version_reply_t *
01319 xcb_randr_query_version_reply (xcb_connection_t *c ,
01320 xcb_randr_query_version_cookie_t cookie ,
01321 xcb_generic_error_t **e );
01322
01332
01333
01334
01335
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346
01347 xcb_randr_set_screen_config_cookie_t
01348 xcb_randr_set_screen_config (xcb_connection_t *c ,
01349 xcb_window_t window ,
01350 xcb_timestamp_t timestamp ,
01351 xcb_timestamp_t config_timestamp ,
01352 uint16_t sizeID ,
01353 uint16_t rotation ,
01354 uint16_t rate );
01355
01368
01369
01370
01371
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381
01382
01383 xcb_randr_set_screen_config_cookie_t
01384 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c ,
01385 xcb_window_t window ,
01386 xcb_timestamp_t timestamp ,
01387 xcb_timestamp_t config_timestamp ,
01388 uint16_t sizeID ,
01389 uint16_t rotation ,
01390 uint16_t rate );
01391
01407
01408
01409
01410
01411
01412
01413
01414
01415
01416
01417
01418 xcb_randr_set_screen_config_reply_t *
01419 xcb_randr_set_screen_config_reply (xcb_connection_t *c ,
01420 xcb_randr_set_screen_config_cookie_t cookie ,
01421 xcb_generic_error_t **e );
01422
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444
01445
01446 xcb_void_cookie_t
01447 xcb_randr_select_input_checked (xcb_connection_t *c ,
01448 xcb_window_t window ,
01449 uint16_t enable );
01450
01460
01461
01462
01463
01464
01465
01466
01467
01468
01469
01470
01471 xcb_void_cookie_t
01472 xcb_randr_select_input (xcb_connection_t *c ,
01473 xcb_window_t window ,
01474 uint16_t enable );
01475
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495 xcb_randr_get_screen_info_cookie_t
01496 xcb_randr_get_screen_info (xcb_connection_t *c ,
01497 xcb_window_t window );
01498
01511
01512
01513
01514
01515
01516
01517
01518
01519
01520
01521 xcb_randr_get_screen_info_cookie_t
01522 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c ,
01523 xcb_window_t window );
01524
01525
01526
01527
01528
01529
01530
01531
01532
01533
01534
01535 xcb_randr_screen_size_t *
01536 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R );
01537
01538
01539
01540
01541
01542
01543
01544
01545
01546
01547
01548 int
01549 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R );
01550
01551
01552
01553
01554
01555
01556
01557
01558
01559
01560
01561 xcb_randr_screen_size_iterator_t
01562 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R );
01563
01564
01565
01566
01567
01568
01569
01570
01571
01572
01573
01574 int
01575 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R );
01576
01577
01578
01579
01580
01581
01582
01583
01584
01585
01586
01587 xcb_randr_refresh_rates_iterator_t
01588 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R );
01589
01605
01606
01607
01608
01609
01610
01611
01612
01613
01614
01615
01616 xcb_randr_get_screen_info_reply_t *
01617 xcb_randr_get_screen_info_reply (xcb_connection_t *c ,
01618 xcb_randr_get_screen_info_cookie_t cookie ,
01619 xcb_generic_error_t **e );
01620
01630
01631
01632
01633
01634
01635
01636
01637
01638
01639
01640 xcb_randr_get_screen_size_range_cookie_t
01641 xcb_randr_get_screen_size_range (xcb_connection_t *c ,
01642 xcb_window_t window );
01643
01656
01657
01658
01659
01660
01661
01662
01663
01664
01665
01666 xcb_randr_get_screen_size_range_cookie_t
01667 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c ,
01668 xcb_window_t window );
01669
01685
01686
01687
01688
01689
01690
01691
01692
01693
01694
01695
01696 xcb_randr_get_screen_size_range_reply_t *
01697 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c ,
01698 xcb_randr_get_screen_size_range_cookie_t cookie ,
01699 xcb_generic_error_t **e );
01700
01713
01714
01715
01716
01717
01718
01719
01720
01721
01722
01723
01724
01725
01726
01727 xcb_void_cookie_t
01728 xcb_randr_set_screen_size_checked (xcb_connection_t *c ,
01729 xcb_window_t window ,
01730 uint16_t width ,
01731 uint16_t height ,
01732 uint32_t mm_width ,
01733 uint32_t mm_height );
01734
01744
01745
01746
01747
01748
01749
01750
01751
01752
01753
01754
01755
01756
01757
01758 xcb_void_cookie_t
01759 xcb_randr_set_screen_size (xcb_connection_t *c ,
01760 xcb_window_t window ,
01761 uint16_t width ,
01762 uint16_t height ,
01763 uint32_t mm_width ,
01764 uint32_t mm_height );
01765
01775
01776
01777
01778
01779
01780
01781
01782
01783
01784 void
01785 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i );
01786
01797
01798
01799
01800
01801
01802
01803
01804
01805
01806 xcb_generic_iterator_t
01807 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i );
01808
01818
01819
01820
01821
01822
01823
01824
01825
01826
01827
01828 xcb_randr_get_screen_resources_cookie_t
01829 xcb_randr_get_screen_resources (xcb_connection_t *c ,
01830 xcb_window_t window );
01831
01844
01845
01846
01847
01848
01849
01850
01851
01852
01853
01854 xcb_randr_get_screen_resources_cookie_t
01855 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c ,
01856 xcb_window_t window );
01857
01858
01859
01860
01861
01862
01863
01864
01865
01866
01867
01868 xcb_randr_crtc_t *
01869 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R );
01870
01871
01872
01873
01874
01875
01876
01877
01878
01879
01880
01881 int
01882 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R );
01883
01884
01885
01886
01887
01888
01889
01890
01891
01892
01893
01894 xcb_generic_iterator_t
01895 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R );
01896
01897
01898
01899
01900
01901
01902
01903
01904
01905
01906
01907 xcb_randr_output_t *
01908 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R );
01909
01910
01911
01912
01913
01914
01915
01916
01917
01918
01919
01920 int
01921 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R );
01922
01923
01924
01925
01926
01927
01928
01929
01930
01931
01932
01933 xcb_generic_iterator_t
01934 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R );
01935
01936
01937
01938
01939
01940
01941
01942
01943
01944
01945
01946 xcb_randr_mode_info_t *
01947 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R );
01948
01949
01950
01951
01952
01953
01954
01955
01956
01957
01958
01959 int
01960 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R );
01961
01962
01963
01964
01965
01966
01967
01968
01969
01970
01971
01972 xcb_randr_mode_info_iterator_t
01973 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R );
01974
01975
01976
01977
01978
01979
01980
01981
01982
01983
01984
01985 uint8_t *
01986 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R );
01987
01988
01989
01990
01991
01992
01993
01994
01995
01996
01997
01998 int
01999 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R );
02000
02001
02002
02003
02004
02005
02006
02007
02008
02009
02010
02011 xcb_generic_iterator_t
02012 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R );
02013
02029
02030
02031
02032
02033
02034
02035
02036
02037
02038
02039
02040 xcb_randr_get_screen_resources_reply_t *
02041 xcb_randr_get_screen_resources_reply (xcb_connection_t *c ,
02042 xcb_randr_get_screen_resources_cookie_t cookie ,
02043 xcb_generic_error_t **e );
02044
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065 xcb_randr_get_output_info_cookie_t
02066 xcb_randr_get_output_info (xcb_connection_t *c ,
02067 xcb_randr_output_t output ,
02068 xcb_timestamp_t config_timestamp );
02069
02082
02083
02084
02085
02086
02087
02088
02089
02090
02091
02092
02093 xcb_randr_get_output_info_cookie_t
02094 xcb_randr_get_output_info_unchecked (xcb_connection_t *c ,
02095 xcb_randr_output_t output ,
02096 xcb_timestamp_t config_timestamp );
02097
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107
02108 xcb_randr_crtc_t *
02109 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R );
02110
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120
02121 int
02122 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R );
02123
02124
02125
02126
02127
02128
02129
02130
02131
02132
02133
02134 xcb_generic_iterator_t
02135 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R );
02136
02137
02138
02139
02140
02141
02142
02143
02144
02145
02146
02147 xcb_randr_mode_t *
02148 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R );
02149
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159
02160 int
02161 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R );
02162
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172
02173 xcb_generic_iterator_t
02174 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R );
02175
02176
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186 xcb_randr_output_t *
02187 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R );
02188
02189
02190
02191
02192
02193
02194
02195
02196
02197
02198
02199 int
02200 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R );
02201
02202
02203
02204
02205
02206
02207
02208
02209
02210
02211
02212 xcb_generic_iterator_t
02213 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R );
02214
02215
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225 uint8_t *
02226 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R );
02227
02228
02229
02230
02231
02232
02233
02234
02235
02236
02237
02238 int
02239 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R );
02240
02241
02242
02243
02244
02245
02246
02247
02248
02249
02250
02251 xcb_generic_iterator_t
02252 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R );
02253
02269
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280 xcb_randr_get_output_info_reply_t *
02281 xcb_randr_get_output_info_reply (xcb_connection_t *c ,
02282 xcb_randr_get_output_info_cookie_t cookie ,
02283 xcb_generic_error_t **e );
02284
02294
02295
02296
02297
02298
02299
02300
02301
02302
02303
02304 xcb_randr_list_output_properties_cookie_t
02305 xcb_randr_list_output_properties (xcb_connection_t *c ,
02306 xcb_randr_output_t output );
02307
02320
02321
02322
02323
02324
02325
02326
02327
02328
02329
02330 xcb_randr_list_output_properties_cookie_t
02331 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c ,
02332 xcb_randr_output_t output );
02333
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344 xcb_atom_t *
02345 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R );
02346
02347
02348
02349
02350
02351
02352
02353
02354
02355
02356
02357 int
02358 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R );
02359
02360
02361
02362
02363
02364
02365
02366
02367
02368
02369
02370 xcb_generic_iterator_t
02371 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t *R );
02372
02388
02389
02390
02391
02392
02393
02394
02395
02396
02397
02398
02399 xcb_randr_list_output_properties_reply_t *
02400 xcb_randr_list_output_properties_reply (xcb_connection_t *c ,
02401 xcb_randr_list_output_properties_cookie_t cookie ,
02402 xcb_generic_error_t **e );
02403
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423
02424 xcb_randr_query_output_property_cookie_t
02425 xcb_randr_query_output_property (xcb_connection_t *c ,
02426 xcb_randr_output_t output ,
02427 xcb_atom_t property );
02428
02441
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452 xcb_randr_query_output_property_cookie_t
02453 xcb_randr_query_output_property_unchecked (xcb_connection_t *c ,
02454 xcb_randr_output_t output ,
02455 xcb_atom_t property );
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466
02467 int32_t *
02468 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R );
02469
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480 int
02481 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R );
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493 xcb_generic_iterator_t
02494 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R );
02495
02511
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522 xcb_randr_query_output_property_reply_t *
02523 xcb_randr_query_output_property_reply (xcb_connection_t *c ,
02524 xcb_randr_query_output_property_cookie_t cookie ,
02525 xcb_generic_error_t **e );
02526
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553
02554 xcb_void_cookie_t
02555 xcb_randr_configure_output_property_checked (xcb_connection_t *c ,
02556 xcb_randr_output_t output ,
02557 xcb_atom_t property ,
02558 uint8_t pending ,
02559 uint8_t range ,
02560 uint32_t values_len ,
02561 const int32_t *values );
02562
02572
02573
02574
02575
02576
02577
02578
02579
02580
02581
02582
02583
02584
02585
02586
02587 xcb_void_cookie_t
02588 xcb_randr_configure_output_property (xcb_connection_t *c ,
02589 xcb_randr_output_t output ,
02590 xcb_atom_t property ,
02591 uint8_t pending ,
02592 uint8_t range ,
02593 uint32_t values_len ,
02594 const int32_t *values );
02595
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617
02618
02619
02620
02621
02622
02623
02624 xcb_void_cookie_t
02625 xcb_randr_change_output_property_checked (xcb_connection_t *c ,
02626 xcb_randr_output_t output ,
02627 xcb_atom_t property ,
02628 xcb_atom_t type ,
02629 uint8_t format ,
02630 uint8_t mode ,
02631 uint32_t num_units ,
02632 const void *data );
02633
02643
02644
02645
02646
02647
02648
02649
02650
02651
02652
02653
02654
02655
02656
02657
02658
02659 xcb_void_cookie_t
02660 xcb_randr_change_output_property (xcb_connection_t *c ,
02661 xcb_randr_output_t output ,
02662 xcb_atom_t property ,
02663 xcb_atom_t type ,
02664 uint8_t format ,
02665 uint8_t mode ,
02666 uint32_t num_units ,
02667 const void *data );
02668
02681
02682
02683
02684
02685
02686
02687
02688
02689
02690
02691
02692 xcb_void_cookie_t
02693 xcb_randr_delete_output_property_checked (xcb_connection_t *c ,
02694 xcb_randr_output_t output ,
02695 xcb_atom_t property );
02696
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715
02716
02717 xcb_void_cookie_t
02718 xcb_randr_delete_output_property (xcb_connection_t *c ,
02719 xcb_randr_output_t output ,
02720 xcb_atom_t property );
02721
02731
02732
02733
02734
02735
02736
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746
02747 xcb_randr_get_output_property_cookie_t
02748 xcb_randr_get_output_property (xcb_connection_t *c ,
02749 xcb_randr_output_t output ,
02750 xcb_atom_t property ,
02751 xcb_atom_t type ,
02752 uint32_t long_offset ,
02753 uint32_t long_length ,
02754 uint8_t _delete ,
02755 uint8_t pending );
02756
02769
02770
02771
02772
02773
02774
02775
02776
02777
02778
02779
02780
02781
02782
02783
02784
02785 xcb_randr_get_output_property_cookie_t
02786 xcb_randr_get_output_property_unchecked (xcb_connection_t *c ,
02787 xcb_randr_output_t output ,
02788 xcb_atom_t property ,
02789 xcb_atom_t type ,
02790 uint32_t long_offset ,
02791 uint32_t long_length ,
02792 uint8_t _delete ,
02793 uint8_t pending );
02794
02795
02796
02797
02798
02799
02800
02801
02802
02803
02804
02805 uint8_t *
02806 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R );
02807
02808
02809
02810
02811
02812
02813
02814
02815
02816
02817
02818 int
02819 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R );
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830
02831 xcb_generic_iterator_t
02832 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R );
02833
02849
02850
02851
02852
02853
02854
02855
02856
02857
02858
02859
02860 xcb_randr_get_output_property_reply_t *
02861 xcb_randr_get_output_property_reply (xcb_connection_t *c ,
02862 xcb_randr_get_output_property_cookie_t cookie ,
02863 xcb_generic_error_t **e );
02864
02874
02875
02876
02877
02878
02879
02880
02881
02882
02883
02884
02885
02886
02887 xcb_randr_create_mode_cookie_t
02888 xcb_randr_create_mode (xcb_connection_t *c ,
02889 xcb_window_t window ,
02890 xcb_randr_mode_info_t mode_info ,
02891 uint32_t name_len ,
02892 const char *name );
02893
02906
02907
02908
02909
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919 xcb_randr_create_mode_cookie_t
02920 xcb_randr_create_mode_unchecked (xcb_connection_t *c ,
02921 xcb_window_t window ,
02922 xcb_randr_mode_info_t mode_info ,
02923 uint32_t name_len ,
02924 const char *name );
02925
02941
02942
02943
02944
02945
02946
02947
02948
02949
02950
02951
02952 xcb_randr_create_mode_reply_t *
02953 xcb_randr_create_mode_reply (xcb_connection_t *c ,
02954 xcb_randr_create_mode_cookie_t cookie ,
02955 xcb_generic_error_t **e );
02956
02969
02970
02971
02972
02973
02974
02975
02976
02977
02978
02979 xcb_void_cookie_t
02980 xcb_randr_destroy_mode_checked (xcb_connection_t *c ,
02981 xcb_randr_mode_t mode );
02982
02992
02993
02994
02995
02996
02997
02998
02999
03000
03001
03002 xcb_void_cookie_t
03003 xcb_randr_destroy_mode (xcb_connection_t *c ,
03004 xcb_randr_mode_t mode );
03005
03018
03019
03020
03021
03022
03023
03024
03025
03026
03027
03028
03029 xcb_void_cookie_t
03030 xcb_randr_add_output_mode_checked (xcb_connection_t *c ,
03031 xcb_randr_output_t output ,
03032 xcb_randr_mode_t mode );
03033
03043
03044
03045
03046
03047
03048
03049
03050
03051
03052
03053
03054 xcb_void_cookie_t
03055 xcb_randr_add_output_mode (xcb_connection_t *c ,
03056 xcb_randr_output_t output ,
03057 xcb_randr_mode_t mode );
03058
03071
03072
03073
03074
03075
03076
03077
03078
03079
03080
03081
03082 xcb_void_cookie_t
03083 xcb_randr_delete_output_mode_checked (xcb_connection_t *c ,
03084 xcb_randr_output_t output ,
03085 xcb_randr_mode_t mode );
03086
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105
03106
03107 xcb_void_cookie_t
03108 xcb_randr_delete_output_mode (xcb_connection_t *c ,
03109 xcb_randr_output_t output ,
03110 xcb_randr_mode_t mode );
03111
03121
03122
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132 xcb_randr_get_crtc_info_cookie_t
03133 xcb_randr_get_crtc_info (xcb_connection_t *c ,
03134 xcb_randr_crtc_t crtc ,
03135 xcb_timestamp_t config_timestamp );
03136
03149
03150
03151
03152
03153
03154
03155
03156
03157
03158
03159
03160 xcb_randr_get_crtc_info_cookie_t
03161 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c ,
03162 xcb_randr_crtc_t crtc ,
03163 xcb_timestamp_t config_timestamp );
03164
03165
03166
03167
03168
03169
03170
03171
03172
03173
03174
03175 xcb_randr_output_t *
03176 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R );
03177
03178
03179
03180
03181
03182
03183
03184
03185
03186
03187
03188 int
03189 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R );
03190
03191
03192
03193
03194
03195
03196
03197
03198
03199
03200
03201 xcb_generic_iterator_t
03202 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R );
03203
03204
03205
03206
03207
03208
03209
03210
03211
03212
03213
03214 xcb_randr_output_t *
03215 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t *R );
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227 int
03228 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t *R );
03229
03230
03231
03232
03233
03234
03235
03236
03237
03238
03239
03240 xcb_generic_iterator_t
03241 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t *R );
03242
03258
03259
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269 xcb_randr_get_crtc_info_reply_t *
03270 xcb_randr_get_crtc_info_reply (xcb_connection_t *c ,
03271 xcb_randr_get_crtc_info_cookie_t cookie ,
03272 xcb_generic_error_t **e );
03273
03283
03284
03285
03286
03287
03288
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300
03301 xcb_randr_set_crtc_config_cookie_t
03302 xcb_randr_set_crtc_config (xcb_connection_t *c ,
03303 xcb_randr_crtc_t crtc ,
03304 xcb_timestamp_t timestamp ,
03305 xcb_timestamp_t config_timestamp ,
03306 int16_t x ,
03307 int16_t y ,
03308 xcb_randr_mode_t mode ,
03309 uint16_t rotation ,
03310 uint32_t outputs_len ,
03311 const xcb_randr_output_t *outputs );
03312
03325
03326
03327
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341
03342
03343 xcb_randr_set_crtc_config_cookie_t
03344 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c ,
03345 xcb_randr_crtc_t crtc ,
03346 xcb_timestamp_t timestamp ,
03347 xcb_timestamp_t config_timestamp ,
03348 int16_t x ,
03349 int16_t y ,
03350 xcb_randr_mode_t mode ,
03351 uint16_t rotation ,
03352 uint32_t outputs_len ,
03353 const xcb_randr_output_t *outputs );
03354
03370
03371
03372
03373
03374
03375
03376
03377
03378
03379
03380
03381 xcb_randr_set_crtc_config_reply_t *
03382 xcb_randr_set_crtc_config_reply (xcb_connection_t *c ,
03383 xcb_randr_set_crtc_config_cookie_t cookie ,
03384 xcb_generic_error_t **e );
03385
03395
03396
03397
03398
03399
03400
03401
03402
03403
03404
03405 xcb_randr_get_crtc_gamma_size_cookie_t
03406 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c ,
03407 xcb_randr_crtc_t crtc );
03408
03421
03422
03423
03424
03425
03426
03427
03428
03429
03430
03431 xcb_randr_get_crtc_gamma_size_cookie_t
03432 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c ,
03433 xcb_randr_crtc_t crtc );
03434
03450
03451
03452
03453
03454
03455
03456
03457
03458
03459
03460
03461 xcb_randr_get_crtc_gamma_size_reply_t *
03462 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c ,
03463 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
03464 xcb_generic_error_t **e );
03465
03475
03476
03477
03478
03479
03480
03481
03482
03483
03484
03485 xcb_randr_get_crtc_gamma_cookie_t
03486 xcb_randr_get_crtc_gamma (xcb_connection_t *c ,
03487 xcb_randr_crtc_t crtc );
03488
03501
03502
03503
03504
03505
03506
03507
03508
03509
03510
03511 xcb_randr_get_crtc_gamma_cookie_t
03512 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c ,
03513 xcb_randr_crtc_t crtc );
03514
03515
03516
03517
03518
03519
03520
03521
03522
03523
03524
03525 uint16_t *
03526 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R );
03527
03528
03529
03530
03531
03532
03533
03534
03535
03536
03537
03538 int
03539 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03540
03541
03542
03543
03544
03545
03546
03547
03548
03549
03550
03551 xcb_generic_iterator_t
03552 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03553
03554
03555
03556
03557
03558
03559
03560
03561
03562
03563
03564 uint16_t *
03565 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R );
03566
03567
03568
03569
03570
03571
03572
03573
03574
03575
03576
03577 int
03578 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03579
03580
03581
03582
03583
03584
03585
03586
03587
03588
03589
03590 xcb_generic_iterator_t
03591 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03592
03593
03594
03595
03596
03597
03598
03599
03600
03601
03602
03603 uint16_t *
03604 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R );
03605
03606
03607
03608
03609
03610
03611
03612
03613
03614
03615
03616 int
03617 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03618
03619
03620
03621
03622
03623
03624
03625
03626
03627
03628
03629 xcb_generic_iterator_t
03630 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03631
03647
03648
03649
03650
03651
03652
03653
03654
03655
03656
03657
03658 xcb_randr_get_crtc_gamma_reply_t *
03659 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c ,
03660 xcb_randr_get_crtc_gamma_cookie_t cookie ,
03661 xcb_generic_error_t **e );
03662
03675
03676
03677
03678
03679
03680
03681
03682
03683
03684
03685
03686
03687
03688
03689 xcb_void_cookie_t
03690 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c ,
03691 xcb_randr_crtc_t crtc ,
03692 uint16_t size ,
03693 const uint16_t *red ,
03694 const uint16_t *green ,
03695 const uint16_t *blue );
03696
03706
03707
03708
03709
03710
03711
03712
03713
03714
03715
03716
03717
03718
03719
03720 xcb_void_cookie_t
03721 xcb_randr_set_crtc_gamma (xcb_connection_t *c ,
03722 xcb_randr_crtc_t crtc ,
03723 uint16_t size ,
03724 const uint16_t *red ,
03725 const uint16_t *green ,
03726 const uint16_t *blue );
03727
03737
03738
03739
03740
03741
03742
03743
03744
03745
03746 void
03747 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i );
03748
03759
03760
03761
03762
03763
03764
03765
03766
03767
03768 xcb_generic_iterator_t
03769 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i );
03770
03780
03781
03782
03783
03784
03785
03786
03787
03788
03789 void
03790 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i );
03791
03802
03803
03804
03805
03806
03807
03808
03809
03810
03811 xcb_generic_iterator_t
03812 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i );
03813
03823
03824
03825
03826
03827
03828
03829
03830
03831
03832 void
03833 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i );
03834
03845
03846
03847
03848
03849
03850
03851
03852
03853
03854 xcb_generic_iterator_t
03855 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i );
03856
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875 void
03876 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i );
03877
03888
03889
03890
03891
03892
03893
03894
03895
03896
03897 xcb_generic_iterator_t
03898 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i );
03899
03900
03901 #ifdef __cplusplus
03902 }
03903 #endif
03904
03905 #endif
03906