00001
00002
00003
00004
00005
00012 #ifndef __RANDR_H
00013 #define __RANDR_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017 #include "render.h"
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00023 #define XCB_RANDR_MAJOR_VERSION 1
00024 #define XCB_RANDR_MINOR_VERSION 4
00025
00026 extern xcb_extension_t xcb_randr_id;
00027
00028 typedef uint32_t xcb_randr_mode_t;
00029
00033 typedef struct xcb_randr_mode_iterator_t {
00034 xcb_randr_mode_t *data;
00035 int rem;
00036 int index;
00037 } xcb_randr_mode_iterator_t;
00038
00039 typedef uint32_t xcb_randr_crtc_t;
00040
00044 typedef struct xcb_randr_crtc_iterator_t {
00045 xcb_randr_crtc_t *data;
00046 int rem;
00047 int index;
00048 } xcb_randr_crtc_iterator_t;
00049
00050 typedef uint32_t xcb_randr_output_t;
00051
00055 typedef struct xcb_randr_output_iterator_t {
00056 xcb_randr_output_t *data;
00057 int rem;
00058 int index;
00059 } xcb_randr_output_iterator_t;
00060
00061 typedef uint32_t xcb_randr_provider_t;
00062
00066 typedef struct xcb_randr_provider_iterator_t {
00067 xcb_randr_provider_t *data;
00068 int rem;
00069 int index;
00070 } xcb_randr_provider_iterator_t;
00071
00073 #define XCB_RANDR_BAD_OUTPUT 0
00074
00078 typedef struct xcb_randr_bad_output_error_t {
00079 uint8_t response_type;
00080 uint8_t error_code;
00081 uint16_t sequence;
00082 } xcb_randr_bad_output_error_t;
00083
00085 #define XCB_RANDR_BAD_CRTC 1
00086
00090 typedef struct xcb_randr_bad_crtc_error_t {
00091 uint8_t response_type;
00092 uint8_t error_code;
00093 uint16_t sequence;
00094 } xcb_randr_bad_crtc_error_t;
00095
00097 #define XCB_RANDR_BAD_MODE 2
00098
00102 typedef struct xcb_randr_bad_mode_error_t {
00103 uint8_t response_type;
00104 uint8_t error_code;
00105 uint16_t sequence;
00106 } xcb_randr_bad_mode_error_t;
00107
00109 #define XCB_RANDR_BAD_PROVIDER 3
00110
00114 typedef struct xcb_randr_bad_provider_error_t {
00115 uint8_t response_type;
00116 uint8_t error_code;
00117 uint16_t sequence;
00118 } xcb_randr_bad_provider_error_t;
00119
00120 typedef enum xcb_randr_rotation_t {
00121 XCB_RANDR_ROTATION_ROTATE_0 = 1,
00122 XCB_RANDR_ROTATION_ROTATE_90 = 2,
00123 XCB_RANDR_ROTATION_ROTATE_180 = 4,
00124 XCB_RANDR_ROTATION_ROTATE_270 = 8,
00125 XCB_RANDR_ROTATION_REFLECT_X = 16,
00126 XCB_RANDR_ROTATION_REFLECT_Y = 32
00127 } xcb_randr_rotation_t;
00128
00132 typedef struct xcb_randr_screen_size_t {
00133 uint16_t width;
00134 uint16_t height;
00135 uint16_t mwidth;
00136 uint16_t mheight;
00137 } xcb_randr_screen_size_t;
00138
00142 typedef struct xcb_randr_screen_size_iterator_t {
00143 xcb_randr_screen_size_t *data;
00144 int rem;
00145 int index;
00146 } xcb_randr_screen_size_iterator_t;
00147
00151 typedef struct xcb_randr_refresh_rates_t {
00152 uint16_t nRates;
00153 } xcb_randr_refresh_rates_t;
00154
00158 typedef struct xcb_randr_refresh_rates_iterator_t {
00159 xcb_randr_refresh_rates_t *data;
00160 int rem;
00161 int index;
00162 } xcb_randr_refresh_rates_iterator_t;
00163
00167 typedef struct xcb_randr_query_version_cookie_t {
00168 unsigned int sequence;
00169 } xcb_randr_query_version_cookie_t;
00170
00172 #define XCB_RANDR_QUERY_VERSION 0
00173
00177 typedef struct xcb_randr_query_version_request_t {
00178 uint8_t major_opcode;
00179 uint8_t minor_opcode;
00180 uint16_t length;
00181 uint32_t major_version;
00182 uint32_t minor_version;
00183 } xcb_randr_query_version_request_t;
00184
00188 typedef struct xcb_randr_query_version_reply_t {
00189 uint8_t response_type;
00190 uint8_t pad0;
00191 uint16_t sequence;
00192 uint32_t length;
00193 uint32_t major_version;
00194 uint32_t minor_version;
00195 uint8_t pad1[16];
00196 } xcb_randr_query_version_reply_t;
00197
00198 typedef enum xcb_randr_set_config_t {
00199 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
00200 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
00201 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
00202 XCB_RANDR_SET_CONFIG_FAILED = 3
00203 } xcb_randr_set_config_t;
00204
00208 typedef struct xcb_randr_set_screen_config_cookie_t {
00209 unsigned int sequence;
00210 } xcb_randr_set_screen_config_cookie_t;
00211
00213 #define XCB_RANDR_SET_SCREEN_CONFIG 2
00214
00218 typedef struct xcb_randr_set_screen_config_request_t {
00219 uint8_t major_opcode;
00220 uint8_t minor_opcode;
00221 uint16_t length;
00222 xcb_window_t window;
00223 xcb_timestamp_t timestamp;
00224 xcb_timestamp_t config_timestamp;
00225 uint16_t sizeID;
00226 uint16_t rotation;
00227 uint16_t rate;
00228 uint8_t pad0[2];
00229 } xcb_randr_set_screen_config_request_t;
00230
00234 typedef struct xcb_randr_set_screen_config_reply_t {
00235 uint8_t response_type;
00236 uint8_t status;
00237 uint16_t sequence;
00238 uint32_t length;
00239 xcb_timestamp_t new_timestamp;
00240 xcb_timestamp_t config_timestamp;
00241 xcb_window_t root;
00242 uint16_t subpixel_order;
00243 uint8_t pad0[10];
00244 } xcb_randr_set_screen_config_reply_t;
00245
00246 typedef enum xcb_randr_notify_mask_t {
00247 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
00248 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
00249 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
00250 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8,
00251 XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16,
00252 XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32,
00253 XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64
00254 } xcb_randr_notify_mask_t;
00255
00257 #define XCB_RANDR_SELECT_INPUT 4
00258
00262 typedef struct xcb_randr_select_input_request_t {
00263 uint8_t major_opcode;
00264 uint8_t minor_opcode;
00265 uint16_t length;
00266 xcb_window_t window;
00267 uint16_t enable;
00268 uint8_t pad0[2];
00269 } xcb_randr_select_input_request_t;
00270
00274 typedef struct xcb_randr_get_screen_info_cookie_t {
00275 unsigned int sequence;
00276 } xcb_randr_get_screen_info_cookie_t;
00277
00279 #define XCB_RANDR_GET_SCREEN_INFO 5
00280
00284 typedef struct xcb_randr_get_screen_info_request_t {
00285 uint8_t major_opcode;
00286 uint8_t minor_opcode;
00287 uint16_t length;
00288 xcb_window_t window;
00289 } xcb_randr_get_screen_info_request_t;
00290
00294 typedef struct xcb_randr_get_screen_info_reply_t {
00295 uint8_t response_type;
00296 uint8_t rotations;
00297 uint16_t sequence;
00298 uint32_t length;
00299 xcb_window_t root;
00300 xcb_timestamp_t timestamp;
00301 xcb_timestamp_t config_timestamp;
00302 uint16_t nSizes;
00303 uint16_t sizeID;
00304 uint16_t rotation;
00305 uint16_t rate;
00306 uint16_t nInfo;
00307 uint8_t pad0[2];
00308 } xcb_randr_get_screen_info_reply_t;
00309
00313 typedef struct xcb_randr_get_screen_size_range_cookie_t {
00314 unsigned int sequence;
00315 } xcb_randr_get_screen_size_range_cookie_t;
00316
00318 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
00319
00323 typedef struct xcb_randr_get_screen_size_range_request_t {
00324 uint8_t major_opcode;
00325 uint8_t minor_opcode;
00326 uint16_t length;
00327 xcb_window_t window;
00328 } xcb_randr_get_screen_size_range_request_t;
00329
00333 typedef struct xcb_randr_get_screen_size_range_reply_t {
00334 uint8_t response_type;
00335 uint8_t pad0;
00336 uint16_t sequence;
00337 uint32_t length;
00338 uint16_t min_width;
00339 uint16_t min_height;
00340 uint16_t max_width;
00341 uint16_t max_height;
00342 uint8_t pad1[16];
00343 } xcb_randr_get_screen_size_range_reply_t;
00344
00346 #define XCB_RANDR_SET_SCREEN_SIZE 7
00347
00351 typedef struct xcb_randr_set_screen_size_request_t {
00352 uint8_t major_opcode;
00353 uint8_t minor_opcode;
00354 uint16_t length;
00355 xcb_window_t window;
00356 uint16_t width;
00357 uint16_t height;
00358 uint32_t mm_width;
00359 uint32_t mm_height;
00360 } xcb_randr_set_screen_size_request_t;
00361
00362 typedef enum xcb_randr_mode_flag_t {
00363 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
00364 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
00365 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
00366 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
00367 XCB_RANDR_MODE_FLAG_INTERLACE = 16,
00368 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
00369 XCB_RANDR_MODE_FLAG_CSYNC = 64,
00370 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
00371 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
00372 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
00373 XCB_RANDR_MODE_FLAG_BCAST = 1024,
00374 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
00375 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
00376 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
00377 } xcb_randr_mode_flag_t;
00378
00382 typedef struct xcb_randr_mode_info_t {
00383 uint32_t id;
00384 uint16_t width;
00385 uint16_t height;
00386 uint32_t dot_clock;
00387 uint16_t hsync_start;
00388 uint16_t hsync_end;
00389 uint16_t htotal;
00390 uint16_t hskew;
00391 uint16_t vsync_start;
00392 uint16_t vsync_end;
00393 uint16_t vtotal;
00394 uint16_t name_len;
00395 uint32_t mode_flags;
00396 } xcb_randr_mode_info_t;
00397
00401 typedef struct xcb_randr_mode_info_iterator_t {
00402 xcb_randr_mode_info_t *data;
00403 int rem;
00404 int index;
00405 } xcb_randr_mode_info_iterator_t;
00406
00410 typedef struct xcb_randr_get_screen_resources_cookie_t {
00411 unsigned int sequence;
00412 } xcb_randr_get_screen_resources_cookie_t;
00413
00415 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
00416
00420 typedef struct xcb_randr_get_screen_resources_request_t {
00421 uint8_t major_opcode;
00422 uint8_t minor_opcode;
00423 uint16_t length;
00424 xcb_window_t window;
00425 } xcb_randr_get_screen_resources_request_t;
00426
00430 typedef struct xcb_randr_get_screen_resources_reply_t {
00431 uint8_t response_type;
00432 uint8_t pad0;
00433 uint16_t sequence;
00434 uint32_t length;
00435 xcb_timestamp_t timestamp;
00436 xcb_timestamp_t config_timestamp;
00437 uint16_t num_crtcs;
00438 uint16_t num_outputs;
00439 uint16_t num_modes;
00440 uint16_t names_len;
00441 uint8_t pad1[8];
00442 } xcb_randr_get_screen_resources_reply_t;
00443
00444 typedef enum xcb_randr_connection_t {
00445 XCB_RANDR_CONNECTION_CONNECTED = 0,
00446 XCB_RANDR_CONNECTION_DISCONNECTED = 1,
00447 XCB_RANDR_CONNECTION_UNKNOWN = 2
00448 } xcb_randr_connection_t;
00449
00453 typedef struct xcb_randr_get_output_info_cookie_t {
00454 unsigned int sequence;
00455 } xcb_randr_get_output_info_cookie_t;
00456
00458 #define XCB_RANDR_GET_OUTPUT_INFO 9
00459
00463 typedef struct xcb_randr_get_output_info_request_t {
00464 uint8_t major_opcode;
00465 uint8_t minor_opcode;
00466 uint16_t length;
00467 xcb_randr_output_t output;
00468 xcb_timestamp_t config_timestamp;
00469 } xcb_randr_get_output_info_request_t;
00470
00474 typedef struct xcb_randr_get_output_info_reply_t {
00475 uint8_t response_type;
00476 uint8_t status;
00477 uint16_t sequence;
00478 uint32_t length;
00479 xcb_timestamp_t timestamp;
00480 xcb_randr_crtc_t crtc;
00481 uint32_t mm_width;
00482 uint32_t mm_height;
00483 uint8_t connection;
00484 uint8_t subpixel_order;
00485 uint16_t num_crtcs;
00486 uint16_t num_modes;
00487 uint16_t num_preferred;
00488 uint16_t num_clones;
00489 uint16_t name_len;
00490 } xcb_randr_get_output_info_reply_t;
00491
00495 typedef struct xcb_randr_list_output_properties_cookie_t {
00496 unsigned int sequence;
00497 } xcb_randr_list_output_properties_cookie_t;
00498
00500 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
00501
00505 typedef struct xcb_randr_list_output_properties_request_t {
00506 uint8_t major_opcode;
00507 uint8_t minor_opcode;
00508 uint16_t length;
00509 xcb_randr_output_t output;
00510 } xcb_randr_list_output_properties_request_t;
00511
00515 typedef struct xcb_randr_list_output_properties_reply_t {
00516 uint8_t response_type;
00517 uint8_t pad0;
00518 uint16_t sequence;
00519 uint32_t length;
00520 uint16_t num_atoms;
00521 uint8_t pad1[22];
00522 } xcb_randr_list_output_properties_reply_t;
00523
00527 typedef struct xcb_randr_query_output_property_cookie_t {
00528 unsigned int sequence;
00529 } xcb_randr_query_output_property_cookie_t;
00530
00532 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
00533
00537 typedef struct xcb_randr_query_output_property_request_t {
00538 uint8_t major_opcode;
00539 uint8_t minor_opcode;
00540 uint16_t length;
00541 xcb_randr_output_t output;
00542 xcb_atom_t property;
00543 } xcb_randr_query_output_property_request_t;
00544
00548 typedef struct xcb_randr_query_output_property_reply_t {
00549 uint8_t response_type;
00550 uint8_t pad0;
00551 uint16_t sequence;
00552 uint32_t length;
00553 uint8_t pending;
00554 uint8_t range;
00555 uint8_t immutable;
00556 uint8_t pad1[21];
00557 } xcb_randr_query_output_property_reply_t;
00558
00560 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
00561
00565 typedef struct xcb_randr_configure_output_property_request_t {
00566 uint8_t major_opcode;
00567 uint8_t minor_opcode;
00568 uint16_t length;
00569 xcb_randr_output_t output;
00570 xcb_atom_t property;
00571 uint8_t pending;
00572 uint8_t range;
00573 uint8_t pad0[2];
00574 } xcb_randr_configure_output_property_request_t;
00575
00577 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
00578
00582 typedef struct xcb_randr_change_output_property_request_t {
00583 uint8_t major_opcode;
00584 uint8_t minor_opcode;
00585 uint16_t length;
00586 xcb_randr_output_t output;
00587 xcb_atom_t property;
00588 xcb_atom_t type;
00589 uint8_t format;
00590 uint8_t mode;
00591 uint8_t pad0[2];
00592 uint32_t num_units;
00593 } xcb_randr_change_output_property_request_t;
00594
00596 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
00597
00601 typedef struct xcb_randr_delete_output_property_request_t {
00602 uint8_t major_opcode;
00603 uint8_t minor_opcode;
00604 uint16_t length;
00605 xcb_randr_output_t output;
00606 xcb_atom_t property;
00607 } xcb_randr_delete_output_property_request_t;
00608
00612 typedef struct xcb_randr_get_output_property_cookie_t {
00613 unsigned int sequence;
00614 } xcb_randr_get_output_property_cookie_t;
00615
00617 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
00618
00622 typedef struct xcb_randr_get_output_property_request_t {
00623 uint8_t major_opcode;
00624 uint8_t minor_opcode;
00625 uint16_t length;
00626 xcb_randr_output_t output;
00627 xcb_atom_t property;
00628 xcb_atom_t type;
00629 uint32_t long_offset;
00630 uint32_t long_length;
00631 uint8_t _delete;
00632 uint8_t pending;
00633 uint8_t pad0[2];
00634 } xcb_randr_get_output_property_request_t;
00635
00639 typedef struct xcb_randr_get_output_property_reply_t {
00640 uint8_t response_type;
00641 uint8_t format;
00642 uint16_t sequence;
00643 uint32_t length;
00644 xcb_atom_t type;
00645 uint32_t bytes_after;
00646 uint32_t num_items;
00647 uint8_t pad0[12];
00648 } xcb_randr_get_output_property_reply_t;
00649
00653 typedef struct xcb_randr_create_mode_cookie_t {
00654 unsigned int sequence;
00655 } xcb_randr_create_mode_cookie_t;
00656
00658 #define XCB_RANDR_CREATE_MODE 16
00659
00663 typedef struct xcb_randr_create_mode_request_t {
00664 uint8_t major_opcode;
00665 uint8_t minor_opcode;
00666 uint16_t length;
00667 xcb_window_t window;
00668 xcb_randr_mode_info_t mode_info;
00669 } xcb_randr_create_mode_request_t;
00670
00674 typedef struct xcb_randr_create_mode_reply_t {
00675 uint8_t response_type;
00676 uint8_t pad0;
00677 uint16_t sequence;
00678 uint32_t length;
00679 xcb_randr_mode_t mode;
00680 uint8_t pad1[20];
00681 } xcb_randr_create_mode_reply_t;
00682
00684 #define XCB_RANDR_DESTROY_MODE 17
00685
00689 typedef struct xcb_randr_destroy_mode_request_t {
00690 uint8_t major_opcode;
00691 uint8_t minor_opcode;
00692 uint16_t length;
00693 xcb_randr_mode_t mode;
00694 } xcb_randr_destroy_mode_request_t;
00695
00697 #define XCB_RANDR_ADD_OUTPUT_MODE 18
00698
00702 typedef struct xcb_randr_add_output_mode_request_t {
00703 uint8_t major_opcode;
00704 uint8_t minor_opcode;
00705 uint16_t length;
00706 xcb_randr_output_t output;
00707 xcb_randr_mode_t mode;
00708 } xcb_randr_add_output_mode_request_t;
00709
00711 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
00712
00716 typedef struct xcb_randr_delete_output_mode_request_t {
00717 uint8_t major_opcode;
00718 uint8_t minor_opcode;
00719 uint16_t length;
00720 xcb_randr_output_t output;
00721 xcb_randr_mode_t mode;
00722 } xcb_randr_delete_output_mode_request_t;
00723
00727 typedef struct xcb_randr_get_crtc_info_cookie_t {
00728 unsigned int sequence;
00729 } xcb_randr_get_crtc_info_cookie_t;
00730
00732 #define XCB_RANDR_GET_CRTC_INFO 20
00733
00737 typedef struct xcb_randr_get_crtc_info_request_t {
00738 uint8_t major_opcode;
00739 uint8_t minor_opcode;
00740 uint16_t length;
00741 xcb_randr_crtc_t crtc;
00742 xcb_timestamp_t config_timestamp;
00743 } xcb_randr_get_crtc_info_request_t;
00744
00748 typedef struct xcb_randr_get_crtc_info_reply_t {
00749 uint8_t response_type;
00750 uint8_t status;
00751 uint16_t sequence;
00752 uint32_t length;
00753 xcb_timestamp_t timestamp;
00754 int16_t x;
00755 int16_t y;
00756 uint16_t width;
00757 uint16_t height;
00758 xcb_randr_mode_t mode;
00759 uint16_t rotation;
00760 uint16_t rotations;
00761 uint16_t num_outputs;
00762 uint16_t num_possible_outputs;
00763 } xcb_randr_get_crtc_info_reply_t;
00764
00768 typedef struct xcb_randr_set_crtc_config_cookie_t {
00769 unsigned int sequence;
00770 } xcb_randr_set_crtc_config_cookie_t;
00771
00773 #define XCB_RANDR_SET_CRTC_CONFIG 21
00774
00778 typedef struct xcb_randr_set_crtc_config_request_t {
00779 uint8_t major_opcode;
00780 uint8_t minor_opcode;
00781 uint16_t length;
00782 xcb_randr_crtc_t crtc;
00783 xcb_timestamp_t timestamp;
00784 xcb_timestamp_t config_timestamp;
00785 int16_t x;
00786 int16_t y;
00787 xcb_randr_mode_t mode;
00788 uint16_t rotation;
00789 uint8_t pad0[2];
00790 } xcb_randr_set_crtc_config_request_t;
00791
00795 typedef struct xcb_randr_set_crtc_config_reply_t {
00796 uint8_t response_type;
00797 uint8_t status;
00798 uint16_t sequence;
00799 uint32_t length;
00800 xcb_timestamp_t timestamp;
00801 uint8_t pad0[20];
00802 } xcb_randr_set_crtc_config_reply_t;
00803
00807 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
00808 unsigned int sequence;
00809 } xcb_randr_get_crtc_gamma_size_cookie_t;
00810
00812 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
00813
00817 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
00818 uint8_t major_opcode;
00819 uint8_t minor_opcode;
00820 uint16_t length;
00821 xcb_randr_crtc_t crtc;
00822 } xcb_randr_get_crtc_gamma_size_request_t;
00823
00827 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
00828 uint8_t response_type;
00829 uint8_t pad0;
00830 uint16_t sequence;
00831 uint32_t length;
00832 uint16_t size;
00833 uint8_t pad1[22];
00834 } xcb_randr_get_crtc_gamma_size_reply_t;
00835
00839 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
00840 unsigned int sequence;
00841 } xcb_randr_get_crtc_gamma_cookie_t;
00842
00844 #define XCB_RANDR_GET_CRTC_GAMMA 23
00845
00849 typedef struct xcb_randr_get_crtc_gamma_request_t {
00850 uint8_t major_opcode;
00851 uint8_t minor_opcode;
00852 uint16_t length;
00853 xcb_randr_crtc_t crtc;
00854 } xcb_randr_get_crtc_gamma_request_t;
00855
00859 typedef struct xcb_randr_get_crtc_gamma_reply_t {
00860 uint8_t response_type;
00861 uint8_t pad0;
00862 uint16_t sequence;
00863 uint32_t length;
00864 uint16_t size;
00865 uint8_t pad1[22];
00866 } xcb_randr_get_crtc_gamma_reply_t;
00867
00869 #define XCB_RANDR_SET_CRTC_GAMMA 24
00870
00874 typedef struct xcb_randr_set_crtc_gamma_request_t {
00875 uint8_t major_opcode;
00876 uint8_t minor_opcode;
00877 uint16_t length;
00878 xcb_randr_crtc_t crtc;
00879 uint16_t size;
00880 uint8_t pad0[2];
00881 } xcb_randr_set_crtc_gamma_request_t;
00882
00886 typedef struct xcb_randr_get_screen_resources_current_cookie_t {
00887 unsigned int sequence;
00888 } xcb_randr_get_screen_resources_current_cookie_t;
00889
00891 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25
00892
00896 typedef struct xcb_randr_get_screen_resources_current_request_t {
00897 uint8_t major_opcode;
00898 uint8_t minor_opcode;
00899 uint16_t length;
00900 xcb_window_t window;
00901 } xcb_randr_get_screen_resources_current_request_t;
00902
00906 typedef struct xcb_randr_get_screen_resources_current_reply_t {
00907 uint8_t response_type;
00908 uint8_t pad0;
00909 uint16_t sequence;
00910 uint32_t length;
00911 xcb_timestamp_t timestamp;
00912 xcb_timestamp_t config_timestamp;
00913 uint16_t num_crtcs;
00914 uint16_t num_outputs;
00915 uint16_t num_modes;
00916 uint16_t names_len;
00917 uint8_t pad1[8];
00918 } xcb_randr_get_screen_resources_current_reply_t;
00919
00920 typedef enum xcb_randr_transform_t {
00921 XCB_RANDR_TRANSFORM_UNIT = 1,
00922 XCB_RANDR_TRANSFORM_SCALE_UP = 2,
00923 XCB_RANDR_TRANSFORM_SCALE_DOWN = 4,
00924 XCB_RANDR_TRANSFORM_PROJECTIVE = 8
00925 } xcb_randr_transform_t;
00926
00928 #define XCB_RANDR_SET_CRTC_TRANSFORM 26
00929
00933 typedef struct xcb_randr_set_crtc_transform_request_t {
00934 uint8_t major_opcode;
00935 uint8_t minor_opcode;
00936 uint16_t length;
00937 xcb_randr_crtc_t crtc;
00938 xcb_render_transform_t transform;
00939 uint16_t filter_len;
00940 uint8_t pad0[2];
00941 } xcb_randr_set_crtc_transform_request_t;
00942
00946 typedef struct xcb_randr_get_crtc_transform_cookie_t {
00947 unsigned int sequence;
00948 } xcb_randr_get_crtc_transform_cookie_t;
00949
00951 #define XCB_RANDR_GET_CRTC_TRANSFORM 27
00952
00956 typedef struct xcb_randr_get_crtc_transform_request_t {
00957 uint8_t major_opcode;
00958 uint8_t minor_opcode;
00959 uint16_t length;
00960 xcb_randr_crtc_t crtc;
00961 } xcb_randr_get_crtc_transform_request_t;
00962
00966 typedef struct xcb_randr_get_crtc_transform_reply_t {
00967 uint8_t response_type;
00968 uint8_t pad0;
00969 uint16_t sequence;
00970 uint32_t length;
00971 xcb_render_transform_t pending_transform;
00972 uint8_t has_transforms;
00973 uint8_t pad1[3];
00974 xcb_render_transform_t current_transform;
00975 uint8_t pad2[4];
00976 uint16_t pending_len;
00977 uint16_t pending_nparams;
00978 uint16_t current_len;
00979 uint16_t current_nparams;
00980 } xcb_randr_get_crtc_transform_reply_t;
00981
00985 typedef struct xcb_randr_get_panning_cookie_t {
00986 unsigned int sequence;
00987 } xcb_randr_get_panning_cookie_t;
00988
00990 #define XCB_RANDR_GET_PANNING 28
00991
00995 typedef struct xcb_randr_get_panning_request_t {
00996 uint8_t major_opcode;
00997 uint8_t minor_opcode;
00998 uint16_t length;
00999 xcb_randr_crtc_t crtc;
01000 } xcb_randr_get_panning_request_t;
01001
01005 typedef struct xcb_randr_get_panning_reply_t {
01006 uint8_t response_type;
01007 uint8_t status;
01008 uint16_t sequence;
01009 uint32_t length;
01010 xcb_timestamp_t timestamp;
01011 uint16_t left;
01012 uint16_t top;
01013 uint16_t width;
01014 uint16_t height;
01015 uint16_t track_left;
01016 uint16_t track_top;
01017 uint16_t track_width;
01018 uint16_t track_height;
01019 int16_t border_left;
01020 int16_t border_top;
01021 int16_t border_right;
01022 int16_t border_bottom;
01023 } xcb_randr_get_panning_reply_t;
01024
01028 typedef struct xcb_randr_set_panning_cookie_t {
01029 unsigned int sequence;
01030 } xcb_randr_set_panning_cookie_t;
01031
01033 #define XCB_RANDR_SET_PANNING 29
01034
01038 typedef struct xcb_randr_set_panning_request_t {
01039 uint8_t major_opcode;
01040 uint8_t minor_opcode;
01041 uint16_t length;
01042 xcb_randr_crtc_t crtc;
01043 xcb_timestamp_t timestamp;
01044 uint16_t left;
01045 uint16_t top;
01046 uint16_t width;
01047 uint16_t height;
01048 uint16_t track_left;
01049 uint16_t track_top;
01050 uint16_t track_width;
01051 uint16_t track_height;
01052 int16_t border_left;
01053 int16_t border_top;
01054 int16_t border_right;
01055 int16_t border_bottom;
01056 } xcb_randr_set_panning_request_t;
01057
01061 typedef struct xcb_randr_set_panning_reply_t {
01062 uint8_t response_type;
01063 uint8_t status;
01064 uint16_t sequence;
01065 uint32_t length;
01066 xcb_timestamp_t timestamp;
01067 } xcb_randr_set_panning_reply_t;
01068
01070 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30
01071
01075 typedef struct xcb_randr_set_output_primary_request_t {
01076 uint8_t major_opcode;
01077 uint8_t minor_opcode;
01078 uint16_t length;
01079 xcb_window_t window;
01080 xcb_randr_output_t output;
01081 } xcb_randr_set_output_primary_request_t;
01082
01086 typedef struct xcb_randr_get_output_primary_cookie_t {
01087 unsigned int sequence;
01088 } xcb_randr_get_output_primary_cookie_t;
01089
01091 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31
01092
01096 typedef struct xcb_randr_get_output_primary_request_t {
01097 uint8_t major_opcode;
01098 uint8_t minor_opcode;
01099 uint16_t length;
01100 xcb_window_t window;
01101 } xcb_randr_get_output_primary_request_t;
01102
01106 typedef struct xcb_randr_get_output_primary_reply_t {
01107 uint8_t response_type;
01108 uint8_t pad0;
01109 uint16_t sequence;
01110 uint32_t length;
01111 xcb_randr_output_t output;
01112 } xcb_randr_get_output_primary_reply_t;
01113
01117 typedef struct xcb_randr_get_providers_cookie_t {
01118 unsigned int sequence;
01119 } xcb_randr_get_providers_cookie_t;
01120
01122 #define XCB_RANDR_GET_PROVIDERS 32
01123
01127 typedef struct xcb_randr_get_providers_request_t {
01128 uint8_t major_opcode;
01129 uint8_t minor_opcode;
01130 uint16_t length;
01131 xcb_window_t window;
01132 } xcb_randr_get_providers_request_t;
01133
01137 typedef struct xcb_randr_get_providers_reply_t {
01138 uint8_t response_type;
01139 uint8_t pad0;
01140 uint16_t sequence;
01141 uint32_t length;
01142 xcb_timestamp_t timestamp;
01143 uint16_t num_providers;
01144 uint8_t pad1[18];
01145 } xcb_randr_get_providers_reply_t;
01146
01147 typedef enum xcb_randr_provider_capability_t {
01148 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT = 1,
01149 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT = 2,
01150 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD = 4,
01151 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD = 8
01152 } xcb_randr_provider_capability_t;
01153
01157 typedef struct xcb_randr_get_provider_info_cookie_t {
01158 unsigned int sequence;
01159 } xcb_randr_get_provider_info_cookie_t;
01160
01162 #define XCB_RANDR_GET_PROVIDER_INFO 33
01163
01167 typedef struct xcb_randr_get_provider_info_request_t {
01168 uint8_t major_opcode;
01169 uint8_t minor_opcode;
01170 uint16_t length;
01171 xcb_randr_provider_t provider;
01172 xcb_timestamp_t config_timestamp;
01173 } xcb_randr_get_provider_info_request_t;
01174
01178 typedef struct xcb_randr_get_provider_info_reply_t {
01179 uint8_t response_type;
01180 uint8_t status;
01181 uint16_t sequence;
01182 uint32_t length;
01183 xcb_timestamp_t timestamp;
01184 uint32_t capabilities;
01185 uint16_t num_crtcs;
01186 uint16_t num_outputs;
01187 uint16_t num_associated_providers;
01188 uint16_t name_len;
01189 uint8_t pad0[8];
01190 } xcb_randr_get_provider_info_reply_t;
01191
01193 #define XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK 34
01194
01198 typedef struct xcb_randr_set_provider_offload_sink_request_t {
01199 uint8_t major_opcode;
01200 uint8_t minor_opcode;
01201 uint16_t length;
01202 xcb_randr_provider_t provider;
01203 xcb_randr_provider_t sink_provider;
01204 xcb_timestamp_t config_timestamp;
01205 } xcb_randr_set_provider_offload_sink_request_t;
01206
01208 #define XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE 35
01209
01213 typedef struct xcb_randr_set_provider_output_source_request_t {
01214 uint8_t major_opcode;
01215 uint8_t minor_opcode;
01216 uint16_t length;
01217 xcb_randr_provider_t provider;
01218 xcb_randr_provider_t source_provider;
01219 xcb_timestamp_t config_timestamp;
01220 } xcb_randr_set_provider_output_source_request_t;
01221
01225 typedef struct xcb_randr_list_provider_properties_cookie_t {
01226 unsigned int sequence;
01227 } xcb_randr_list_provider_properties_cookie_t;
01228
01230 #define XCB_RANDR_LIST_PROVIDER_PROPERTIES 36
01231
01235 typedef struct xcb_randr_list_provider_properties_request_t {
01236 uint8_t major_opcode;
01237 uint8_t minor_opcode;
01238 uint16_t length;
01239 xcb_randr_provider_t provider;
01240 } xcb_randr_list_provider_properties_request_t;
01241
01245 typedef struct xcb_randr_list_provider_properties_reply_t {
01246 uint8_t response_type;
01247 uint8_t pad0;
01248 uint16_t sequence;
01249 uint32_t length;
01250 uint16_t num_atoms;
01251 uint8_t pad1[22];
01252 } xcb_randr_list_provider_properties_reply_t;
01253
01257 typedef struct xcb_randr_query_provider_property_cookie_t {
01258 unsigned int sequence;
01259 } xcb_randr_query_provider_property_cookie_t;
01260
01262 #define XCB_RANDR_QUERY_PROVIDER_PROPERTY 37
01263
01267 typedef struct xcb_randr_query_provider_property_request_t {
01268 uint8_t major_opcode;
01269 uint8_t minor_opcode;
01270 uint16_t length;
01271 xcb_randr_provider_t provider;
01272 xcb_atom_t property;
01273 } xcb_randr_query_provider_property_request_t;
01274
01278 typedef struct xcb_randr_query_provider_property_reply_t {
01279 uint8_t response_type;
01280 uint8_t pad0;
01281 uint16_t sequence;
01282 uint32_t length;
01283 uint8_t pending;
01284 uint8_t range;
01285 uint8_t immutable;
01286 uint8_t pad1[21];
01287 } xcb_randr_query_provider_property_reply_t;
01288
01290 #define XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY 38
01291
01295 typedef struct xcb_randr_configure_provider_property_request_t {
01296 uint8_t major_opcode;
01297 uint8_t minor_opcode;
01298 uint16_t length;
01299 xcb_randr_provider_t provider;
01300 xcb_atom_t property;
01301 uint8_t pending;
01302 uint8_t range;
01303 uint8_t pad0[2];
01304 } xcb_randr_configure_provider_property_request_t;
01305
01307 #define XCB_RANDR_CHANGE_PROVIDER_PROPERTY 39
01308
01312 typedef struct xcb_randr_change_provider_property_request_t {
01313 uint8_t major_opcode;
01314 uint8_t minor_opcode;
01315 uint16_t length;
01316 xcb_randr_provider_t provider;
01317 xcb_atom_t property;
01318 xcb_atom_t type;
01319 uint8_t format;
01320 uint8_t mode;
01321 uint8_t pad0[2];
01322 uint32_t num_items;
01323 } xcb_randr_change_provider_property_request_t;
01324
01326 #define XCB_RANDR_DELETE_PROVIDER_PROPERTY 40
01327
01331 typedef struct xcb_randr_delete_provider_property_request_t {
01332 uint8_t major_opcode;
01333 uint8_t minor_opcode;
01334 uint16_t length;
01335 xcb_randr_provider_t provider;
01336 xcb_atom_t property;
01337 } xcb_randr_delete_provider_property_request_t;
01338
01342 typedef struct xcb_randr_get_provider_property_cookie_t {
01343 unsigned int sequence;
01344 } xcb_randr_get_provider_property_cookie_t;
01345
01347 #define XCB_RANDR_GET_PROVIDER_PROPERTY 41
01348
01352 typedef struct xcb_randr_get_provider_property_request_t {
01353 uint8_t major_opcode;
01354 uint8_t minor_opcode;
01355 uint16_t length;
01356 xcb_randr_provider_t provider;
01357 xcb_atom_t property;
01358 xcb_atom_t type;
01359 uint32_t long_offset;
01360 uint32_t long_length;
01361 uint8_t _delete;
01362 uint8_t pending;
01363 uint8_t pad0[2];
01364 } xcb_randr_get_provider_property_request_t;
01365
01369 typedef struct xcb_randr_get_provider_property_reply_t {
01370 uint8_t response_type;
01371 uint8_t format;
01372 uint16_t sequence;
01373 uint32_t length;
01374 xcb_atom_t type;
01375 uint32_t bytes_after;
01376 uint32_t num_items;
01377 uint8_t pad0[12];
01378 } xcb_randr_get_provider_property_reply_t;
01379
01381 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
01382
01386 typedef struct xcb_randr_screen_change_notify_event_t {
01387 uint8_t response_type;
01388 uint8_t rotation;
01389 uint16_t sequence;
01390 xcb_timestamp_t timestamp;
01391 xcb_timestamp_t config_timestamp;
01392 xcb_window_t root;
01393 xcb_window_t request_window;
01394 uint16_t sizeID;
01395 uint16_t subpixel_order;
01396 uint16_t width;
01397 uint16_t height;
01398 uint16_t mwidth;
01399 uint16_t mheight;
01400 } xcb_randr_screen_change_notify_event_t;
01401
01402 typedef enum xcb_randr_notify_t {
01403 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
01404 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
01405 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2,
01406 XCB_RANDR_NOTIFY_PROVIDER_CHANGE = 3,
01407 XCB_RANDR_NOTIFY_PROVIDER_PROPERTY = 4,
01408 XCB_RANDR_NOTIFY_RESOURCE_CHANGE = 5
01409 } xcb_randr_notify_t;
01410
01414 typedef struct xcb_randr_crtc_change_t {
01415 xcb_timestamp_t timestamp;
01416 xcb_window_t window;
01417 xcb_randr_crtc_t crtc;
01418 xcb_randr_mode_t mode;
01419 uint16_t rotation;
01420 uint8_t pad0[2];
01421 int16_t x;
01422 int16_t y;
01423 uint16_t width;
01424 uint16_t height;
01425 } xcb_randr_crtc_change_t;
01426
01430 typedef struct xcb_randr_crtc_change_iterator_t {
01431 xcb_randr_crtc_change_t *data;
01432 int rem;
01433 int index;
01434 } xcb_randr_crtc_change_iterator_t;
01435
01439 typedef struct xcb_randr_output_change_t {
01440 xcb_timestamp_t timestamp;
01441 xcb_timestamp_t config_timestamp;
01442 xcb_window_t window;
01443 xcb_randr_output_t output;
01444 xcb_randr_crtc_t crtc;
01445 xcb_randr_mode_t mode;
01446 uint16_t rotation;
01447 uint8_t connection;
01448 uint8_t subpixel_order;
01449 } xcb_randr_output_change_t;
01450
01454 typedef struct xcb_randr_output_change_iterator_t {
01455 xcb_randr_output_change_t *data;
01456 int rem;
01457 int index;
01458 } xcb_randr_output_change_iterator_t;
01459
01463 typedef struct xcb_randr_output_property_t {
01464 xcb_window_t window;
01465 xcb_randr_output_t output;
01466 xcb_atom_t atom;
01467 xcb_timestamp_t timestamp;
01468 uint8_t status;
01469 uint8_t pad0[11];
01470 } xcb_randr_output_property_t;
01471
01475 typedef struct xcb_randr_output_property_iterator_t {
01476 xcb_randr_output_property_t *data;
01477 int rem;
01478 int index;
01479 } xcb_randr_output_property_iterator_t;
01480
01484 typedef struct xcb_randr_provider_change_t {
01485 xcb_timestamp_t timestamp;
01486 xcb_window_t window;
01487 xcb_randr_provider_t provider;
01488 uint8_t pad0[16];
01489 } xcb_randr_provider_change_t;
01490
01494 typedef struct xcb_randr_provider_change_iterator_t {
01495 xcb_randr_provider_change_t *data;
01496 int rem;
01497 int index;
01498 } xcb_randr_provider_change_iterator_t;
01499
01503 typedef struct xcb_randr_provider_property_t {
01504 xcb_window_t window;
01505 xcb_randr_provider_t provider;
01506 xcb_atom_t atom;
01507 xcb_timestamp_t timestamp;
01508 uint8_t state;
01509 uint8_t pad0[11];
01510 } xcb_randr_provider_property_t;
01511
01515 typedef struct xcb_randr_provider_property_iterator_t {
01516 xcb_randr_provider_property_t *data;
01517 int rem;
01518 int index;
01519 } xcb_randr_provider_property_iterator_t;
01520
01524 typedef struct xcb_randr_resource_change_t {
01525 xcb_timestamp_t timestamp;
01526 xcb_window_t window;
01527 uint8_t pad0[20];
01528 } xcb_randr_resource_change_t;
01529
01533 typedef struct xcb_randr_resource_change_iterator_t {
01534 xcb_randr_resource_change_t *data;
01535 int rem;
01536 int index;
01537 } xcb_randr_resource_change_iterator_t;
01538
01542 typedef union xcb_randr_notify_data_t {
01543 xcb_randr_crtc_change_t cc;
01544 xcb_randr_output_change_t oc;
01545 xcb_randr_output_property_t op;
01546 xcb_randr_provider_change_t pc;
01547 xcb_randr_provider_property_t pp;
01548 xcb_randr_resource_change_t rc;
01549 } xcb_randr_notify_data_t;
01550
01554 typedef struct xcb_randr_notify_data_iterator_t {
01555 xcb_randr_notify_data_t *data;
01556 int rem;
01557 int index;
01558 } xcb_randr_notify_data_iterator_t;
01559
01561 #define XCB_RANDR_NOTIFY 1
01562
01566 typedef struct xcb_randr_notify_event_t {
01567 uint8_t response_type;
01568 uint8_t subCode;
01569 uint16_t sequence;
01570 xcb_randr_notify_data_t u;
01571 } xcb_randr_notify_event_t;
01572
01581 void
01582 xcb_randr_mode_next (xcb_randr_mode_iterator_t *i );
01583
01593 xcb_generic_iterator_t
01594 xcb_randr_mode_end (xcb_randr_mode_iterator_t i );
01595
01604 void
01605 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t *i );
01606
01616 xcb_generic_iterator_t
01617 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i );
01618
01627 void
01628 xcb_randr_output_next (xcb_randr_output_iterator_t *i );
01629
01639 xcb_generic_iterator_t
01640 xcb_randr_output_end (xcb_randr_output_iterator_t i );
01641
01650 void
01651 xcb_randr_provider_next (xcb_randr_provider_iterator_t *i );
01652
01662 xcb_generic_iterator_t
01663 xcb_randr_provider_end (xcb_randr_provider_iterator_t i );
01664
01673 void
01674 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i );
01675
01685 xcb_generic_iterator_t
01686 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i );
01687
01688 int
01689 xcb_randr_refresh_rates_sizeof (const void *_buffer );
01690
01691 uint16_t *
01692 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R );
01693
01694 int
01695 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R );
01696
01697 xcb_generic_iterator_t
01698 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R );
01699
01708 void
01709 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i );
01710
01720 xcb_generic_iterator_t
01721 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i );
01722
01731 xcb_randr_query_version_cookie_t
01732 xcb_randr_query_version (xcb_connection_t *c ,
01733 uint32_t major_version ,
01734 uint32_t minor_version );
01735
01747 xcb_randr_query_version_cookie_t
01748 xcb_randr_query_version_unchecked (xcb_connection_t *c ,
01749 uint32_t major_version ,
01750 uint32_t minor_version );
01751
01766 xcb_randr_query_version_reply_t *
01767 xcb_randr_query_version_reply (xcb_connection_t *c ,
01768 xcb_randr_query_version_cookie_t cookie ,
01769 xcb_generic_error_t **e );
01770
01779 xcb_randr_set_screen_config_cookie_t
01780 xcb_randr_set_screen_config (xcb_connection_t *c ,
01781 xcb_window_t window ,
01782 xcb_timestamp_t timestamp ,
01783 xcb_timestamp_t config_timestamp ,
01784 uint16_t sizeID ,
01785 uint16_t rotation ,
01786 uint16_t rate );
01787
01799 xcb_randr_set_screen_config_cookie_t
01800 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c ,
01801 xcb_window_t window ,
01802 xcb_timestamp_t timestamp ,
01803 xcb_timestamp_t config_timestamp ,
01804 uint16_t sizeID ,
01805 uint16_t rotation ,
01806 uint16_t rate );
01807
01822 xcb_randr_set_screen_config_reply_t *
01823 xcb_randr_set_screen_config_reply (xcb_connection_t *c ,
01824 xcb_randr_set_screen_config_cookie_t cookie ,
01825 xcb_generic_error_t **e );
01826
01838 xcb_void_cookie_t
01839 xcb_randr_select_input_checked (xcb_connection_t *c ,
01840 xcb_window_t window ,
01841 uint16_t enable );
01842
01851 xcb_void_cookie_t
01852 xcb_randr_select_input (xcb_connection_t *c ,
01853 xcb_window_t window ,
01854 uint16_t enable );
01855
01856 int
01857 xcb_randr_get_screen_info_sizeof (const void *_buffer );
01858
01867 xcb_randr_get_screen_info_cookie_t
01868 xcb_randr_get_screen_info (xcb_connection_t *c ,
01869 xcb_window_t window );
01870
01882 xcb_randr_get_screen_info_cookie_t
01883 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c ,
01884 xcb_window_t window );
01885
01886 xcb_randr_screen_size_t *
01887 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R );
01888
01889 int
01890 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R );
01891
01892 xcb_randr_screen_size_iterator_t
01893 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R );
01894
01895 int
01896 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R );
01897
01898 xcb_randr_refresh_rates_iterator_t
01899 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R );
01900
01915 xcb_randr_get_screen_info_reply_t *
01916 xcb_randr_get_screen_info_reply (xcb_connection_t *c ,
01917 xcb_randr_get_screen_info_cookie_t cookie ,
01918 xcb_generic_error_t **e );
01919
01928 xcb_randr_get_screen_size_range_cookie_t
01929 xcb_randr_get_screen_size_range (xcb_connection_t *c ,
01930 xcb_window_t window );
01931
01943 xcb_randr_get_screen_size_range_cookie_t
01944 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c ,
01945 xcb_window_t window );
01946
01961 xcb_randr_get_screen_size_range_reply_t *
01962 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c ,
01963 xcb_randr_get_screen_size_range_cookie_t cookie ,
01964 xcb_generic_error_t **e );
01965
01977 xcb_void_cookie_t
01978 xcb_randr_set_screen_size_checked (xcb_connection_t *c ,
01979 xcb_window_t window ,
01980 uint16_t width ,
01981 uint16_t height ,
01982 uint32_t mm_width ,
01983 uint32_t mm_height );
01984
01993 xcb_void_cookie_t
01994 xcb_randr_set_screen_size (xcb_connection_t *c ,
01995 xcb_window_t window ,
01996 uint16_t width ,
01997 uint16_t height ,
01998 uint32_t mm_width ,
01999 uint32_t mm_height );
02000
02009 void
02010 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i );
02011
02021 xcb_generic_iterator_t
02022 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i );
02023
02024 int
02025 xcb_randr_get_screen_resources_sizeof (const void *_buffer );
02026
02035 xcb_randr_get_screen_resources_cookie_t
02036 xcb_randr_get_screen_resources (xcb_connection_t *c ,
02037 xcb_window_t window );
02038
02050 xcb_randr_get_screen_resources_cookie_t
02051 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c ,
02052 xcb_window_t window );
02053
02054 xcb_randr_crtc_t *
02055 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R );
02056
02057 int
02058 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R );
02059
02060 xcb_generic_iterator_t
02061 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R );
02062
02063 xcb_randr_output_t *
02064 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R );
02065
02066 int
02067 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R );
02068
02069 xcb_generic_iterator_t
02070 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R );
02071
02072 xcb_randr_mode_info_t *
02073 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R );
02074
02075 int
02076 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R );
02077
02078 xcb_randr_mode_info_iterator_t
02079 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R );
02080
02081 uint8_t *
02082 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R );
02083
02084 int
02085 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R );
02086
02087 xcb_generic_iterator_t
02088 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R );
02089
02104 xcb_randr_get_screen_resources_reply_t *
02105 xcb_randr_get_screen_resources_reply (xcb_connection_t *c ,
02106 xcb_randr_get_screen_resources_cookie_t cookie ,
02107 xcb_generic_error_t **e );
02108
02109 int
02110 xcb_randr_get_output_info_sizeof (const void *_buffer );
02111
02120 xcb_randr_get_output_info_cookie_t
02121 xcb_randr_get_output_info (xcb_connection_t *c ,
02122 xcb_randr_output_t output ,
02123 xcb_timestamp_t config_timestamp );
02124
02136 xcb_randr_get_output_info_cookie_t
02137 xcb_randr_get_output_info_unchecked (xcb_connection_t *c ,
02138 xcb_randr_output_t output ,
02139 xcb_timestamp_t config_timestamp );
02140
02141 xcb_randr_crtc_t *
02142 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R );
02143
02144 int
02145 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R );
02146
02147 xcb_generic_iterator_t
02148 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R );
02149
02150 xcb_randr_mode_t *
02151 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R );
02152
02153 int
02154 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R );
02155
02156 xcb_generic_iterator_t
02157 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R );
02158
02159 xcb_randr_output_t *
02160 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R );
02161
02162 int
02163 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R );
02164
02165 xcb_generic_iterator_t
02166 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R );
02167
02168 uint8_t *
02169 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R );
02170
02171 int
02172 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R );
02173
02174 xcb_generic_iterator_t
02175 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R );
02176
02191 xcb_randr_get_output_info_reply_t *
02192 xcb_randr_get_output_info_reply (xcb_connection_t *c ,
02193 xcb_randr_get_output_info_cookie_t cookie ,
02194 xcb_generic_error_t **e );
02195
02196 int
02197 xcb_randr_list_output_properties_sizeof (const void *_buffer );
02198
02207 xcb_randr_list_output_properties_cookie_t
02208 xcb_randr_list_output_properties (xcb_connection_t *c ,
02209 xcb_randr_output_t output );
02210
02222 xcb_randr_list_output_properties_cookie_t
02223 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c ,
02224 xcb_randr_output_t output );
02225
02226 xcb_atom_t *
02227 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R );
02228
02229 int
02230 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R );
02231
02232 xcb_generic_iterator_t
02233 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t *R );
02234
02249 xcb_randr_list_output_properties_reply_t *
02250 xcb_randr_list_output_properties_reply (xcb_connection_t *c ,
02251 xcb_randr_list_output_properties_cookie_t cookie ,
02252 xcb_generic_error_t **e );
02253
02254 int
02255 xcb_randr_query_output_property_sizeof (const void *_buffer );
02256
02265 xcb_randr_query_output_property_cookie_t
02266 xcb_randr_query_output_property (xcb_connection_t *c ,
02267 xcb_randr_output_t output ,
02268 xcb_atom_t property );
02269
02281 xcb_randr_query_output_property_cookie_t
02282 xcb_randr_query_output_property_unchecked (xcb_connection_t *c ,
02283 xcb_randr_output_t output ,
02284 xcb_atom_t property );
02285
02286 int32_t *
02287 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R );
02288
02289 int
02290 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R );
02291
02292 xcb_generic_iterator_t
02293 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R );
02294
02309 xcb_randr_query_output_property_reply_t *
02310 xcb_randr_query_output_property_reply (xcb_connection_t *c ,
02311 xcb_randr_query_output_property_cookie_t cookie ,
02312 xcb_generic_error_t **e );
02313
02314 int
02315 xcb_randr_configure_output_property_sizeof (const void *_buffer ,
02316 uint32_t values_len );
02317
02329 xcb_void_cookie_t
02330 xcb_randr_configure_output_property_checked (xcb_connection_t *c ,
02331 xcb_randr_output_t output ,
02332 xcb_atom_t property ,
02333 uint8_t pending ,
02334 uint8_t range ,
02335 uint32_t values_len ,
02336 const int32_t *values );
02337
02346 xcb_void_cookie_t
02347 xcb_randr_configure_output_property (xcb_connection_t *c ,
02348 xcb_randr_output_t output ,
02349 xcb_atom_t property ,
02350 uint8_t pending ,
02351 uint8_t range ,
02352 uint32_t values_len ,
02353 const int32_t *values );
02354
02355 int
02356 xcb_randr_change_output_property_sizeof (const void *_buffer );
02357
02369 xcb_void_cookie_t
02370 xcb_randr_change_output_property_checked (xcb_connection_t *c ,
02371 xcb_randr_output_t output ,
02372 xcb_atom_t property ,
02373 xcb_atom_t type ,
02374 uint8_t format ,
02375 uint8_t mode ,
02376 uint32_t num_units ,
02377 const void *data );
02378
02387 xcb_void_cookie_t
02388 xcb_randr_change_output_property (xcb_connection_t *c ,
02389 xcb_randr_output_t output ,
02390 xcb_atom_t property ,
02391 xcb_atom_t type ,
02392 uint8_t format ,
02393 uint8_t mode ,
02394 uint32_t num_units ,
02395 const void *data );
02396
02408 xcb_void_cookie_t
02409 xcb_randr_delete_output_property_checked (xcb_connection_t *c ,
02410 xcb_randr_output_t output ,
02411 xcb_atom_t property );
02412
02421 xcb_void_cookie_t
02422 xcb_randr_delete_output_property (xcb_connection_t *c ,
02423 xcb_randr_output_t output ,
02424 xcb_atom_t property );
02425
02426 int
02427 xcb_randr_get_output_property_sizeof (const void *_buffer );
02428
02437 xcb_randr_get_output_property_cookie_t
02438 xcb_randr_get_output_property (xcb_connection_t *c ,
02439 xcb_randr_output_t output ,
02440 xcb_atom_t property ,
02441 xcb_atom_t type ,
02442 uint32_t long_offset ,
02443 uint32_t long_length ,
02444 uint8_t _delete ,
02445 uint8_t pending );
02446
02458 xcb_randr_get_output_property_cookie_t
02459 xcb_randr_get_output_property_unchecked (xcb_connection_t *c ,
02460 xcb_randr_output_t output ,
02461 xcb_atom_t property ,
02462 xcb_atom_t type ,
02463 uint32_t long_offset ,
02464 uint32_t long_length ,
02465 uint8_t _delete ,
02466 uint8_t pending );
02467
02468 uint8_t *
02469 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R );
02470
02471 int
02472 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R );
02473
02474 xcb_generic_iterator_t
02475 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R );
02476
02491 xcb_randr_get_output_property_reply_t *
02492 xcb_randr_get_output_property_reply (xcb_connection_t *c ,
02493 xcb_randr_get_output_property_cookie_t cookie ,
02494 xcb_generic_error_t **e );
02495
02496 int
02497 xcb_randr_create_mode_sizeof (const void *_buffer ,
02498 uint32_t name_len );
02499
02508 xcb_randr_create_mode_cookie_t
02509 xcb_randr_create_mode (xcb_connection_t *c ,
02510 xcb_window_t window ,
02511 xcb_randr_mode_info_t mode_info ,
02512 uint32_t name_len ,
02513 const char *name );
02514
02526 xcb_randr_create_mode_cookie_t
02527 xcb_randr_create_mode_unchecked (xcb_connection_t *c ,
02528 xcb_window_t window ,
02529 xcb_randr_mode_info_t mode_info ,
02530 uint32_t name_len ,
02531 const char *name );
02532
02547 xcb_randr_create_mode_reply_t *
02548 xcb_randr_create_mode_reply (xcb_connection_t *c ,
02549 xcb_randr_create_mode_cookie_t cookie ,
02550 xcb_generic_error_t **e );
02551
02563 xcb_void_cookie_t
02564 xcb_randr_destroy_mode_checked (xcb_connection_t *c ,
02565 xcb_randr_mode_t mode );
02566
02575 xcb_void_cookie_t
02576 xcb_randr_destroy_mode (xcb_connection_t *c ,
02577 xcb_randr_mode_t mode );
02578
02590 xcb_void_cookie_t
02591 xcb_randr_add_output_mode_checked (xcb_connection_t *c ,
02592 xcb_randr_output_t output ,
02593 xcb_randr_mode_t mode );
02594
02603 xcb_void_cookie_t
02604 xcb_randr_add_output_mode (xcb_connection_t *c ,
02605 xcb_randr_output_t output ,
02606 xcb_randr_mode_t mode );
02607
02619 xcb_void_cookie_t
02620 xcb_randr_delete_output_mode_checked (xcb_connection_t *c ,
02621 xcb_randr_output_t output ,
02622 xcb_randr_mode_t mode );
02623
02632 xcb_void_cookie_t
02633 xcb_randr_delete_output_mode (xcb_connection_t *c ,
02634 xcb_randr_output_t output ,
02635 xcb_randr_mode_t mode );
02636
02637 int
02638 xcb_randr_get_crtc_info_sizeof (const void *_buffer );
02639
02648 xcb_randr_get_crtc_info_cookie_t
02649 xcb_randr_get_crtc_info (xcb_connection_t *c ,
02650 xcb_randr_crtc_t crtc ,
02651 xcb_timestamp_t config_timestamp );
02652
02664 xcb_randr_get_crtc_info_cookie_t
02665 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c ,
02666 xcb_randr_crtc_t crtc ,
02667 xcb_timestamp_t config_timestamp );
02668
02669 xcb_randr_output_t *
02670 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R );
02671
02672 int
02673 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R );
02674
02675 xcb_generic_iterator_t
02676 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R );
02677
02678 xcb_randr_output_t *
02679 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t *R );
02680
02681 int
02682 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t *R );
02683
02684 xcb_generic_iterator_t
02685 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t *R );
02686
02701 xcb_randr_get_crtc_info_reply_t *
02702 xcb_randr_get_crtc_info_reply (xcb_connection_t *c ,
02703 xcb_randr_get_crtc_info_cookie_t cookie ,
02704 xcb_generic_error_t **e );
02705
02706 int
02707 xcb_randr_set_crtc_config_sizeof (const void *_buffer ,
02708 uint32_t outputs_len );
02709
02718 xcb_randr_set_crtc_config_cookie_t
02719 xcb_randr_set_crtc_config (xcb_connection_t *c ,
02720 xcb_randr_crtc_t crtc ,
02721 xcb_timestamp_t timestamp ,
02722 xcb_timestamp_t config_timestamp ,
02723 int16_t x ,
02724 int16_t y ,
02725 xcb_randr_mode_t mode ,
02726 uint16_t rotation ,
02727 uint32_t outputs_len ,
02728 const xcb_randr_output_t *outputs );
02729
02741 xcb_randr_set_crtc_config_cookie_t
02742 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c ,
02743 xcb_randr_crtc_t crtc ,
02744 xcb_timestamp_t timestamp ,
02745 xcb_timestamp_t config_timestamp ,
02746 int16_t x ,
02747 int16_t y ,
02748 xcb_randr_mode_t mode ,
02749 uint16_t rotation ,
02750 uint32_t outputs_len ,
02751 const xcb_randr_output_t *outputs );
02752
02767 xcb_randr_set_crtc_config_reply_t *
02768 xcb_randr_set_crtc_config_reply (xcb_connection_t *c ,
02769 xcb_randr_set_crtc_config_cookie_t cookie ,
02770 xcb_generic_error_t **e );
02771
02780 xcb_randr_get_crtc_gamma_size_cookie_t
02781 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c ,
02782 xcb_randr_crtc_t crtc );
02783
02795 xcb_randr_get_crtc_gamma_size_cookie_t
02796 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c ,
02797 xcb_randr_crtc_t crtc );
02798
02813 xcb_randr_get_crtc_gamma_size_reply_t *
02814 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c ,
02815 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
02816 xcb_generic_error_t **e );
02817
02818 int
02819 xcb_randr_get_crtc_gamma_sizeof (const void *_buffer );
02820
02829 xcb_randr_get_crtc_gamma_cookie_t
02830 xcb_randr_get_crtc_gamma (xcb_connection_t *c ,
02831 xcb_randr_crtc_t crtc );
02832
02844 xcb_randr_get_crtc_gamma_cookie_t
02845 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c ,
02846 xcb_randr_crtc_t crtc );
02847
02848 uint16_t *
02849 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R );
02850
02851 int
02852 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R );
02853
02854 xcb_generic_iterator_t
02855 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R );
02856
02857 uint16_t *
02858 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R );
02859
02860 int
02861 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R );
02862
02863 xcb_generic_iterator_t
02864 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R );
02865
02866 uint16_t *
02867 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R );
02868
02869 int
02870 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R );
02871
02872 xcb_generic_iterator_t
02873 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R );
02874
02889 xcb_randr_get_crtc_gamma_reply_t *
02890 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c ,
02891 xcb_randr_get_crtc_gamma_cookie_t cookie ,
02892 xcb_generic_error_t **e );
02893
02894 int
02895 xcb_randr_set_crtc_gamma_sizeof (const void *_buffer );
02896
02908 xcb_void_cookie_t
02909 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c ,
02910 xcb_randr_crtc_t crtc ,
02911 uint16_t size ,
02912 const uint16_t *red ,
02913 const uint16_t *green ,
02914 const uint16_t *blue );
02915
02924 xcb_void_cookie_t
02925 xcb_randr_set_crtc_gamma (xcb_connection_t *c ,
02926 xcb_randr_crtc_t crtc ,
02927 uint16_t size ,
02928 const uint16_t *red ,
02929 const uint16_t *green ,
02930 const uint16_t *blue );
02931
02932 int
02933 xcb_randr_get_screen_resources_current_sizeof (const void *_buffer );
02934
02943 xcb_randr_get_screen_resources_current_cookie_t
02944 xcb_randr_get_screen_resources_current (xcb_connection_t *c ,
02945 xcb_window_t window );
02946
02958 xcb_randr_get_screen_resources_current_cookie_t
02959 xcb_randr_get_screen_resources_current_unchecked (xcb_connection_t *c ,
02960 xcb_window_t window );
02961
02962 xcb_randr_crtc_t *
02963 xcb_randr_get_screen_resources_current_crtcs (const xcb_randr_get_screen_resources_current_reply_t *R );
02964
02965 int
02966 xcb_randr_get_screen_resources_current_crtcs_length (const xcb_randr_get_screen_resources_current_reply_t *R );
02967
02968 xcb_generic_iterator_t
02969 xcb_randr_get_screen_resources_current_crtcs_end (const xcb_randr_get_screen_resources_current_reply_t *R );
02970
02971 xcb_randr_output_t *
02972 xcb_randr_get_screen_resources_current_outputs (const xcb_randr_get_screen_resources_current_reply_t *R );
02973
02974 int
02975 xcb_randr_get_screen_resources_current_outputs_length (const xcb_randr_get_screen_resources_current_reply_t *R );
02976
02977 xcb_generic_iterator_t
02978 xcb_randr_get_screen_resources_current_outputs_end (const xcb_randr_get_screen_resources_current_reply_t *R );
02979
02980 xcb_randr_mode_info_t *
02981 xcb_randr_get_screen_resources_current_modes (const xcb_randr_get_screen_resources_current_reply_t *R );
02982
02983 int
02984 xcb_randr_get_screen_resources_current_modes_length (const xcb_randr_get_screen_resources_current_reply_t *R );
02985
02986 xcb_randr_mode_info_iterator_t
02987 xcb_randr_get_screen_resources_current_modes_iterator (const xcb_randr_get_screen_resources_current_reply_t *R );
02988
02989 uint8_t *
02990 xcb_randr_get_screen_resources_current_names (const xcb_randr_get_screen_resources_current_reply_t *R );
02991
02992 int
02993 xcb_randr_get_screen_resources_current_names_length (const xcb_randr_get_screen_resources_current_reply_t *R );
02994
02995 xcb_generic_iterator_t
02996 xcb_randr_get_screen_resources_current_names_end (const xcb_randr_get_screen_resources_current_reply_t *R );
02997
03012 xcb_randr_get_screen_resources_current_reply_t *
03013 xcb_randr_get_screen_resources_current_reply (xcb_connection_t *c ,
03014 xcb_randr_get_screen_resources_current_cookie_t cookie ,
03015 xcb_generic_error_t **e );
03016
03017 int
03018 xcb_randr_set_crtc_transform_sizeof (const void *_buffer ,
03019 uint32_t filter_params_len );
03020
03032 xcb_void_cookie_t
03033 xcb_randr_set_crtc_transform_checked (xcb_connection_t *c ,
03034 xcb_randr_crtc_t crtc ,
03035 xcb_render_transform_t transform ,
03036 uint16_t filter_len ,
03037 const char *filter_name ,
03038 uint32_t filter_params_len ,
03039 const xcb_render_fixed_t *filter_params );
03040
03049 xcb_void_cookie_t
03050 xcb_randr_set_crtc_transform (xcb_connection_t *c ,
03051 xcb_randr_crtc_t crtc ,
03052 xcb_render_transform_t transform ,
03053 uint16_t filter_len ,
03054 const char *filter_name ,
03055 uint32_t filter_params_len ,
03056 const xcb_render_fixed_t *filter_params );
03057
03058 int
03059 xcb_randr_get_crtc_transform_sizeof (const void *_buffer );
03060
03069 xcb_randr_get_crtc_transform_cookie_t
03070 xcb_randr_get_crtc_transform (xcb_connection_t *c ,
03071 xcb_randr_crtc_t crtc );
03072
03084 xcb_randr_get_crtc_transform_cookie_t
03085 xcb_randr_get_crtc_transform_unchecked (xcb_connection_t *c ,
03086 xcb_randr_crtc_t crtc );
03087
03088 char *
03089 xcb_randr_get_crtc_transform_pending_filter_name (const xcb_randr_get_crtc_transform_reply_t *R );
03090
03091 int
03092 xcb_randr_get_crtc_transform_pending_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R );
03093
03094 xcb_generic_iterator_t
03095 xcb_randr_get_crtc_transform_pending_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R );
03096
03097 xcb_render_fixed_t *
03098 xcb_randr_get_crtc_transform_pending_params (const xcb_randr_get_crtc_transform_reply_t *R );
03099
03100 int
03101 xcb_randr_get_crtc_transform_pending_params_length (const xcb_randr_get_crtc_transform_reply_t *R );
03102
03103 xcb_generic_iterator_t
03104 xcb_randr_get_crtc_transform_pending_params_end (const xcb_randr_get_crtc_transform_reply_t *R );
03105
03106 char *
03107 xcb_randr_get_crtc_transform_current_filter_name (const xcb_randr_get_crtc_transform_reply_t *R );
03108
03109 int
03110 xcb_randr_get_crtc_transform_current_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R );
03111
03112 xcb_generic_iterator_t
03113 xcb_randr_get_crtc_transform_current_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R );
03114
03115 xcb_render_fixed_t *
03116 xcb_randr_get_crtc_transform_current_params (const xcb_randr_get_crtc_transform_reply_t *R );
03117
03118 int
03119 xcb_randr_get_crtc_transform_current_params_length (const xcb_randr_get_crtc_transform_reply_t *R );
03120
03121 xcb_generic_iterator_t
03122 xcb_randr_get_crtc_transform_current_params_end (const xcb_randr_get_crtc_transform_reply_t *R );
03123
03138 xcb_randr_get_crtc_transform_reply_t *
03139 xcb_randr_get_crtc_transform_reply (xcb_connection_t *c ,
03140 xcb_randr_get_crtc_transform_cookie_t cookie ,
03141 xcb_generic_error_t **e );
03142
03151 xcb_randr_get_panning_cookie_t
03152 xcb_randr_get_panning (xcb_connection_t *c ,
03153 xcb_randr_crtc_t crtc );
03154
03166 xcb_randr_get_panning_cookie_t
03167 xcb_randr_get_panning_unchecked (xcb_connection_t *c ,
03168 xcb_randr_crtc_t crtc );
03169
03184 xcb_randr_get_panning_reply_t *
03185 xcb_randr_get_panning_reply (xcb_connection_t *c ,
03186 xcb_randr_get_panning_cookie_t cookie ,
03187 xcb_generic_error_t **e );
03188
03197 xcb_randr_set_panning_cookie_t
03198 xcb_randr_set_panning (xcb_connection_t *c ,
03199 xcb_randr_crtc_t crtc ,
03200 xcb_timestamp_t timestamp ,
03201 uint16_t left ,
03202 uint16_t top ,
03203 uint16_t width ,
03204 uint16_t height ,
03205 uint16_t track_left ,
03206 uint16_t track_top ,
03207 uint16_t track_width ,
03208 uint16_t track_height ,
03209 int16_t border_left ,
03210 int16_t border_top ,
03211 int16_t border_right ,
03212 int16_t border_bottom );
03213
03225 xcb_randr_set_panning_cookie_t
03226 xcb_randr_set_panning_unchecked (xcb_connection_t *c ,
03227 xcb_randr_crtc_t crtc ,
03228 xcb_timestamp_t timestamp ,
03229 uint16_t left ,
03230 uint16_t top ,
03231 uint16_t width ,
03232 uint16_t height ,
03233 uint16_t track_left ,
03234 uint16_t track_top ,
03235 uint16_t track_width ,
03236 uint16_t track_height ,
03237 int16_t border_left ,
03238 int16_t border_top ,
03239 int16_t border_right ,
03240 int16_t border_bottom );
03241
03256 xcb_randr_set_panning_reply_t *
03257 xcb_randr_set_panning_reply (xcb_connection_t *c ,
03258 xcb_randr_set_panning_cookie_t cookie ,
03259 xcb_generic_error_t **e );
03260
03272 xcb_void_cookie_t
03273 xcb_randr_set_output_primary_checked (xcb_connection_t *c ,
03274 xcb_window_t window ,
03275 xcb_randr_output_t output );
03276
03285 xcb_void_cookie_t
03286 xcb_randr_set_output_primary (xcb_connection_t *c ,
03287 xcb_window_t window ,
03288 xcb_randr_output_t output );
03289
03298 xcb_randr_get_output_primary_cookie_t
03299 xcb_randr_get_output_primary (xcb_connection_t *c ,
03300 xcb_window_t window );
03301
03313 xcb_randr_get_output_primary_cookie_t
03314 xcb_randr_get_output_primary_unchecked (xcb_connection_t *c ,
03315 xcb_window_t window );
03316
03331 xcb_randr_get_output_primary_reply_t *
03332 xcb_randr_get_output_primary_reply (xcb_connection_t *c ,
03333 xcb_randr_get_output_primary_cookie_t cookie ,
03334 xcb_generic_error_t **e );
03335
03336 int
03337 xcb_randr_get_providers_sizeof (const void *_buffer );
03338
03347 xcb_randr_get_providers_cookie_t
03348 xcb_randr_get_providers (xcb_connection_t *c ,
03349 xcb_window_t window );
03350
03362 xcb_randr_get_providers_cookie_t
03363 xcb_randr_get_providers_unchecked (xcb_connection_t *c ,
03364 xcb_window_t window );
03365
03366 xcb_randr_provider_t *
03367 xcb_randr_get_providers_providers (const xcb_randr_get_providers_reply_t *R );
03368
03369 int
03370 xcb_randr_get_providers_providers_length (const xcb_randr_get_providers_reply_t *R );
03371
03372 xcb_generic_iterator_t
03373 xcb_randr_get_providers_providers_end (const xcb_randr_get_providers_reply_t *R );
03374
03389 xcb_randr_get_providers_reply_t *
03390 xcb_randr_get_providers_reply (xcb_connection_t *c ,
03391 xcb_randr_get_providers_cookie_t cookie ,
03392 xcb_generic_error_t **e );
03393
03394 int
03395 xcb_randr_get_provider_info_sizeof (const void *_buffer );
03396
03405 xcb_randr_get_provider_info_cookie_t
03406 xcb_randr_get_provider_info (xcb_connection_t *c ,
03407 xcb_randr_provider_t provider ,
03408 xcb_timestamp_t config_timestamp );
03409
03421 xcb_randr_get_provider_info_cookie_t
03422 xcb_randr_get_provider_info_unchecked (xcb_connection_t *c ,
03423 xcb_randr_provider_t provider ,
03424 xcb_timestamp_t config_timestamp );
03425
03426 xcb_randr_crtc_t *
03427 xcb_randr_get_provider_info_crtcs (const xcb_randr_get_provider_info_reply_t *R );
03428
03429 int
03430 xcb_randr_get_provider_info_crtcs_length (const xcb_randr_get_provider_info_reply_t *R );
03431
03432 xcb_generic_iterator_t
03433 xcb_randr_get_provider_info_crtcs_end (const xcb_randr_get_provider_info_reply_t *R );
03434
03435 xcb_randr_output_t *
03436 xcb_randr_get_provider_info_outputs (const xcb_randr_get_provider_info_reply_t *R );
03437
03438 int
03439 xcb_randr_get_provider_info_outputs_length (const xcb_randr_get_provider_info_reply_t *R );
03440
03441 xcb_generic_iterator_t
03442 xcb_randr_get_provider_info_outputs_end (const xcb_randr_get_provider_info_reply_t *R );
03443
03444 xcb_randr_provider_t *
03445 xcb_randr_get_provider_info_associated_providers (const xcb_randr_get_provider_info_reply_t *R );
03446
03447 int
03448 xcb_randr_get_provider_info_associated_providers_length (const xcb_randr_get_provider_info_reply_t *R );
03449
03450 xcb_generic_iterator_t
03451 xcb_randr_get_provider_info_associated_providers_end (const xcb_randr_get_provider_info_reply_t *R );
03452
03453 uint32_t *
03454 xcb_randr_get_provider_info_associated_capability (const xcb_randr_get_provider_info_reply_t *R );
03455
03456 int
03457 xcb_randr_get_provider_info_associated_capability_length (const xcb_randr_get_provider_info_reply_t *R );
03458
03459 xcb_generic_iterator_t
03460 xcb_randr_get_provider_info_associated_capability_end (const xcb_randr_get_provider_info_reply_t *R );
03461
03462 char *
03463 xcb_randr_get_provider_info_name (const xcb_randr_get_provider_info_reply_t *R );
03464
03465 int
03466 xcb_randr_get_provider_info_name_length (const xcb_randr_get_provider_info_reply_t *R );
03467
03468 xcb_generic_iterator_t
03469 xcb_randr_get_provider_info_name_end (const xcb_randr_get_provider_info_reply_t *R );
03470
03485 xcb_randr_get_provider_info_reply_t *
03486 xcb_randr_get_provider_info_reply (xcb_connection_t *c ,
03487 xcb_randr_get_provider_info_cookie_t cookie ,
03488 xcb_generic_error_t **e );
03489
03501 xcb_void_cookie_t
03502 xcb_randr_set_provider_offload_sink_checked (xcb_connection_t *c ,
03503 xcb_randr_provider_t provider ,
03504 xcb_randr_provider_t sink_provider ,
03505 xcb_timestamp_t config_timestamp );
03506
03515 xcb_void_cookie_t
03516 xcb_randr_set_provider_offload_sink (xcb_connection_t *c ,
03517 xcb_randr_provider_t provider ,
03518 xcb_randr_provider_t sink_provider ,
03519 xcb_timestamp_t config_timestamp );
03520
03532 xcb_void_cookie_t
03533 xcb_randr_set_provider_output_source_checked (xcb_connection_t *c ,
03534 xcb_randr_provider_t provider ,
03535 xcb_randr_provider_t source_provider ,
03536 xcb_timestamp_t config_timestamp );
03537
03546 xcb_void_cookie_t
03547 xcb_randr_set_provider_output_source (xcb_connection_t *c ,
03548 xcb_randr_provider_t provider ,
03549 xcb_randr_provider_t source_provider ,
03550 xcb_timestamp_t config_timestamp );
03551
03552 int
03553 xcb_randr_list_provider_properties_sizeof (const void *_buffer );
03554
03563 xcb_randr_list_provider_properties_cookie_t
03564 xcb_randr_list_provider_properties (xcb_connection_t *c ,
03565 xcb_randr_provider_t provider );
03566
03578 xcb_randr_list_provider_properties_cookie_t
03579 xcb_randr_list_provider_properties_unchecked (xcb_connection_t *c ,
03580 xcb_randr_provider_t provider );
03581
03582 xcb_atom_t *
03583 xcb_randr_list_provider_properties_atoms (const xcb_randr_list_provider_properties_reply_t *R );
03584
03585 int
03586 xcb_randr_list_provider_properties_atoms_length (const xcb_randr_list_provider_properties_reply_t *R );
03587
03588 xcb_generic_iterator_t
03589 xcb_randr_list_provider_properties_atoms_end (const xcb_randr_list_provider_properties_reply_t *R );
03590
03605 xcb_randr_list_provider_properties_reply_t *
03606 xcb_randr_list_provider_properties_reply (xcb_connection_t *c ,
03607 xcb_randr_list_provider_properties_cookie_t cookie ,
03608 xcb_generic_error_t **e );
03609
03610 int
03611 xcb_randr_query_provider_property_sizeof (const void *_buffer );
03612
03621 xcb_randr_query_provider_property_cookie_t
03622 xcb_randr_query_provider_property (xcb_connection_t *c ,
03623 xcb_randr_provider_t provider ,
03624 xcb_atom_t property );
03625
03637 xcb_randr_query_provider_property_cookie_t
03638 xcb_randr_query_provider_property_unchecked (xcb_connection_t *c ,
03639 xcb_randr_provider_t provider ,
03640 xcb_atom_t property );
03641
03642 int32_t *
03643 xcb_randr_query_provider_property_valid_values (const xcb_randr_query_provider_property_reply_t *R );
03644
03645 int
03646 xcb_randr_query_provider_property_valid_values_length (const xcb_randr_query_provider_property_reply_t *R );
03647
03648 xcb_generic_iterator_t
03649 xcb_randr_query_provider_property_valid_values_end (const xcb_randr_query_provider_property_reply_t *R );
03650
03665 xcb_randr_query_provider_property_reply_t *
03666 xcb_randr_query_provider_property_reply (xcb_connection_t *c ,
03667 xcb_randr_query_provider_property_cookie_t cookie ,
03668 xcb_generic_error_t **e );
03669
03670 int
03671 xcb_randr_configure_provider_property_sizeof (const void *_buffer ,
03672 uint32_t values_len );
03673
03685 xcb_void_cookie_t
03686 xcb_randr_configure_provider_property_checked (xcb_connection_t *c ,
03687 xcb_randr_provider_t provider ,
03688 xcb_atom_t property ,
03689 uint8_t pending ,
03690 uint8_t range ,
03691 uint32_t values_len ,
03692 const int32_t *values );
03693
03702 xcb_void_cookie_t
03703 xcb_randr_configure_provider_property (xcb_connection_t *c ,
03704 xcb_randr_provider_t provider ,
03705 xcb_atom_t property ,
03706 uint8_t pending ,
03707 uint8_t range ,
03708 uint32_t values_len ,
03709 const int32_t *values );
03710
03711 int
03712 xcb_randr_change_provider_property_sizeof (const void *_buffer );
03713
03725 xcb_void_cookie_t
03726 xcb_randr_change_provider_property_checked (xcb_connection_t *c ,
03727 xcb_randr_provider_t provider ,
03728 xcb_atom_t property ,
03729 xcb_atom_t type ,
03730 uint8_t format ,
03731 uint8_t mode ,
03732 uint32_t num_items ,
03733 const void *data );
03734
03743 xcb_void_cookie_t
03744 xcb_randr_change_provider_property (xcb_connection_t *c ,
03745 xcb_randr_provider_t provider ,
03746 xcb_atom_t property ,
03747 xcb_atom_t type ,
03748 uint8_t format ,
03749 uint8_t mode ,
03750 uint32_t num_items ,
03751 const void *data );
03752
03764 xcb_void_cookie_t
03765 xcb_randr_delete_provider_property_checked (xcb_connection_t *c ,
03766 xcb_randr_provider_t provider ,
03767 xcb_atom_t property );
03768
03777 xcb_void_cookie_t
03778 xcb_randr_delete_provider_property (xcb_connection_t *c ,
03779 xcb_randr_provider_t provider ,
03780 xcb_atom_t property );
03781
03782 int
03783 xcb_randr_get_provider_property_sizeof (const void *_buffer );
03784
03793 xcb_randr_get_provider_property_cookie_t
03794 xcb_randr_get_provider_property (xcb_connection_t *c ,
03795 xcb_randr_provider_t provider ,
03796 xcb_atom_t property ,
03797 xcb_atom_t type ,
03798 uint32_t long_offset ,
03799 uint32_t long_length ,
03800 uint8_t _delete ,
03801 uint8_t pending );
03802
03814 xcb_randr_get_provider_property_cookie_t
03815 xcb_randr_get_provider_property_unchecked (xcb_connection_t *c ,
03816 xcb_randr_provider_t provider ,
03817 xcb_atom_t property ,
03818 xcb_atom_t type ,
03819 uint32_t long_offset ,
03820 uint32_t long_length ,
03821 uint8_t _delete ,
03822 uint8_t pending );
03823
03824 void *
03825 xcb_randr_get_provider_property_data (const xcb_randr_get_provider_property_reply_t *R );
03826
03827 int
03828 xcb_randr_get_provider_property_data_length (const xcb_randr_get_provider_property_reply_t *R );
03829
03830 xcb_generic_iterator_t
03831 xcb_randr_get_provider_property_data_end (const xcb_randr_get_provider_property_reply_t *R );
03832
03847 xcb_randr_get_provider_property_reply_t *
03848 xcb_randr_get_provider_property_reply (xcb_connection_t *c ,
03849 xcb_randr_get_provider_property_cookie_t cookie ,
03850 xcb_generic_error_t **e );
03851
03860 void
03861 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i );
03862
03872 xcb_generic_iterator_t
03873 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i );
03874
03883 void
03884 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i );
03885
03895 xcb_generic_iterator_t
03896 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i );
03897
03906 void
03907 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i );
03908
03918 xcb_generic_iterator_t
03919 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i );
03920
03929 void
03930 xcb_randr_provider_change_next (xcb_randr_provider_change_iterator_t *i );
03931
03941 xcb_generic_iterator_t
03942 xcb_randr_provider_change_end (xcb_randr_provider_change_iterator_t i );
03943
03952 void
03953 xcb_randr_provider_property_next (xcb_randr_provider_property_iterator_t *i );
03954
03964 xcb_generic_iterator_t
03965 xcb_randr_provider_property_end (xcb_randr_provider_property_iterator_t i );
03966
03975 void
03976 xcb_randr_resource_change_next (xcb_randr_resource_change_iterator_t *i );
03977
03987 xcb_generic_iterator_t
03988 xcb_randr_resource_change_end (xcb_randr_resource_change_iterator_t i );
03989
03998 void
03999 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i );
04000
04010 xcb_generic_iterator_t
04011 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i );
04012
04013
04014 #ifdef __cplusplus
04015 }
04016 #endif
04017
04018 #endif
04019