File indexing completed on 2025-01-18 10:14:39
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __RANDR_H
0013 #define __RANDR_H
0014
0015 #include "xcb.h"
0016 #include "xproto.h"
0017 #include "render.h"
0018
0019 #ifdef __cplusplus
0020 extern "C" {
0021 #endif
0022
0023 #define XCB_RANDR_MAJOR_VERSION 1
0024 #define XCB_RANDR_MINOR_VERSION 6
0025
0026 extern xcb_extension_t xcb_randr_id;
0027
0028 typedef uint32_t xcb_randr_mode_t;
0029
0030
0031
0032
0033 typedef struct xcb_randr_mode_iterator_t {
0034 xcb_randr_mode_t *data;
0035 int rem;
0036 int index;
0037 } xcb_randr_mode_iterator_t;
0038
0039 typedef uint32_t xcb_randr_crtc_t;
0040
0041
0042
0043
0044 typedef struct xcb_randr_crtc_iterator_t {
0045 xcb_randr_crtc_t *data;
0046 int rem;
0047 int index;
0048 } xcb_randr_crtc_iterator_t;
0049
0050 typedef uint32_t xcb_randr_output_t;
0051
0052
0053
0054
0055 typedef struct xcb_randr_output_iterator_t {
0056 xcb_randr_output_t *data;
0057 int rem;
0058 int index;
0059 } xcb_randr_output_iterator_t;
0060
0061 typedef uint32_t xcb_randr_provider_t;
0062
0063
0064
0065
0066 typedef struct xcb_randr_provider_iterator_t {
0067 xcb_randr_provider_t *data;
0068 int rem;
0069 int index;
0070 } xcb_randr_provider_iterator_t;
0071
0072 typedef uint32_t xcb_randr_lease_t;
0073
0074
0075
0076
0077 typedef struct xcb_randr_lease_iterator_t {
0078 xcb_randr_lease_t *data;
0079 int rem;
0080 int index;
0081 } xcb_randr_lease_iterator_t;
0082
0083
0084 #define XCB_RANDR_BAD_OUTPUT 0
0085
0086
0087
0088
0089 typedef struct xcb_randr_bad_output_error_t {
0090 uint8_t response_type;
0091 uint8_t error_code;
0092 uint16_t sequence;
0093 uint32_t bad_value;
0094 uint16_t minor_opcode;
0095 uint8_t major_opcode;
0096 } xcb_randr_bad_output_error_t;
0097
0098
0099 #define XCB_RANDR_BAD_CRTC 1
0100
0101
0102
0103
0104 typedef struct xcb_randr_bad_crtc_error_t {
0105 uint8_t response_type;
0106 uint8_t error_code;
0107 uint16_t sequence;
0108 uint32_t bad_value;
0109 uint16_t minor_opcode;
0110 uint8_t major_opcode;
0111 } xcb_randr_bad_crtc_error_t;
0112
0113
0114 #define XCB_RANDR_BAD_MODE 2
0115
0116
0117
0118
0119 typedef struct xcb_randr_bad_mode_error_t {
0120 uint8_t response_type;
0121 uint8_t error_code;
0122 uint16_t sequence;
0123 uint32_t bad_value;
0124 uint16_t minor_opcode;
0125 uint8_t major_opcode;
0126 } xcb_randr_bad_mode_error_t;
0127
0128
0129 #define XCB_RANDR_BAD_PROVIDER 3
0130
0131
0132
0133
0134 typedef struct xcb_randr_bad_provider_error_t {
0135 uint8_t response_type;
0136 uint8_t error_code;
0137 uint16_t sequence;
0138 uint32_t bad_value;
0139 uint16_t minor_opcode;
0140 uint8_t major_opcode;
0141 } xcb_randr_bad_provider_error_t;
0142
0143 typedef enum xcb_randr_rotation_t {
0144 XCB_RANDR_ROTATION_ROTATE_0 = 1,
0145 XCB_RANDR_ROTATION_ROTATE_90 = 2,
0146 XCB_RANDR_ROTATION_ROTATE_180 = 4,
0147 XCB_RANDR_ROTATION_ROTATE_270 = 8,
0148 XCB_RANDR_ROTATION_REFLECT_X = 16,
0149 XCB_RANDR_ROTATION_REFLECT_Y = 32
0150 } xcb_randr_rotation_t;
0151
0152
0153
0154
0155 typedef struct xcb_randr_screen_size_t {
0156 uint16_t width;
0157 uint16_t height;
0158 uint16_t mwidth;
0159 uint16_t mheight;
0160 } xcb_randr_screen_size_t;
0161
0162
0163
0164
0165 typedef struct xcb_randr_screen_size_iterator_t {
0166 xcb_randr_screen_size_t *data;
0167 int rem;
0168 int index;
0169 } xcb_randr_screen_size_iterator_t;
0170
0171
0172
0173
0174 typedef struct xcb_randr_refresh_rates_t {
0175 uint16_t nRates;
0176 } xcb_randr_refresh_rates_t;
0177
0178
0179
0180
0181 typedef struct xcb_randr_refresh_rates_iterator_t {
0182 xcb_randr_refresh_rates_t *data;
0183 int rem;
0184 int index;
0185 } xcb_randr_refresh_rates_iterator_t;
0186
0187
0188
0189
0190 typedef struct xcb_randr_query_version_cookie_t {
0191 unsigned int sequence;
0192 } xcb_randr_query_version_cookie_t;
0193
0194
0195 #define XCB_RANDR_QUERY_VERSION 0
0196
0197
0198
0199
0200 typedef struct xcb_randr_query_version_request_t {
0201 uint8_t major_opcode;
0202 uint8_t minor_opcode;
0203 uint16_t length;
0204 uint32_t major_version;
0205 uint32_t minor_version;
0206 } xcb_randr_query_version_request_t;
0207
0208
0209
0210
0211 typedef struct xcb_randr_query_version_reply_t {
0212 uint8_t response_type;
0213 uint8_t pad0;
0214 uint16_t sequence;
0215 uint32_t length;
0216 uint32_t major_version;
0217 uint32_t minor_version;
0218 uint8_t pad1[16];
0219 } xcb_randr_query_version_reply_t;
0220
0221 typedef enum xcb_randr_set_config_t {
0222 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
0223 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
0224 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
0225 XCB_RANDR_SET_CONFIG_FAILED = 3
0226 } xcb_randr_set_config_t;
0227
0228
0229
0230
0231 typedef struct xcb_randr_set_screen_config_cookie_t {
0232 unsigned int sequence;
0233 } xcb_randr_set_screen_config_cookie_t;
0234
0235
0236 #define XCB_RANDR_SET_SCREEN_CONFIG 2
0237
0238
0239
0240
0241 typedef struct xcb_randr_set_screen_config_request_t {
0242 uint8_t major_opcode;
0243 uint8_t minor_opcode;
0244 uint16_t length;
0245 xcb_window_t window;
0246 xcb_timestamp_t timestamp;
0247 xcb_timestamp_t config_timestamp;
0248 uint16_t sizeID;
0249 uint16_t rotation;
0250 uint16_t rate;
0251 uint8_t pad0[2];
0252 } xcb_randr_set_screen_config_request_t;
0253
0254
0255
0256
0257 typedef struct xcb_randr_set_screen_config_reply_t {
0258 uint8_t response_type;
0259 uint8_t status;
0260 uint16_t sequence;
0261 uint32_t length;
0262 xcb_timestamp_t new_timestamp;
0263 xcb_timestamp_t config_timestamp;
0264 xcb_window_t root;
0265 uint16_t subpixel_order;
0266 uint8_t pad0[10];
0267 } xcb_randr_set_screen_config_reply_t;
0268
0269 typedef enum xcb_randr_notify_mask_t {
0270 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
0271 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
0272 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
0273 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8,
0274 XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16,
0275 XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32,
0276 XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64,
0277 XCB_RANDR_NOTIFY_MASK_LEASE = 128
0278 } xcb_randr_notify_mask_t;
0279
0280
0281 #define XCB_RANDR_SELECT_INPUT 4
0282
0283
0284
0285
0286 typedef struct xcb_randr_select_input_request_t {
0287 uint8_t major_opcode;
0288 uint8_t minor_opcode;
0289 uint16_t length;
0290 xcb_window_t window;
0291 uint16_t enable;
0292 uint8_t pad0[2];
0293 } xcb_randr_select_input_request_t;
0294
0295
0296
0297
0298 typedef struct xcb_randr_get_screen_info_cookie_t {
0299 unsigned int sequence;
0300 } xcb_randr_get_screen_info_cookie_t;
0301
0302
0303 #define XCB_RANDR_GET_SCREEN_INFO 5
0304
0305
0306
0307
0308 typedef struct xcb_randr_get_screen_info_request_t {
0309 uint8_t major_opcode;
0310 uint8_t minor_opcode;
0311 uint16_t length;
0312 xcb_window_t window;
0313 } xcb_randr_get_screen_info_request_t;
0314
0315
0316
0317
0318 typedef struct xcb_randr_get_screen_info_reply_t {
0319 uint8_t response_type;
0320 uint8_t rotations;
0321 uint16_t sequence;
0322 uint32_t length;
0323 xcb_window_t root;
0324 xcb_timestamp_t timestamp;
0325 xcb_timestamp_t config_timestamp;
0326 uint16_t nSizes;
0327 uint16_t sizeID;
0328 uint16_t rotation;
0329 uint16_t rate;
0330 uint16_t nInfo;
0331 uint8_t pad0[2];
0332 } xcb_randr_get_screen_info_reply_t;
0333
0334
0335
0336
0337 typedef struct xcb_randr_get_screen_size_range_cookie_t {
0338 unsigned int sequence;
0339 } xcb_randr_get_screen_size_range_cookie_t;
0340
0341
0342 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
0343
0344
0345
0346
0347 typedef struct xcb_randr_get_screen_size_range_request_t {
0348 uint8_t major_opcode;
0349 uint8_t minor_opcode;
0350 uint16_t length;
0351 xcb_window_t window;
0352 } xcb_randr_get_screen_size_range_request_t;
0353
0354
0355
0356
0357 typedef struct xcb_randr_get_screen_size_range_reply_t {
0358 uint8_t response_type;
0359 uint8_t pad0;
0360 uint16_t sequence;
0361 uint32_t length;
0362 uint16_t min_width;
0363 uint16_t min_height;
0364 uint16_t max_width;
0365 uint16_t max_height;
0366 uint8_t pad1[16];
0367 } xcb_randr_get_screen_size_range_reply_t;
0368
0369
0370 #define XCB_RANDR_SET_SCREEN_SIZE 7
0371
0372
0373
0374
0375 typedef struct xcb_randr_set_screen_size_request_t {
0376 uint8_t major_opcode;
0377 uint8_t minor_opcode;
0378 uint16_t length;
0379 xcb_window_t window;
0380 uint16_t width;
0381 uint16_t height;
0382 uint32_t mm_width;
0383 uint32_t mm_height;
0384 } xcb_randr_set_screen_size_request_t;
0385
0386 typedef enum xcb_randr_mode_flag_t {
0387 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
0388 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
0389 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
0390 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
0391 XCB_RANDR_MODE_FLAG_INTERLACE = 16,
0392 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
0393 XCB_RANDR_MODE_FLAG_CSYNC = 64,
0394 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
0395 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
0396 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
0397 XCB_RANDR_MODE_FLAG_BCAST = 1024,
0398 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
0399 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
0400 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
0401 } xcb_randr_mode_flag_t;
0402
0403
0404
0405
0406 typedef struct xcb_randr_mode_info_t {
0407 uint32_t id;
0408 uint16_t width;
0409 uint16_t height;
0410 uint32_t dot_clock;
0411 uint16_t hsync_start;
0412 uint16_t hsync_end;
0413 uint16_t htotal;
0414 uint16_t hskew;
0415 uint16_t vsync_start;
0416 uint16_t vsync_end;
0417 uint16_t vtotal;
0418 uint16_t name_len;
0419 uint32_t mode_flags;
0420 } xcb_randr_mode_info_t;
0421
0422
0423
0424
0425 typedef struct xcb_randr_mode_info_iterator_t {
0426 xcb_randr_mode_info_t *data;
0427 int rem;
0428 int index;
0429 } xcb_randr_mode_info_iterator_t;
0430
0431
0432
0433
0434 typedef struct xcb_randr_get_screen_resources_cookie_t {
0435 unsigned int sequence;
0436 } xcb_randr_get_screen_resources_cookie_t;
0437
0438
0439 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
0440
0441
0442
0443
0444 typedef struct xcb_randr_get_screen_resources_request_t {
0445 uint8_t major_opcode;
0446 uint8_t minor_opcode;
0447 uint16_t length;
0448 xcb_window_t window;
0449 } xcb_randr_get_screen_resources_request_t;
0450
0451
0452
0453
0454 typedef struct xcb_randr_get_screen_resources_reply_t {
0455 uint8_t response_type;
0456 uint8_t pad0;
0457 uint16_t sequence;
0458 uint32_t length;
0459 xcb_timestamp_t timestamp;
0460 xcb_timestamp_t config_timestamp;
0461 uint16_t num_crtcs;
0462 uint16_t num_outputs;
0463 uint16_t num_modes;
0464 uint16_t names_len;
0465 uint8_t pad1[8];
0466 } xcb_randr_get_screen_resources_reply_t;
0467
0468 typedef enum xcb_randr_connection_t {
0469 XCB_RANDR_CONNECTION_CONNECTED = 0,
0470 XCB_RANDR_CONNECTION_DISCONNECTED = 1,
0471 XCB_RANDR_CONNECTION_UNKNOWN = 2
0472 } xcb_randr_connection_t;
0473
0474
0475
0476
0477 typedef struct xcb_randr_get_output_info_cookie_t {
0478 unsigned int sequence;
0479 } xcb_randr_get_output_info_cookie_t;
0480
0481
0482 #define XCB_RANDR_GET_OUTPUT_INFO 9
0483
0484
0485
0486
0487 typedef struct xcb_randr_get_output_info_request_t {
0488 uint8_t major_opcode;
0489 uint8_t minor_opcode;
0490 uint16_t length;
0491 xcb_randr_output_t output;
0492 xcb_timestamp_t config_timestamp;
0493 } xcb_randr_get_output_info_request_t;
0494
0495
0496
0497
0498 typedef struct xcb_randr_get_output_info_reply_t {
0499 uint8_t response_type;
0500 uint8_t status;
0501 uint16_t sequence;
0502 uint32_t length;
0503 xcb_timestamp_t timestamp;
0504 xcb_randr_crtc_t crtc;
0505 uint32_t mm_width;
0506 uint32_t mm_height;
0507 uint8_t connection;
0508 uint8_t subpixel_order;
0509 uint16_t num_crtcs;
0510 uint16_t num_modes;
0511 uint16_t num_preferred;
0512 uint16_t num_clones;
0513 uint16_t name_len;
0514 } xcb_randr_get_output_info_reply_t;
0515
0516
0517
0518
0519 typedef struct xcb_randr_list_output_properties_cookie_t {
0520 unsigned int sequence;
0521 } xcb_randr_list_output_properties_cookie_t;
0522
0523
0524 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
0525
0526
0527
0528
0529 typedef struct xcb_randr_list_output_properties_request_t {
0530 uint8_t major_opcode;
0531 uint8_t minor_opcode;
0532 uint16_t length;
0533 xcb_randr_output_t output;
0534 } xcb_randr_list_output_properties_request_t;
0535
0536
0537
0538
0539 typedef struct xcb_randr_list_output_properties_reply_t {
0540 uint8_t response_type;
0541 uint8_t pad0;
0542 uint16_t sequence;
0543 uint32_t length;
0544 uint16_t num_atoms;
0545 uint8_t pad1[22];
0546 } xcb_randr_list_output_properties_reply_t;
0547
0548
0549
0550
0551 typedef struct xcb_randr_query_output_property_cookie_t {
0552 unsigned int sequence;
0553 } xcb_randr_query_output_property_cookie_t;
0554
0555
0556 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
0557
0558
0559
0560
0561 typedef struct xcb_randr_query_output_property_request_t {
0562 uint8_t major_opcode;
0563 uint8_t minor_opcode;
0564 uint16_t length;
0565 xcb_randr_output_t output;
0566 xcb_atom_t property;
0567 } xcb_randr_query_output_property_request_t;
0568
0569
0570
0571
0572 typedef struct xcb_randr_query_output_property_reply_t {
0573 uint8_t response_type;
0574 uint8_t pad0;
0575 uint16_t sequence;
0576 uint32_t length;
0577 uint8_t pending;
0578 uint8_t range;
0579 uint8_t immutable;
0580 uint8_t pad1[21];
0581 } xcb_randr_query_output_property_reply_t;
0582
0583
0584 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
0585
0586
0587
0588
0589 typedef struct xcb_randr_configure_output_property_request_t {
0590 uint8_t major_opcode;
0591 uint8_t minor_opcode;
0592 uint16_t length;
0593 xcb_randr_output_t output;
0594 xcb_atom_t property;
0595 uint8_t pending;
0596 uint8_t range;
0597 uint8_t pad0[2];
0598 } xcb_randr_configure_output_property_request_t;
0599
0600
0601 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
0602
0603
0604
0605
0606 typedef struct xcb_randr_change_output_property_request_t {
0607 uint8_t major_opcode;
0608 uint8_t minor_opcode;
0609 uint16_t length;
0610 xcb_randr_output_t output;
0611 xcb_atom_t property;
0612 xcb_atom_t type;
0613 uint8_t format;
0614 uint8_t mode;
0615 uint8_t pad0[2];
0616 uint32_t num_units;
0617 } xcb_randr_change_output_property_request_t;
0618
0619
0620 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
0621
0622
0623
0624
0625 typedef struct xcb_randr_delete_output_property_request_t {
0626 uint8_t major_opcode;
0627 uint8_t minor_opcode;
0628 uint16_t length;
0629 xcb_randr_output_t output;
0630 xcb_atom_t property;
0631 } xcb_randr_delete_output_property_request_t;
0632
0633
0634
0635
0636 typedef struct xcb_randr_get_output_property_cookie_t {
0637 unsigned int sequence;
0638 } xcb_randr_get_output_property_cookie_t;
0639
0640
0641 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
0642
0643
0644
0645
0646 typedef struct xcb_randr_get_output_property_request_t {
0647 uint8_t major_opcode;
0648 uint8_t minor_opcode;
0649 uint16_t length;
0650 xcb_randr_output_t output;
0651 xcb_atom_t property;
0652 xcb_atom_t type;
0653 uint32_t long_offset;
0654 uint32_t long_length;
0655 uint8_t _delete;
0656 uint8_t pending;
0657 uint8_t pad0[2];
0658 } xcb_randr_get_output_property_request_t;
0659
0660
0661
0662
0663 typedef struct xcb_randr_get_output_property_reply_t {
0664 uint8_t response_type;
0665 uint8_t format;
0666 uint16_t sequence;
0667 uint32_t length;
0668 xcb_atom_t type;
0669 uint32_t bytes_after;
0670 uint32_t num_items;
0671 uint8_t pad0[12];
0672 } xcb_randr_get_output_property_reply_t;
0673
0674
0675
0676
0677 typedef struct xcb_randr_create_mode_cookie_t {
0678 unsigned int sequence;
0679 } xcb_randr_create_mode_cookie_t;
0680
0681
0682 #define XCB_RANDR_CREATE_MODE 16
0683
0684
0685
0686
0687 typedef struct xcb_randr_create_mode_request_t {
0688 uint8_t major_opcode;
0689 uint8_t minor_opcode;
0690 uint16_t length;
0691 xcb_window_t window;
0692 xcb_randr_mode_info_t mode_info;
0693 } xcb_randr_create_mode_request_t;
0694
0695
0696
0697
0698 typedef struct xcb_randr_create_mode_reply_t {
0699 uint8_t response_type;
0700 uint8_t pad0;
0701 uint16_t sequence;
0702 uint32_t length;
0703 xcb_randr_mode_t mode;
0704 uint8_t pad1[20];
0705 } xcb_randr_create_mode_reply_t;
0706
0707
0708 #define XCB_RANDR_DESTROY_MODE 17
0709
0710
0711
0712
0713 typedef struct xcb_randr_destroy_mode_request_t {
0714 uint8_t major_opcode;
0715 uint8_t minor_opcode;
0716 uint16_t length;
0717 xcb_randr_mode_t mode;
0718 } xcb_randr_destroy_mode_request_t;
0719
0720
0721 #define XCB_RANDR_ADD_OUTPUT_MODE 18
0722
0723
0724
0725
0726 typedef struct xcb_randr_add_output_mode_request_t {
0727 uint8_t major_opcode;
0728 uint8_t minor_opcode;
0729 uint16_t length;
0730 xcb_randr_output_t output;
0731 xcb_randr_mode_t mode;
0732 } xcb_randr_add_output_mode_request_t;
0733
0734
0735 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
0736
0737
0738
0739
0740 typedef struct xcb_randr_delete_output_mode_request_t {
0741 uint8_t major_opcode;
0742 uint8_t minor_opcode;
0743 uint16_t length;
0744 xcb_randr_output_t output;
0745 xcb_randr_mode_t mode;
0746 } xcb_randr_delete_output_mode_request_t;
0747
0748
0749
0750
0751 typedef struct xcb_randr_get_crtc_info_cookie_t {
0752 unsigned int sequence;
0753 } xcb_randr_get_crtc_info_cookie_t;
0754
0755
0756 #define XCB_RANDR_GET_CRTC_INFO 20
0757
0758
0759
0760
0761 typedef struct xcb_randr_get_crtc_info_request_t {
0762 uint8_t major_opcode;
0763 uint8_t minor_opcode;
0764 uint16_t length;
0765 xcb_randr_crtc_t crtc;
0766 xcb_timestamp_t config_timestamp;
0767 } xcb_randr_get_crtc_info_request_t;
0768
0769
0770
0771
0772 typedef struct xcb_randr_get_crtc_info_reply_t {
0773 uint8_t response_type;
0774 uint8_t status;
0775 uint16_t sequence;
0776 uint32_t length;
0777 xcb_timestamp_t timestamp;
0778 int16_t x;
0779 int16_t y;
0780 uint16_t width;
0781 uint16_t height;
0782 xcb_randr_mode_t mode;
0783 uint16_t rotation;
0784 uint16_t rotations;
0785 uint16_t num_outputs;
0786 uint16_t num_possible_outputs;
0787 } xcb_randr_get_crtc_info_reply_t;
0788
0789
0790
0791
0792 typedef struct xcb_randr_set_crtc_config_cookie_t {
0793 unsigned int sequence;
0794 } xcb_randr_set_crtc_config_cookie_t;
0795
0796
0797 #define XCB_RANDR_SET_CRTC_CONFIG 21
0798
0799
0800
0801
0802 typedef struct xcb_randr_set_crtc_config_request_t {
0803 uint8_t major_opcode;
0804 uint8_t minor_opcode;
0805 uint16_t length;
0806 xcb_randr_crtc_t crtc;
0807 xcb_timestamp_t timestamp;
0808 xcb_timestamp_t config_timestamp;
0809 int16_t x;
0810 int16_t y;
0811 xcb_randr_mode_t mode;
0812 uint16_t rotation;
0813 uint8_t pad0[2];
0814 } xcb_randr_set_crtc_config_request_t;
0815
0816
0817
0818
0819 typedef struct xcb_randr_set_crtc_config_reply_t {
0820 uint8_t response_type;
0821 uint8_t status;
0822 uint16_t sequence;
0823 uint32_t length;
0824 xcb_timestamp_t timestamp;
0825 uint8_t pad0[20];
0826 } xcb_randr_set_crtc_config_reply_t;
0827
0828
0829
0830
0831 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
0832 unsigned int sequence;
0833 } xcb_randr_get_crtc_gamma_size_cookie_t;
0834
0835
0836 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
0837
0838
0839
0840
0841 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
0842 uint8_t major_opcode;
0843 uint8_t minor_opcode;
0844 uint16_t length;
0845 xcb_randr_crtc_t crtc;
0846 } xcb_randr_get_crtc_gamma_size_request_t;
0847
0848
0849
0850
0851 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
0852 uint8_t response_type;
0853 uint8_t pad0;
0854 uint16_t sequence;
0855 uint32_t length;
0856 uint16_t size;
0857 uint8_t pad1[22];
0858 } xcb_randr_get_crtc_gamma_size_reply_t;
0859
0860
0861
0862
0863 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
0864 unsigned int sequence;
0865 } xcb_randr_get_crtc_gamma_cookie_t;
0866
0867
0868 #define XCB_RANDR_GET_CRTC_GAMMA 23
0869
0870
0871
0872
0873 typedef struct xcb_randr_get_crtc_gamma_request_t {
0874 uint8_t major_opcode;
0875 uint8_t minor_opcode;
0876 uint16_t length;
0877 xcb_randr_crtc_t crtc;
0878 } xcb_randr_get_crtc_gamma_request_t;
0879
0880
0881
0882
0883 typedef struct xcb_randr_get_crtc_gamma_reply_t {
0884 uint8_t response_type;
0885 uint8_t pad0;
0886 uint16_t sequence;
0887 uint32_t length;
0888 uint16_t size;
0889 uint8_t pad1[22];
0890 } xcb_randr_get_crtc_gamma_reply_t;
0891
0892
0893 #define XCB_RANDR_SET_CRTC_GAMMA 24
0894
0895
0896
0897
0898 typedef struct xcb_randr_set_crtc_gamma_request_t {
0899 uint8_t major_opcode;
0900 uint8_t minor_opcode;
0901 uint16_t length;
0902 xcb_randr_crtc_t crtc;
0903 uint16_t size;
0904 uint8_t pad0[2];
0905 } xcb_randr_set_crtc_gamma_request_t;
0906
0907
0908
0909
0910 typedef struct xcb_randr_get_screen_resources_current_cookie_t {
0911 unsigned int sequence;
0912 } xcb_randr_get_screen_resources_current_cookie_t;
0913
0914
0915 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25
0916
0917
0918
0919
0920 typedef struct xcb_randr_get_screen_resources_current_request_t {
0921 uint8_t major_opcode;
0922 uint8_t minor_opcode;
0923 uint16_t length;
0924 xcb_window_t window;
0925 } xcb_randr_get_screen_resources_current_request_t;
0926
0927
0928
0929
0930 typedef struct xcb_randr_get_screen_resources_current_reply_t {
0931 uint8_t response_type;
0932 uint8_t pad0;
0933 uint16_t sequence;
0934 uint32_t length;
0935 xcb_timestamp_t timestamp;
0936 xcb_timestamp_t config_timestamp;
0937 uint16_t num_crtcs;
0938 uint16_t num_outputs;
0939 uint16_t num_modes;
0940 uint16_t names_len;
0941 uint8_t pad1[8];
0942 } xcb_randr_get_screen_resources_current_reply_t;
0943
0944 typedef enum xcb_randr_transform_t {
0945 XCB_RANDR_TRANSFORM_UNIT = 1,
0946 XCB_RANDR_TRANSFORM_SCALE_UP = 2,
0947 XCB_RANDR_TRANSFORM_SCALE_DOWN = 4,
0948 XCB_RANDR_TRANSFORM_PROJECTIVE = 8
0949 } xcb_randr_transform_t;
0950
0951
0952 #define XCB_RANDR_SET_CRTC_TRANSFORM 26
0953
0954
0955
0956
0957 typedef struct xcb_randr_set_crtc_transform_request_t {
0958 uint8_t major_opcode;
0959 uint8_t minor_opcode;
0960 uint16_t length;
0961 xcb_randr_crtc_t crtc;
0962 xcb_render_transform_t transform;
0963 uint16_t filter_len;
0964 uint8_t pad0[2];
0965 } xcb_randr_set_crtc_transform_request_t;
0966
0967
0968
0969
0970 typedef struct xcb_randr_get_crtc_transform_cookie_t {
0971 unsigned int sequence;
0972 } xcb_randr_get_crtc_transform_cookie_t;
0973
0974
0975 #define XCB_RANDR_GET_CRTC_TRANSFORM 27
0976
0977
0978
0979
0980 typedef struct xcb_randr_get_crtc_transform_request_t {
0981 uint8_t major_opcode;
0982 uint8_t minor_opcode;
0983 uint16_t length;
0984 xcb_randr_crtc_t crtc;
0985 } xcb_randr_get_crtc_transform_request_t;
0986
0987
0988
0989
0990 typedef struct xcb_randr_get_crtc_transform_reply_t {
0991 uint8_t response_type;
0992 uint8_t pad0;
0993 uint16_t sequence;
0994 uint32_t length;
0995 xcb_render_transform_t pending_transform;
0996 uint8_t has_transforms;
0997 uint8_t pad1[3];
0998 xcb_render_transform_t current_transform;
0999 uint8_t pad2[4];
1000 uint16_t pending_len;
1001 uint16_t pending_nparams;
1002 uint16_t current_len;
1003 uint16_t current_nparams;
1004 } xcb_randr_get_crtc_transform_reply_t;
1005
1006
1007
1008
1009 typedef struct xcb_randr_get_panning_cookie_t {
1010 unsigned int sequence;
1011 } xcb_randr_get_panning_cookie_t;
1012
1013
1014 #define XCB_RANDR_GET_PANNING 28
1015
1016
1017
1018
1019 typedef struct xcb_randr_get_panning_request_t {
1020 uint8_t major_opcode;
1021 uint8_t minor_opcode;
1022 uint16_t length;
1023 xcb_randr_crtc_t crtc;
1024 } xcb_randr_get_panning_request_t;
1025
1026
1027
1028
1029 typedef struct xcb_randr_get_panning_reply_t {
1030 uint8_t response_type;
1031 uint8_t status;
1032 uint16_t sequence;
1033 uint32_t length;
1034 xcb_timestamp_t timestamp;
1035 uint16_t left;
1036 uint16_t top;
1037 uint16_t width;
1038 uint16_t height;
1039 uint16_t track_left;
1040 uint16_t track_top;
1041 uint16_t track_width;
1042 uint16_t track_height;
1043 int16_t border_left;
1044 int16_t border_top;
1045 int16_t border_right;
1046 int16_t border_bottom;
1047 } xcb_randr_get_panning_reply_t;
1048
1049
1050
1051
1052 typedef struct xcb_randr_set_panning_cookie_t {
1053 unsigned int sequence;
1054 } xcb_randr_set_panning_cookie_t;
1055
1056
1057 #define XCB_RANDR_SET_PANNING 29
1058
1059
1060
1061
1062 typedef struct xcb_randr_set_panning_request_t {
1063 uint8_t major_opcode;
1064 uint8_t minor_opcode;
1065 uint16_t length;
1066 xcb_randr_crtc_t crtc;
1067 xcb_timestamp_t timestamp;
1068 uint16_t left;
1069 uint16_t top;
1070 uint16_t width;
1071 uint16_t height;
1072 uint16_t track_left;
1073 uint16_t track_top;
1074 uint16_t track_width;
1075 uint16_t track_height;
1076 int16_t border_left;
1077 int16_t border_top;
1078 int16_t border_right;
1079 int16_t border_bottom;
1080 } xcb_randr_set_panning_request_t;
1081
1082
1083
1084
1085 typedef struct xcb_randr_set_panning_reply_t {
1086 uint8_t response_type;
1087 uint8_t status;
1088 uint16_t sequence;
1089 uint32_t length;
1090 xcb_timestamp_t timestamp;
1091 } xcb_randr_set_panning_reply_t;
1092
1093
1094 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30
1095
1096
1097
1098
1099 typedef struct xcb_randr_set_output_primary_request_t {
1100 uint8_t major_opcode;
1101 uint8_t minor_opcode;
1102 uint16_t length;
1103 xcb_window_t window;
1104 xcb_randr_output_t output;
1105 } xcb_randr_set_output_primary_request_t;
1106
1107
1108
1109
1110 typedef struct xcb_randr_get_output_primary_cookie_t {
1111 unsigned int sequence;
1112 } xcb_randr_get_output_primary_cookie_t;
1113
1114
1115 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31
1116
1117
1118
1119
1120 typedef struct xcb_randr_get_output_primary_request_t {
1121 uint8_t major_opcode;
1122 uint8_t minor_opcode;
1123 uint16_t length;
1124 xcb_window_t window;
1125 } xcb_randr_get_output_primary_request_t;
1126
1127
1128
1129
1130 typedef struct xcb_randr_get_output_primary_reply_t {
1131 uint8_t response_type;
1132 uint8_t pad0;
1133 uint16_t sequence;
1134 uint32_t length;
1135 xcb_randr_output_t output;
1136 } xcb_randr_get_output_primary_reply_t;
1137
1138
1139
1140
1141 typedef struct xcb_randr_get_providers_cookie_t {
1142 unsigned int sequence;
1143 } xcb_randr_get_providers_cookie_t;
1144
1145
1146 #define XCB_RANDR_GET_PROVIDERS 32
1147
1148
1149
1150
1151 typedef struct xcb_randr_get_providers_request_t {
1152 uint8_t major_opcode;
1153 uint8_t minor_opcode;
1154 uint16_t length;
1155 xcb_window_t window;
1156 } xcb_randr_get_providers_request_t;
1157
1158
1159
1160
1161 typedef struct xcb_randr_get_providers_reply_t {
1162 uint8_t response_type;
1163 uint8_t pad0;
1164 uint16_t sequence;
1165 uint32_t length;
1166 xcb_timestamp_t timestamp;
1167 uint16_t num_providers;
1168 uint8_t pad1[18];
1169 } xcb_randr_get_providers_reply_t;
1170
1171 typedef enum xcb_randr_provider_capability_t {
1172 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT = 1,
1173 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT = 2,
1174 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD = 4,
1175 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD = 8
1176 } xcb_randr_provider_capability_t;
1177
1178
1179
1180
1181 typedef struct xcb_randr_get_provider_info_cookie_t {
1182 unsigned int sequence;
1183 } xcb_randr_get_provider_info_cookie_t;
1184
1185
1186 #define XCB_RANDR_GET_PROVIDER_INFO 33
1187
1188
1189
1190
1191 typedef struct xcb_randr_get_provider_info_request_t {
1192 uint8_t major_opcode;
1193 uint8_t minor_opcode;
1194 uint16_t length;
1195 xcb_randr_provider_t provider;
1196 xcb_timestamp_t config_timestamp;
1197 } xcb_randr_get_provider_info_request_t;
1198
1199
1200
1201
1202 typedef struct xcb_randr_get_provider_info_reply_t {
1203 uint8_t response_type;
1204 uint8_t status;
1205 uint16_t sequence;
1206 uint32_t length;
1207 xcb_timestamp_t timestamp;
1208 uint32_t capabilities;
1209 uint16_t num_crtcs;
1210 uint16_t num_outputs;
1211 uint16_t num_associated_providers;
1212 uint16_t name_len;
1213 uint8_t pad0[8];
1214 } xcb_randr_get_provider_info_reply_t;
1215
1216
1217 #define XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK 34
1218
1219
1220
1221
1222 typedef struct xcb_randr_set_provider_offload_sink_request_t {
1223 uint8_t major_opcode;
1224 uint8_t minor_opcode;
1225 uint16_t length;
1226 xcb_randr_provider_t provider;
1227 xcb_randr_provider_t sink_provider;
1228 xcb_timestamp_t config_timestamp;
1229 } xcb_randr_set_provider_offload_sink_request_t;
1230
1231
1232 #define XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE 35
1233
1234
1235
1236
1237 typedef struct xcb_randr_set_provider_output_source_request_t {
1238 uint8_t major_opcode;
1239 uint8_t minor_opcode;
1240 uint16_t length;
1241 xcb_randr_provider_t provider;
1242 xcb_randr_provider_t source_provider;
1243 xcb_timestamp_t config_timestamp;
1244 } xcb_randr_set_provider_output_source_request_t;
1245
1246
1247
1248
1249 typedef struct xcb_randr_list_provider_properties_cookie_t {
1250 unsigned int sequence;
1251 } xcb_randr_list_provider_properties_cookie_t;
1252
1253
1254 #define XCB_RANDR_LIST_PROVIDER_PROPERTIES 36
1255
1256
1257
1258
1259 typedef struct xcb_randr_list_provider_properties_request_t {
1260 uint8_t major_opcode;
1261 uint8_t minor_opcode;
1262 uint16_t length;
1263 xcb_randr_provider_t provider;
1264 } xcb_randr_list_provider_properties_request_t;
1265
1266
1267
1268
1269 typedef struct xcb_randr_list_provider_properties_reply_t {
1270 uint8_t response_type;
1271 uint8_t pad0;
1272 uint16_t sequence;
1273 uint32_t length;
1274 uint16_t num_atoms;
1275 uint8_t pad1[22];
1276 } xcb_randr_list_provider_properties_reply_t;
1277
1278
1279
1280
1281 typedef struct xcb_randr_query_provider_property_cookie_t {
1282 unsigned int sequence;
1283 } xcb_randr_query_provider_property_cookie_t;
1284
1285
1286 #define XCB_RANDR_QUERY_PROVIDER_PROPERTY 37
1287
1288
1289
1290
1291 typedef struct xcb_randr_query_provider_property_request_t {
1292 uint8_t major_opcode;
1293 uint8_t minor_opcode;
1294 uint16_t length;
1295 xcb_randr_provider_t provider;
1296 xcb_atom_t property;
1297 } xcb_randr_query_provider_property_request_t;
1298
1299
1300
1301
1302 typedef struct xcb_randr_query_provider_property_reply_t {
1303 uint8_t response_type;
1304 uint8_t pad0;
1305 uint16_t sequence;
1306 uint32_t length;
1307 uint8_t pending;
1308 uint8_t range;
1309 uint8_t immutable;
1310 uint8_t pad1[21];
1311 } xcb_randr_query_provider_property_reply_t;
1312
1313
1314 #define XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY 38
1315
1316
1317
1318
1319 typedef struct xcb_randr_configure_provider_property_request_t {
1320 uint8_t major_opcode;
1321 uint8_t minor_opcode;
1322 uint16_t length;
1323 xcb_randr_provider_t provider;
1324 xcb_atom_t property;
1325 uint8_t pending;
1326 uint8_t range;
1327 uint8_t pad0[2];
1328 } xcb_randr_configure_provider_property_request_t;
1329
1330
1331 #define XCB_RANDR_CHANGE_PROVIDER_PROPERTY 39
1332
1333
1334
1335
1336 typedef struct xcb_randr_change_provider_property_request_t {
1337 uint8_t major_opcode;
1338 uint8_t minor_opcode;
1339 uint16_t length;
1340 xcb_randr_provider_t provider;
1341 xcb_atom_t property;
1342 xcb_atom_t type;
1343 uint8_t format;
1344 uint8_t mode;
1345 uint8_t pad0[2];
1346 uint32_t num_items;
1347 } xcb_randr_change_provider_property_request_t;
1348
1349
1350 #define XCB_RANDR_DELETE_PROVIDER_PROPERTY 40
1351
1352
1353
1354
1355 typedef struct xcb_randr_delete_provider_property_request_t {
1356 uint8_t major_opcode;
1357 uint8_t minor_opcode;
1358 uint16_t length;
1359 xcb_randr_provider_t provider;
1360 xcb_atom_t property;
1361 } xcb_randr_delete_provider_property_request_t;
1362
1363
1364
1365
1366 typedef struct xcb_randr_get_provider_property_cookie_t {
1367 unsigned int sequence;
1368 } xcb_randr_get_provider_property_cookie_t;
1369
1370
1371 #define XCB_RANDR_GET_PROVIDER_PROPERTY 41
1372
1373
1374
1375
1376 typedef struct xcb_randr_get_provider_property_request_t {
1377 uint8_t major_opcode;
1378 uint8_t minor_opcode;
1379 uint16_t length;
1380 xcb_randr_provider_t provider;
1381 xcb_atom_t property;
1382 xcb_atom_t type;
1383 uint32_t long_offset;
1384 uint32_t long_length;
1385 uint8_t _delete;
1386 uint8_t pending;
1387 uint8_t pad0[2];
1388 } xcb_randr_get_provider_property_request_t;
1389
1390
1391
1392
1393 typedef struct xcb_randr_get_provider_property_reply_t {
1394 uint8_t response_type;
1395 uint8_t format;
1396 uint16_t sequence;
1397 uint32_t length;
1398 xcb_atom_t type;
1399 uint32_t bytes_after;
1400 uint32_t num_items;
1401 uint8_t pad0[12];
1402 } xcb_randr_get_provider_property_reply_t;
1403
1404
1405 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
1406
1407
1408
1409
1410 typedef struct xcb_randr_screen_change_notify_event_t {
1411 uint8_t response_type;
1412 uint8_t rotation;
1413 uint16_t sequence;
1414 xcb_timestamp_t timestamp;
1415 xcb_timestamp_t config_timestamp;
1416 xcb_window_t root;
1417 xcb_window_t request_window;
1418 uint16_t sizeID;
1419 uint16_t subpixel_order;
1420 uint16_t width;
1421 uint16_t height;
1422 uint16_t mwidth;
1423 uint16_t mheight;
1424 } xcb_randr_screen_change_notify_event_t;
1425
1426 typedef enum xcb_randr_notify_t {
1427 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
1428 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
1429 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2,
1430 XCB_RANDR_NOTIFY_PROVIDER_CHANGE = 3,
1431 XCB_RANDR_NOTIFY_PROVIDER_PROPERTY = 4,
1432 XCB_RANDR_NOTIFY_RESOURCE_CHANGE = 5,
1433 XCB_RANDR_NOTIFY_LEASE = 6
1434 } xcb_randr_notify_t;
1435
1436
1437
1438
1439 typedef struct xcb_randr_crtc_change_t {
1440 xcb_timestamp_t timestamp;
1441 xcb_window_t window;
1442 xcb_randr_crtc_t crtc;
1443 xcb_randr_mode_t mode;
1444 uint16_t rotation;
1445 uint8_t pad0[2];
1446 int16_t x;
1447 int16_t y;
1448 uint16_t width;
1449 uint16_t height;
1450 } xcb_randr_crtc_change_t;
1451
1452
1453
1454
1455 typedef struct xcb_randr_crtc_change_iterator_t {
1456 xcb_randr_crtc_change_t *data;
1457 int rem;
1458 int index;
1459 } xcb_randr_crtc_change_iterator_t;
1460
1461
1462
1463
1464 typedef struct xcb_randr_output_change_t {
1465 xcb_timestamp_t timestamp;
1466 xcb_timestamp_t config_timestamp;
1467 xcb_window_t window;
1468 xcb_randr_output_t output;
1469 xcb_randr_crtc_t crtc;
1470 xcb_randr_mode_t mode;
1471 uint16_t rotation;
1472 uint8_t connection;
1473 uint8_t subpixel_order;
1474 } xcb_randr_output_change_t;
1475
1476
1477
1478
1479 typedef struct xcb_randr_output_change_iterator_t {
1480 xcb_randr_output_change_t *data;
1481 int rem;
1482 int index;
1483 } xcb_randr_output_change_iterator_t;
1484
1485
1486
1487
1488 typedef struct xcb_randr_output_property_t {
1489 xcb_window_t window;
1490 xcb_randr_output_t output;
1491 xcb_atom_t atom;
1492 xcb_timestamp_t timestamp;
1493 uint8_t status;
1494 uint8_t pad0[11];
1495 } xcb_randr_output_property_t;
1496
1497
1498
1499
1500 typedef struct xcb_randr_output_property_iterator_t {
1501 xcb_randr_output_property_t *data;
1502 int rem;
1503 int index;
1504 } xcb_randr_output_property_iterator_t;
1505
1506
1507
1508
1509 typedef struct xcb_randr_provider_change_t {
1510 xcb_timestamp_t timestamp;
1511 xcb_window_t window;
1512 xcb_randr_provider_t provider;
1513 uint8_t pad0[16];
1514 } xcb_randr_provider_change_t;
1515
1516
1517
1518
1519 typedef struct xcb_randr_provider_change_iterator_t {
1520 xcb_randr_provider_change_t *data;
1521 int rem;
1522 int index;
1523 } xcb_randr_provider_change_iterator_t;
1524
1525
1526
1527
1528 typedef struct xcb_randr_provider_property_t {
1529 xcb_window_t window;
1530 xcb_randr_provider_t provider;
1531 xcb_atom_t atom;
1532 xcb_timestamp_t timestamp;
1533 uint8_t state;
1534 uint8_t pad0[11];
1535 } xcb_randr_provider_property_t;
1536
1537
1538
1539
1540 typedef struct xcb_randr_provider_property_iterator_t {
1541 xcb_randr_provider_property_t *data;
1542 int rem;
1543 int index;
1544 } xcb_randr_provider_property_iterator_t;
1545
1546
1547
1548
1549 typedef struct xcb_randr_resource_change_t {
1550 xcb_timestamp_t timestamp;
1551 xcb_window_t window;
1552 uint8_t pad0[20];
1553 } xcb_randr_resource_change_t;
1554
1555
1556
1557
1558 typedef struct xcb_randr_resource_change_iterator_t {
1559 xcb_randr_resource_change_t *data;
1560 int rem;
1561 int index;
1562 } xcb_randr_resource_change_iterator_t;
1563
1564
1565
1566
1567 typedef struct xcb_randr_monitor_info_t {
1568 xcb_atom_t name;
1569 uint8_t primary;
1570 uint8_t automatic;
1571 uint16_t nOutput;
1572 int16_t x;
1573 int16_t y;
1574 uint16_t width;
1575 uint16_t height;
1576 uint32_t width_in_millimeters;
1577 uint32_t height_in_millimeters;
1578 } xcb_randr_monitor_info_t;
1579
1580
1581
1582
1583 typedef struct xcb_randr_monitor_info_iterator_t {
1584 xcb_randr_monitor_info_t *data;
1585 int rem;
1586 int index;
1587 } xcb_randr_monitor_info_iterator_t;
1588
1589
1590
1591
1592 typedef struct xcb_randr_get_monitors_cookie_t {
1593 unsigned int sequence;
1594 } xcb_randr_get_monitors_cookie_t;
1595
1596
1597 #define XCB_RANDR_GET_MONITORS 42
1598
1599
1600
1601
1602 typedef struct xcb_randr_get_monitors_request_t {
1603 uint8_t major_opcode;
1604 uint8_t minor_opcode;
1605 uint16_t length;
1606 xcb_window_t window;
1607 uint8_t get_active;
1608 } xcb_randr_get_monitors_request_t;
1609
1610
1611
1612
1613 typedef struct xcb_randr_get_monitors_reply_t {
1614 uint8_t response_type;
1615 uint8_t pad0;
1616 uint16_t sequence;
1617 uint32_t length;
1618 xcb_timestamp_t timestamp;
1619 uint32_t nMonitors;
1620 uint32_t nOutputs;
1621 uint8_t pad1[12];
1622 } xcb_randr_get_monitors_reply_t;
1623
1624
1625 #define XCB_RANDR_SET_MONITOR 43
1626
1627
1628
1629
1630 typedef struct xcb_randr_set_monitor_request_t {
1631 uint8_t major_opcode;
1632 uint8_t minor_opcode;
1633 uint16_t length;
1634 xcb_window_t window;
1635 } xcb_randr_set_monitor_request_t;
1636
1637
1638 #define XCB_RANDR_DELETE_MONITOR 44
1639
1640
1641
1642
1643 typedef struct xcb_randr_delete_monitor_request_t {
1644 uint8_t major_opcode;
1645 uint8_t minor_opcode;
1646 uint16_t length;
1647 xcb_window_t window;
1648 xcb_atom_t name;
1649 } xcb_randr_delete_monitor_request_t;
1650
1651
1652
1653
1654 typedef struct xcb_randr_create_lease_cookie_t {
1655 unsigned int sequence;
1656 } xcb_randr_create_lease_cookie_t;
1657
1658
1659 #define XCB_RANDR_CREATE_LEASE 45
1660
1661
1662
1663
1664 typedef struct xcb_randr_create_lease_request_t {
1665 uint8_t major_opcode;
1666 uint8_t minor_opcode;
1667 uint16_t length;
1668 xcb_window_t window;
1669 xcb_randr_lease_t lid;
1670 uint16_t num_crtcs;
1671 uint16_t num_outputs;
1672 } xcb_randr_create_lease_request_t;
1673
1674
1675
1676
1677 typedef struct xcb_randr_create_lease_reply_t {
1678 uint8_t response_type;
1679 uint8_t nfd;
1680 uint16_t sequence;
1681 uint32_t length;
1682 uint8_t pad0[24];
1683 } xcb_randr_create_lease_reply_t;
1684
1685
1686 #define XCB_RANDR_FREE_LEASE 46
1687
1688
1689
1690
1691 typedef struct xcb_randr_free_lease_request_t {
1692 uint8_t major_opcode;
1693 uint8_t minor_opcode;
1694 uint16_t length;
1695 xcb_randr_lease_t lid;
1696 uint8_t terminate;
1697 } xcb_randr_free_lease_request_t;
1698
1699
1700
1701
1702 typedef struct xcb_randr_lease_notify_t {
1703 xcb_timestamp_t timestamp;
1704 xcb_window_t window;
1705 xcb_randr_lease_t lease;
1706 uint8_t created;
1707 uint8_t pad0[15];
1708 } xcb_randr_lease_notify_t;
1709
1710
1711
1712
1713 typedef struct xcb_randr_lease_notify_iterator_t {
1714 xcb_randr_lease_notify_t *data;
1715 int rem;
1716 int index;
1717 } xcb_randr_lease_notify_iterator_t;
1718
1719
1720
1721
1722 typedef union xcb_randr_notify_data_t {
1723 xcb_randr_crtc_change_t cc;
1724 xcb_randr_output_change_t oc;
1725 xcb_randr_output_property_t op;
1726 xcb_randr_provider_change_t pc;
1727 xcb_randr_provider_property_t pp;
1728 xcb_randr_resource_change_t rc;
1729 xcb_randr_lease_notify_t lc;
1730 } xcb_randr_notify_data_t;
1731
1732
1733
1734
1735 typedef struct xcb_randr_notify_data_iterator_t {
1736 xcb_randr_notify_data_t *data;
1737 int rem;
1738 int index;
1739 } xcb_randr_notify_data_iterator_t;
1740
1741
1742 #define XCB_RANDR_NOTIFY 1
1743
1744
1745
1746
1747 typedef struct xcb_randr_notify_event_t {
1748 uint8_t response_type;
1749 uint8_t subCode;
1750 uint16_t sequence;
1751 xcb_randr_notify_data_t u;
1752 } xcb_randr_notify_event_t;
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762 void
1763 xcb_randr_mode_next (xcb_randr_mode_iterator_t *i);
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774 xcb_generic_iterator_t
1775 xcb_randr_mode_end (xcb_randr_mode_iterator_t i);
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785 void
1786 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t *i);
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797 xcb_generic_iterator_t
1798 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i);
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808 void
1809 xcb_randr_output_next (xcb_randr_output_iterator_t *i);
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820 xcb_generic_iterator_t
1821 xcb_randr_output_end (xcb_randr_output_iterator_t i);
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831 void
1832 xcb_randr_provider_next (xcb_randr_provider_iterator_t *i);
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843 xcb_generic_iterator_t
1844 xcb_randr_provider_end (xcb_randr_provider_iterator_t i);
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854 void
1855 xcb_randr_lease_next (xcb_randr_lease_iterator_t *i);
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866 xcb_generic_iterator_t
1867 xcb_randr_lease_end (xcb_randr_lease_iterator_t i);
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877 void
1878 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i);
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889 xcb_generic_iterator_t
1890 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i);
1891
1892 int
1893 xcb_randr_refresh_rates_sizeof (const void *_buffer);
1894
1895 uint16_t *
1896 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R);
1897
1898 int
1899 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R);
1900
1901 xcb_generic_iterator_t
1902 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R);
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912 void
1913 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i);
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924 xcb_generic_iterator_t
1925 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i);
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935 xcb_randr_query_version_cookie_t
1936 xcb_randr_query_version (xcb_connection_t *c,
1937 uint32_t major_version,
1938 uint32_t minor_version);
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951 xcb_randr_query_version_cookie_t
1952 xcb_randr_query_version_unchecked (xcb_connection_t *c,
1953 uint32_t major_version,
1954 uint32_t minor_version);
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970 xcb_randr_query_version_reply_t *
1971 xcb_randr_query_version_reply (xcb_connection_t *c,
1972 xcb_randr_query_version_cookie_t cookie ,
1973 xcb_generic_error_t **e);
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983 xcb_randr_set_screen_config_cookie_t
1984 xcb_randr_set_screen_config (xcb_connection_t *c,
1985 xcb_window_t window,
1986 xcb_timestamp_t timestamp,
1987 xcb_timestamp_t config_timestamp,
1988 uint16_t sizeID,
1989 uint16_t rotation,
1990 uint16_t rate);
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003 xcb_randr_set_screen_config_cookie_t
2004 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c,
2005 xcb_window_t window,
2006 xcb_timestamp_t timestamp,
2007 xcb_timestamp_t config_timestamp,
2008 uint16_t sizeID,
2009 uint16_t rotation,
2010 uint16_t rate);
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026 xcb_randr_set_screen_config_reply_t *
2027 xcb_randr_set_screen_config_reply (xcb_connection_t *c,
2028 xcb_randr_set_screen_config_cookie_t cookie ,
2029 xcb_generic_error_t **e);
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042 xcb_void_cookie_t
2043 xcb_randr_select_input_checked (xcb_connection_t *c,
2044 xcb_window_t window,
2045 uint16_t enable);
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055 xcb_void_cookie_t
2056 xcb_randr_select_input (xcb_connection_t *c,
2057 xcb_window_t window,
2058 uint16_t enable);
2059
2060 int
2061 xcb_randr_get_screen_info_sizeof (const void *_buffer);
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071 xcb_randr_get_screen_info_cookie_t
2072 xcb_randr_get_screen_info (xcb_connection_t *c,
2073 xcb_window_t window);
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086 xcb_randr_get_screen_info_cookie_t
2087 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c,
2088 xcb_window_t window);
2089
2090 xcb_randr_screen_size_t *
2091 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R);
2092
2093 int
2094 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R);
2095
2096 xcb_randr_screen_size_iterator_t
2097 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R);
2098
2099 int
2100 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R);
2101
2102 xcb_randr_refresh_rates_iterator_t
2103 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R);
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119 xcb_randr_get_screen_info_reply_t *
2120 xcb_randr_get_screen_info_reply (xcb_connection_t *c,
2121 xcb_randr_get_screen_info_cookie_t cookie ,
2122 xcb_generic_error_t **e);
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132 xcb_randr_get_screen_size_range_cookie_t
2133 xcb_randr_get_screen_size_range (xcb_connection_t *c,
2134 xcb_window_t window);
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147 xcb_randr_get_screen_size_range_cookie_t
2148 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c,
2149 xcb_window_t window);
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165 xcb_randr_get_screen_size_range_reply_t *
2166 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c,
2167 xcb_randr_get_screen_size_range_cookie_t cookie ,
2168 xcb_generic_error_t **e);
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181 xcb_void_cookie_t
2182 xcb_randr_set_screen_size_checked (xcb_connection_t *c,
2183 xcb_window_t window,
2184 uint16_t width,
2185 uint16_t height,
2186 uint32_t mm_width,
2187 uint32_t mm_height);
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197 xcb_void_cookie_t
2198 xcb_randr_set_screen_size (xcb_connection_t *c,
2199 xcb_window_t window,
2200 uint16_t width,
2201 uint16_t height,
2202 uint32_t mm_width,
2203 uint32_t mm_height);
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213 void
2214 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i);
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225 xcb_generic_iterator_t
2226 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i);
2227
2228 int
2229 xcb_randr_get_screen_resources_sizeof (const void *_buffer);
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239 xcb_randr_get_screen_resources_cookie_t
2240 xcb_randr_get_screen_resources (xcb_connection_t *c,
2241 xcb_window_t window);
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254 xcb_randr_get_screen_resources_cookie_t
2255 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c,
2256 xcb_window_t window);
2257
2258 xcb_randr_crtc_t *
2259 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R);
2260
2261 int
2262 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R);
2263
2264 xcb_generic_iterator_t
2265 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R);
2266
2267 xcb_randr_output_t *
2268 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R);
2269
2270 int
2271 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R);
2272
2273 xcb_generic_iterator_t
2274 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R);
2275
2276 xcb_randr_mode_info_t *
2277 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R);
2278
2279 int
2280 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R);
2281
2282 xcb_randr_mode_info_iterator_t
2283 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R);
2284
2285 uint8_t *
2286 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R);
2287
2288 int
2289 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R);
2290
2291 xcb_generic_iterator_t
2292 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R);
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308 xcb_randr_get_screen_resources_reply_t *
2309 xcb_randr_get_screen_resources_reply (xcb_connection_t *c,
2310 xcb_randr_get_screen_resources_cookie_t cookie ,
2311 xcb_generic_error_t **e);
2312
2313 int
2314 xcb_randr_get_output_info_sizeof (const void *_buffer);
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324 xcb_randr_get_output_info_cookie_t
2325 xcb_randr_get_output_info (xcb_connection_t *c,
2326 xcb_randr_output_t output,
2327 xcb_timestamp_t config_timestamp);
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340 xcb_randr_get_output_info_cookie_t
2341 xcb_randr_get_output_info_unchecked (xcb_connection_t *c,
2342 xcb_randr_output_t output,
2343 xcb_timestamp_t config_timestamp);
2344
2345 xcb_randr_crtc_t *
2346 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R);
2347
2348 int
2349 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R);
2350
2351 xcb_generic_iterator_t
2352 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R);
2353
2354 xcb_randr_mode_t *
2355 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R);
2356
2357 int
2358 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R);
2359
2360 xcb_generic_iterator_t
2361 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R);
2362
2363 xcb_randr_output_t *
2364 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R);
2365
2366 int
2367 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R);
2368
2369 xcb_generic_iterator_t
2370 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R);
2371
2372 uint8_t *
2373 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R);
2374
2375 int
2376 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R);
2377
2378 xcb_generic_iterator_t
2379 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R);
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395 xcb_randr_get_output_info_reply_t *
2396 xcb_randr_get_output_info_reply (xcb_connection_t *c,
2397 xcb_randr_get_output_info_cookie_t cookie ,
2398 xcb_generic_error_t **e);
2399
2400 int
2401 xcb_randr_list_output_properties_sizeof (const void *_buffer);
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411 xcb_randr_list_output_properties_cookie_t
2412 xcb_randr_list_output_properties (xcb_connection_t *c,
2413 xcb_randr_output_t output);
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426 xcb_randr_list_output_properties_cookie_t
2427 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c,
2428 xcb_randr_output_t output);
2429
2430 xcb_atom_t *
2431 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R);
2432
2433 int
2434 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R);
2435
2436 xcb_generic_iterator_t
2437 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t *R);
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453 xcb_randr_list_output_properties_reply_t *
2454 xcb_randr_list_output_properties_reply (xcb_connection_t *c,
2455 xcb_randr_list_output_properties_cookie_t cookie ,
2456 xcb_generic_error_t **e);
2457
2458 int
2459 xcb_randr_query_output_property_sizeof (const void *_buffer);
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469 xcb_randr_query_output_property_cookie_t
2470 xcb_randr_query_output_property (xcb_connection_t *c,
2471 xcb_randr_output_t output,
2472 xcb_atom_t property);
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485 xcb_randr_query_output_property_cookie_t
2486 xcb_randr_query_output_property_unchecked (xcb_connection_t *c,
2487 xcb_randr_output_t output,
2488 xcb_atom_t property);
2489
2490 int32_t *
2491 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R);
2492
2493 int
2494 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R);
2495
2496 xcb_generic_iterator_t
2497 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R);
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513 xcb_randr_query_output_property_reply_t *
2514 xcb_randr_query_output_property_reply (xcb_connection_t *c,
2515 xcb_randr_query_output_property_cookie_t cookie ,
2516 xcb_generic_error_t **e);
2517
2518 int
2519 xcb_randr_configure_output_property_sizeof (const void *_buffer,
2520 uint32_t values_len);
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533 xcb_void_cookie_t
2534 xcb_randr_configure_output_property_checked (xcb_connection_t *c,
2535 xcb_randr_output_t output,
2536 xcb_atom_t property,
2537 uint8_t pending,
2538 uint8_t range,
2539 uint32_t values_len,
2540 const int32_t *values);
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550 xcb_void_cookie_t
2551 xcb_randr_configure_output_property (xcb_connection_t *c,
2552 xcb_randr_output_t output,
2553 xcb_atom_t property,
2554 uint8_t pending,
2555 uint8_t range,
2556 uint32_t values_len,
2557 const int32_t *values);
2558
2559 int32_t *
2560 xcb_randr_configure_output_property_values (const xcb_randr_configure_output_property_request_t *R);
2561
2562 int
2563 xcb_randr_configure_output_property_values_length (const xcb_randr_configure_output_property_request_t *R);
2564
2565 xcb_generic_iterator_t
2566 xcb_randr_configure_output_property_values_end (const xcb_randr_configure_output_property_request_t *R);
2567
2568 int
2569 xcb_randr_change_output_property_sizeof (const void *_buffer);
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582 xcb_void_cookie_t
2583 xcb_randr_change_output_property_checked (xcb_connection_t *c,
2584 xcb_randr_output_t output,
2585 xcb_atom_t property,
2586 xcb_atom_t type,
2587 uint8_t format,
2588 uint8_t mode,
2589 uint32_t num_units,
2590 const void *data);
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600 xcb_void_cookie_t
2601 xcb_randr_change_output_property (xcb_connection_t *c,
2602 xcb_randr_output_t output,
2603 xcb_atom_t property,
2604 xcb_atom_t type,
2605 uint8_t format,
2606 uint8_t mode,
2607 uint32_t num_units,
2608 const void *data);
2609
2610 void *
2611 xcb_randr_change_output_property_data (const xcb_randr_change_output_property_request_t *R);
2612
2613 int
2614 xcb_randr_change_output_property_data_length (const xcb_randr_change_output_property_request_t *R);
2615
2616 xcb_generic_iterator_t
2617 xcb_randr_change_output_property_data_end (const xcb_randr_change_output_property_request_t *R);
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630 xcb_void_cookie_t
2631 xcb_randr_delete_output_property_checked (xcb_connection_t *c,
2632 xcb_randr_output_t output,
2633 xcb_atom_t property);
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643 xcb_void_cookie_t
2644 xcb_randr_delete_output_property (xcb_connection_t *c,
2645 xcb_randr_output_t output,
2646 xcb_atom_t property);
2647
2648 int
2649 xcb_randr_get_output_property_sizeof (const void *_buffer);
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659 xcb_randr_get_output_property_cookie_t
2660 xcb_randr_get_output_property (xcb_connection_t *c,
2661 xcb_randr_output_t output,
2662 xcb_atom_t property,
2663 xcb_atom_t type,
2664 uint32_t long_offset,
2665 uint32_t long_length,
2666 uint8_t _delete,
2667 uint8_t pending);
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680 xcb_randr_get_output_property_cookie_t
2681 xcb_randr_get_output_property_unchecked (xcb_connection_t *c,
2682 xcb_randr_output_t output,
2683 xcb_atom_t property,
2684 xcb_atom_t type,
2685 uint32_t long_offset,
2686 uint32_t long_length,
2687 uint8_t _delete,
2688 uint8_t pending);
2689
2690 uint8_t *
2691 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R);
2692
2693 int
2694 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R);
2695
2696 xcb_generic_iterator_t
2697 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R);
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713 xcb_randr_get_output_property_reply_t *
2714 xcb_randr_get_output_property_reply (xcb_connection_t *c,
2715 xcb_randr_get_output_property_cookie_t cookie ,
2716 xcb_generic_error_t **e);
2717
2718 int
2719 xcb_randr_create_mode_sizeof (const void *_buffer,
2720 uint32_t name_len);
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730 xcb_randr_create_mode_cookie_t
2731 xcb_randr_create_mode (xcb_connection_t *c,
2732 xcb_window_t window,
2733 xcb_randr_mode_info_t mode_info,
2734 uint32_t name_len,
2735 const char *name);
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748 xcb_randr_create_mode_cookie_t
2749 xcb_randr_create_mode_unchecked (xcb_connection_t *c,
2750 xcb_window_t window,
2751 xcb_randr_mode_info_t mode_info,
2752 uint32_t name_len,
2753 const char *name);
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769 xcb_randr_create_mode_reply_t *
2770 xcb_randr_create_mode_reply (xcb_connection_t *c,
2771 xcb_randr_create_mode_cookie_t cookie ,
2772 xcb_generic_error_t **e);
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785 xcb_void_cookie_t
2786 xcb_randr_destroy_mode_checked (xcb_connection_t *c,
2787 xcb_randr_mode_t mode);
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797 xcb_void_cookie_t
2798 xcb_randr_destroy_mode (xcb_connection_t *c,
2799 xcb_randr_mode_t mode);
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812 xcb_void_cookie_t
2813 xcb_randr_add_output_mode_checked (xcb_connection_t *c,
2814 xcb_randr_output_t output,
2815 xcb_randr_mode_t mode);
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825 xcb_void_cookie_t
2826 xcb_randr_add_output_mode (xcb_connection_t *c,
2827 xcb_randr_output_t output,
2828 xcb_randr_mode_t mode);
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841 xcb_void_cookie_t
2842 xcb_randr_delete_output_mode_checked (xcb_connection_t *c,
2843 xcb_randr_output_t output,
2844 xcb_randr_mode_t mode);
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854 xcb_void_cookie_t
2855 xcb_randr_delete_output_mode (xcb_connection_t *c,
2856 xcb_randr_output_t output,
2857 xcb_randr_mode_t mode);
2858
2859 int
2860 xcb_randr_get_crtc_info_sizeof (const void *_buffer);
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870 xcb_randr_get_crtc_info_cookie_t
2871 xcb_randr_get_crtc_info (xcb_connection_t *c,
2872 xcb_randr_crtc_t crtc,
2873 xcb_timestamp_t config_timestamp);
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886 xcb_randr_get_crtc_info_cookie_t
2887 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c,
2888 xcb_randr_crtc_t crtc,
2889 xcb_timestamp_t config_timestamp);
2890
2891 xcb_randr_output_t *
2892 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R);
2893
2894 int
2895 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R);
2896
2897 xcb_generic_iterator_t
2898 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R);
2899
2900 xcb_randr_output_t *
2901 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t *R);
2902
2903 int
2904 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t *R);
2905
2906 xcb_generic_iterator_t
2907 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t *R);
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923 xcb_randr_get_crtc_info_reply_t *
2924 xcb_randr_get_crtc_info_reply (xcb_connection_t *c,
2925 xcb_randr_get_crtc_info_cookie_t cookie ,
2926 xcb_generic_error_t **e);
2927
2928 int
2929 xcb_randr_set_crtc_config_sizeof (const void *_buffer,
2930 uint32_t outputs_len);
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940 xcb_randr_set_crtc_config_cookie_t
2941 xcb_randr_set_crtc_config (xcb_connection_t *c,
2942 xcb_randr_crtc_t crtc,
2943 xcb_timestamp_t timestamp,
2944 xcb_timestamp_t config_timestamp,
2945 int16_t x,
2946 int16_t y,
2947 xcb_randr_mode_t mode,
2948 uint16_t rotation,
2949 uint32_t outputs_len,
2950 const xcb_randr_output_t *outputs);
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963 xcb_randr_set_crtc_config_cookie_t
2964 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c,
2965 xcb_randr_crtc_t crtc,
2966 xcb_timestamp_t timestamp,
2967 xcb_timestamp_t config_timestamp,
2968 int16_t x,
2969 int16_t y,
2970 xcb_randr_mode_t mode,
2971 uint16_t rotation,
2972 uint32_t outputs_len,
2973 const xcb_randr_output_t *outputs);
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989 xcb_randr_set_crtc_config_reply_t *
2990 xcb_randr_set_crtc_config_reply (xcb_connection_t *c,
2991 xcb_randr_set_crtc_config_cookie_t cookie ,
2992 xcb_generic_error_t **e);
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002 xcb_randr_get_crtc_gamma_size_cookie_t
3003 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c,
3004 xcb_randr_crtc_t crtc);
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017 xcb_randr_get_crtc_gamma_size_cookie_t
3018 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c,
3019 xcb_randr_crtc_t crtc);
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035 xcb_randr_get_crtc_gamma_size_reply_t *
3036 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c,
3037 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
3038 xcb_generic_error_t **e);
3039
3040 int
3041 xcb_randr_get_crtc_gamma_sizeof (const void *_buffer);
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051 xcb_randr_get_crtc_gamma_cookie_t
3052 xcb_randr_get_crtc_gamma (xcb_connection_t *c,
3053 xcb_randr_crtc_t crtc);
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066 xcb_randr_get_crtc_gamma_cookie_t
3067 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c,
3068 xcb_randr_crtc_t crtc);
3069
3070 uint16_t *
3071 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R);
3072
3073 int
3074 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R);
3075
3076 xcb_generic_iterator_t
3077 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R);
3078
3079 uint16_t *
3080 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R);
3081
3082 int
3083 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R);
3084
3085 xcb_generic_iterator_t
3086 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R);
3087
3088 uint16_t *
3089 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R);
3090
3091 int
3092 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R);
3093
3094 xcb_generic_iterator_t
3095 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R);
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111 xcb_randr_get_crtc_gamma_reply_t *
3112 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c,
3113 xcb_randr_get_crtc_gamma_cookie_t cookie ,
3114 xcb_generic_error_t **e);
3115
3116 int
3117 xcb_randr_set_crtc_gamma_sizeof (const void *_buffer);
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130 xcb_void_cookie_t
3131 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c,
3132 xcb_randr_crtc_t crtc,
3133 uint16_t size,
3134 const uint16_t *red,
3135 const uint16_t *green,
3136 const uint16_t *blue);
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146 xcb_void_cookie_t
3147 xcb_randr_set_crtc_gamma (xcb_connection_t *c,
3148 xcb_randr_crtc_t crtc,
3149 uint16_t size,
3150 const uint16_t *red,
3151 const uint16_t *green,
3152 const uint16_t *blue);
3153
3154 uint16_t *
3155 xcb_randr_set_crtc_gamma_red (const xcb_randr_set_crtc_gamma_request_t *R);
3156
3157 int
3158 xcb_randr_set_crtc_gamma_red_length (const xcb_randr_set_crtc_gamma_request_t *R);
3159
3160 xcb_generic_iterator_t
3161 xcb_randr_set_crtc_gamma_red_end (const xcb_randr_set_crtc_gamma_request_t *R);
3162
3163 uint16_t *
3164 xcb_randr_set_crtc_gamma_green (const xcb_randr_set_crtc_gamma_request_t *R);
3165
3166 int
3167 xcb_randr_set_crtc_gamma_green_length (const xcb_randr_set_crtc_gamma_request_t *R);
3168
3169 xcb_generic_iterator_t
3170 xcb_randr_set_crtc_gamma_green_end (const xcb_randr_set_crtc_gamma_request_t *R);
3171
3172 uint16_t *
3173 xcb_randr_set_crtc_gamma_blue (const xcb_randr_set_crtc_gamma_request_t *R);
3174
3175 int
3176 xcb_randr_set_crtc_gamma_blue_length (const xcb_randr_set_crtc_gamma_request_t *R);
3177
3178 xcb_generic_iterator_t
3179 xcb_randr_set_crtc_gamma_blue_end (const xcb_randr_set_crtc_gamma_request_t *R);
3180
3181 int
3182 xcb_randr_get_screen_resources_current_sizeof (const void *_buffer);
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192 xcb_randr_get_screen_resources_current_cookie_t
3193 xcb_randr_get_screen_resources_current (xcb_connection_t *c,
3194 xcb_window_t window);
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207 xcb_randr_get_screen_resources_current_cookie_t
3208 xcb_randr_get_screen_resources_current_unchecked (xcb_connection_t *c,
3209 xcb_window_t window);
3210
3211 xcb_randr_crtc_t *
3212 xcb_randr_get_screen_resources_current_crtcs (const xcb_randr_get_screen_resources_current_reply_t *R);
3213
3214 int
3215 xcb_randr_get_screen_resources_current_crtcs_length (const xcb_randr_get_screen_resources_current_reply_t *R);
3216
3217 xcb_generic_iterator_t
3218 xcb_randr_get_screen_resources_current_crtcs_end (const xcb_randr_get_screen_resources_current_reply_t *R);
3219
3220 xcb_randr_output_t *
3221 xcb_randr_get_screen_resources_current_outputs (const xcb_randr_get_screen_resources_current_reply_t *R);
3222
3223 int
3224 xcb_randr_get_screen_resources_current_outputs_length (const xcb_randr_get_screen_resources_current_reply_t *R);
3225
3226 xcb_generic_iterator_t
3227 xcb_randr_get_screen_resources_current_outputs_end (const xcb_randr_get_screen_resources_current_reply_t *R);
3228
3229 xcb_randr_mode_info_t *
3230 xcb_randr_get_screen_resources_current_modes (const xcb_randr_get_screen_resources_current_reply_t *R);
3231
3232 int
3233 xcb_randr_get_screen_resources_current_modes_length (const xcb_randr_get_screen_resources_current_reply_t *R);
3234
3235 xcb_randr_mode_info_iterator_t
3236 xcb_randr_get_screen_resources_current_modes_iterator (const xcb_randr_get_screen_resources_current_reply_t *R);
3237
3238 uint8_t *
3239 xcb_randr_get_screen_resources_current_names (const xcb_randr_get_screen_resources_current_reply_t *R);
3240
3241 int
3242 xcb_randr_get_screen_resources_current_names_length (const xcb_randr_get_screen_resources_current_reply_t *R);
3243
3244 xcb_generic_iterator_t
3245 xcb_randr_get_screen_resources_current_names_end (const xcb_randr_get_screen_resources_current_reply_t *R);
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261 xcb_randr_get_screen_resources_current_reply_t *
3262 xcb_randr_get_screen_resources_current_reply (xcb_connection_t *c,
3263 xcb_randr_get_screen_resources_current_cookie_t cookie ,
3264 xcb_generic_error_t **e);
3265
3266 int
3267 xcb_randr_set_crtc_transform_sizeof (const void *_buffer,
3268 uint32_t filter_params_len);
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281 xcb_void_cookie_t
3282 xcb_randr_set_crtc_transform_checked (xcb_connection_t *c,
3283 xcb_randr_crtc_t crtc,
3284 xcb_render_transform_t transform,
3285 uint16_t filter_len,
3286 const char *filter_name,
3287 uint32_t filter_params_len,
3288 const xcb_render_fixed_t *filter_params);
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298 xcb_void_cookie_t
3299 xcb_randr_set_crtc_transform (xcb_connection_t *c,
3300 xcb_randr_crtc_t crtc,
3301 xcb_render_transform_t transform,
3302 uint16_t filter_len,
3303 const char *filter_name,
3304 uint32_t filter_params_len,
3305 const xcb_render_fixed_t *filter_params);
3306
3307 char *
3308 xcb_randr_set_crtc_transform_filter_name (const xcb_randr_set_crtc_transform_request_t *R);
3309
3310 int
3311 xcb_randr_set_crtc_transform_filter_name_length (const xcb_randr_set_crtc_transform_request_t *R);
3312
3313 xcb_generic_iterator_t
3314 xcb_randr_set_crtc_transform_filter_name_end (const xcb_randr_set_crtc_transform_request_t *R);
3315
3316 xcb_render_fixed_t *
3317 xcb_randr_set_crtc_transform_filter_params (const xcb_randr_set_crtc_transform_request_t *R);
3318
3319 int
3320 xcb_randr_set_crtc_transform_filter_params_length (const xcb_randr_set_crtc_transform_request_t *R);
3321
3322 xcb_generic_iterator_t
3323 xcb_randr_set_crtc_transform_filter_params_end (const xcb_randr_set_crtc_transform_request_t *R);
3324
3325 int
3326 xcb_randr_get_crtc_transform_sizeof (const void *_buffer);
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336 xcb_randr_get_crtc_transform_cookie_t
3337 xcb_randr_get_crtc_transform (xcb_connection_t *c,
3338 xcb_randr_crtc_t crtc);
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351 xcb_randr_get_crtc_transform_cookie_t
3352 xcb_randr_get_crtc_transform_unchecked (xcb_connection_t *c,
3353 xcb_randr_crtc_t crtc);
3354
3355 char *
3356 xcb_randr_get_crtc_transform_pending_filter_name (const xcb_randr_get_crtc_transform_reply_t *R);
3357
3358 int
3359 xcb_randr_get_crtc_transform_pending_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R);
3360
3361 xcb_generic_iterator_t
3362 xcb_randr_get_crtc_transform_pending_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R);
3363
3364 xcb_render_fixed_t *
3365 xcb_randr_get_crtc_transform_pending_params (const xcb_randr_get_crtc_transform_reply_t *R);
3366
3367 int
3368 xcb_randr_get_crtc_transform_pending_params_length (const xcb_randr_get_crtc_transform_reply_t *R);
3369
3370 xcb_generic_iterator_t
3371 xcb_randr_get_crtc_transform_pending_params_end (const xcb_randr_get_crtc_transform_reply_t *R);
3372
3373 char *
3374 xcb_randr_get_crtc_transform_current_filter_name (const xcb_randr_get_crtc_transform_reply_t *R);
3375
3376 int
3377 xcb_randr_get_crtc_transform_current_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R);
3378
3379 xcb_generic_iterator_t
3380 xcb_randr_get_crtc_transform_current_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R);
3381
3382 xcb_render_fixed_t *
3383 xcb_randr_get_crtc_transform_current_params (const xcb_randr_get_crtc_transform_reply_t *R);
3384
3385 int
3386 xcb_randr_get_crtc_transform_current_params_length (const xcb_randr_get_crtc_transform_reply_t *R);
3387
3388 xcb_generic_iterator_t
3389 xcb_randr_get_crtc_transform_current_params_end (const xcb_randr_get_crtc_transform_reply_t *R);
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405 xcb_randr_get_crtc_transform_reply_t *
3406 xcb_randr_get_crtc_transform_reply (xcb_connection_t *c,
3407 xcb_randr_get_crtc_transform_cookie_t cookie ,
3408 xcb_generic_error_t **e);
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418 xcb_randr_get_panning_cookie_t
3419 xcb_randr_get_panning (xcb_connection_t *c,
3420 xcb_randr_crtc_t crtc);
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433 xcb_randr_get_panning_cookie_t
3434 xcb_randr_get_panning_unchecked (xcb_connection_t *c,
3435 xcb_randr_crtc_t crtc);
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451 xcb_randr_get_panning_reply_t *
3452 xcb_randr_get_panning_reply (xcb_connection_t *c,
3453 xcb_randr_get_panning_cookie_t cookie ,
3454 xcb_generic_error_t **e);
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464 xcb_randr_set_panning_cookie_t
3465 xcb_randr_set_panning (xcb_connection_t *c,
3466 xcb_randr_crtc_t crtc,
3467 xcb_timestamp_t timestamp,
3468 uint16_t left,
3469 uint16_t top,
3470 uint16_t width,
3471 uint16_t height,
3472 uint16_t track_left,
3473 uint16_t track_top,
3474 uint16_t track_width,
3475 uint16_t track_height,
3476 int16_t border_left,
3477 int16_t border_top,
3478 int16_t border_right,
3479 int16_t border_bottom);
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492 xcb_randr_set_panning_cookie_t
3493 xcb_randr_set_panning_unchecked (xcb_connection_t *c,
3494 xcb_randr_crtc_t crtc,
3495 xcb_timestamp_t timestamp,
3496 uint16_t left,
3497 uint16_t top,
3498 uint16_t width,
3499 uint16_t height,
3500 uint16_t track_left,
3501 uint16_t track_top,
3502 uint16_t track_width,
3503 uint16_t track_height,
3504 int16_t border_left,
3505 int16_t border_top,
3506 int16_t border_right,
3507 int16_t border_bottom);
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523 xcb_randr_set_panning_reply_t *
3524 xcb_randr_set_panning_reply (xcb_connection_t *c,
3525 xcb_randr_set_panning_cookie_t cookie ,
3526 xcb_generic_error_t **e);
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539 xcb_void_cookie_t
3540 xcb_randr_set_output_primary_checked (xcb_connection_t *c,
3541 xcb_window_t window,
3542 xcb_randr_output_t output);
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552 xcb_void_cookie_t
3553 xcb_randr_set_output_primary (xcb_connection_t *c,
3554 xcb_window_t window,
3555 xcb_randr_output_t output);
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565 xcb_randr_get_output_primary_cookie_t
3566 xcb_randr_get_output_primary (xcb_connection_t *c,
3567 xcb_window_t window);
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580 xcb_randr_get_output_primary_cookie_t
3581 xcb_randr_get_output_primary_unchecked (xcb_connection_t *c,
3582 xcb_window_t window);
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598 xcb_randr_get_output_primary_reply_t *
3599 xcb_randr_get_output_primary_reply (xcb_connection_t *c,
3600 xcb_randr_get_output_primary_cookie_t cookie ,
3601 xcb_generic_error_t **e);
3602
3603 int
3604 xcb_randr_get_providers_sizeof (const void *_buffer);
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614 xcb_randr_get_providers_cookie_t
3615 xcb_randr_get_providers (xcb_connection_t *c,
3616 xcb_window_t window);
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629 xcb_randr_get_providers_cookie_t
3630 xcb_randr_get_providers_unchecked (xcb_connection_t *c,
3631 xcb_window_t window);
3632
3633 xcb_randr_provider_t *
3634 xcb_randr_get_providers_providers (const xcb_randr_get_providers_reply_t *R);
3635
3636 int
3637 xcb_randr_get_providers_providers_length (const xcb_randr_get_providers_reply_t *R);
3638
3639 xcb_generic_iterator_t
3640 xcb_randr_get_providers_providers_end (const xcb_randr_get_providers_reply_t *R);
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656 xcb_randr_get_providers_reply_t *
3657 xcb_randr_get_providers_reply (xcb_connection_t *c,
3658 xcb_randr_get_providers_cookie_t cookie ,
3659 xcb_generic_error_t **e);
3660
3661 int
3662 xcb_randr_get_provider_info_sizeof (const void *_buffer);
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672 xcb_randr_get_provider_info_cookie_t
3673 xcb_randr_get_provider_info (xcb_connection_t *c,
3674 xcb_randr_provider_t provider,
3675 xcb_timestamp_t config_timestamp);
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688 xcb_randr_get_provider_info_cookie_t
3689 xcb_randr_get_provider_info_unchecked (xcb_connection_t *c,
3690 xcb_randr_provider_t provider,
3691 xcb_timestamp_t config_timestamp);
3692
3693 xcb_randr_crtc_t *
3694 xcb_randr_get_provider_info_crtcs (const xcb_randr_get_provider_info_reply_t *R);
3695
3696 int
3697 xcb_randr_get_provider_info_crtcs_length (const xcb_randr_get_provider_info_reply_t *R);
3698
3699 xcb_generic_iterator_t
3700 xcb_randr_get_provider_info_crtcs_end (const xcb_randr_get_provider_info_reply_t *R);
3701
3702 xcb_randr_output_t *
3703 xcb_randr_get_provider_info_outputs (const xcb_randr_get_provider_info_reply_t *R);
3704
3705 int
3706 xcb_randr_get_provider_info_outputs_length (const xcb_randr_get_provider_info_reply_t *R);
3707
3708 xcb_generic_iterator_t
3709 xcb_randr_get_provider_info_outputs_end (const xcb_randr_get_provider_info_reply_t *R);
3710
3711 xcb_randr_provider_t *
3712 xcb_randr_get_provider_info_associated_providers (const xcb_randr_get_provider_info_reply_t *R);
3713
3714 int
3715 xcb_randr_get_provider_info_associated_providers_length (const xcb_randr_get_provider_info_reply_t *R);
3716
3717 xcb_generic_iterator_t
3718 xcb_randr_get_provider_info_associated_providers_end (const xcb_randr_get_provider_info_reply_t *R);
3719
3720 uint32_t *
3721 xcb_randr_get_provider_info_associated_capability (const xcb_randr_get_provider_info_reply_t *R);
3722
3723 int
3724 xcb_randr_get_provider_info_associated_capability_length (const xcb_randr_get_provider_info_reply_t *R);
3725
3726 xcb_generic_iterator_t
3727 xcb_randr_get_provider_info_associated_capability_end (const xcb_randr_get_provider_info_reply_t *R);
3728
3729 char *
3730 xcb_randr_get_provider_info_name (const xcb_randr_get_provider_info_reply_t *R);
3731
3732 int
3733 xcb_randr_get_provider_info_name_length (const xcb_randr_get_provider_info_reply_t *R);
3734
3735 xcb_generic_iterator_t
3736 xcb_randr_get_provider_info_name_end (const xcb_randr_get_provider_info_reply_t *R);
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752 xcb_randr_get_provider_info_reply_t *
3753 xcb_randr_get_provider_info_reply (xcb_connection_t *c,
3754 xcb_randr_get_provider_info_cookie_t cookie ,
3755 xcb_generic_error_t **e);
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768 xcb_void_cookie_t
3769 xcb_randr_set_provider_offload_sink_checked (xcb_connection_t *c,
3770 xcb_randr_provider_t provider,
3771 xcb_randr_provider_t sink_provider,
3772 xcb_timestamp_t config_timestamp);
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782 xcb_void_cookie_t
3783 xcb_randr_set_provider_offload_sink (xcb_connection_t *c,
3784 xcb_randr_provider_t provider,
3785 xcb_randr_provider_t sink_provider,
3786 xcb_timestamp_t config_timestamp);
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799 xcb_void_cookie_t
3800 xcb_randr_set_provider_output_source_checked (xcb_connection_t *c,
3801 xcb_randr_provider_t provider,
3802 xcb_randr_provider_t source_provider,
3803 xcb_timestamp_t config_timestamp);
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813 xcb_void_cookie_t
3814 xcb_randr_set_provider_output_source (xcb_connection_t *c,
3815 xcb_randr_provider_t provider,
3816 xcb_randr_provider_t source_provider,
3817 xcb_timestamp_t config_timestamp);
3818
3819 int
3820 xcb_randr_list_provider_properties_sizeof (const void *_buffer);
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830 xcb_randr_list_provider_properties_cookie_t
3831 xcb_randr_list_provider_properties (xcb_connection_t *c,
3832 xcb_randr_provider_t provider);
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845 xcb_randr_list_provider_properties_cookie_t
3846 xcb_randr_list_provider_properties_unchecked (xcb_connection_t *c,
3847 xcb_randr_provider_t provider);
3848
3849 xcb_atom_t *
3850 xcb_randr_list_provider_properties_atoms (const xcb_randr_list_provider_properties_reply_t *R);
3851
3852 int
3853 xcb_randr_list_provider_properties_atoms_length (const xcb_randr_list_provider_properties_reply_t *R);
3854
3855 xcb_generic_iterator_t
3856 xcb_randr_list_provider_properties_atoms_end (const xcb_randr_list_provider_properties_reply_t *R);
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872 xcb_randr_list_provider_properties_reply_t *
3873 xcb_randr_list_provider_properties_reply (xcb_connection_t *c,
3874 xcb_randr_list_provider_properties_cookie_t cookie ,
3875 xcb_generic_error_t **e);
3876
3877 int
3878 xcb_randr_query_provider_property_sizeof (const void *_buffer);
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888 xcb_randr_query_provider_property_cookie_t
3889 xcb_randr_query_provider_property (xcb_connection_t *c,
3890 xcb_randr_provider_t provider,
3891 xcb_atom_t property);
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904 xcb_randr_query_provider_property_cookie_t
3905 xcb_randr_query_provider_property_unchecked (xcb_connection_t *c,
3906 xcb_randr_provider_t provider,
3907 xcb_atom_t property);
3908
3909 int32_t *
3910 xcb_randr_query_provider_property_valid_values (const xcb_randr_query_provider_property_reply_t *R);
3911
3912 int
3913 xcb_randr_query_provider_property_valid_values_length (const xcb_randr_query_provider_property_reply_t *R);
3914
3915 xcb_generic_iterator_t
3916 xcb_randr_query_provider_property_valid_values_end (const xcb_randr_query_provider_property_reply_t *R);
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932 xcb_randr_query_provider_property_reply_t *
3933 xcb_randr_query_provider_property_reply (xcb_connection_t *c,
3934 xcb_randr_query_provider_property_cookie_t cookie ,
3935 xcb_generic_error_t **e);
3936
3937 int
3938 xcb_randr_configure_provider_property_sizeof (const void *_buffer,
3939 uint32_t values_len);
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952 xcb_void_cookie_t
3953 xcb_randr_configure_provider_property_checked (xcb_connection_t *c,
3954 xcb_randr_provider_t provider,
3955 xcb_atom_t property,
3956 uint8_t pending,
3957 uint8_t range,
3958 uint32_t values_len,
3959 const int32_t *values);
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969 xcb_void_cookie_t
3970 xcb_randr_configure_provider_property (xcb_connection_t *c,
3971 xcb_randr_provider_t provider,
3972 xcb_atom_t property,
3973 uint8_t pending,
3974 uint8_t range,
3975 uint32_t values_len,
3976 const int32_t *values);
3977
3978 int32_t *
3979 xcb_randr_configure_provider_property_values (const xcb_randr_configure_provider_property_request_t *R);
3980
3981 int
3982 xcb_randr_configure_provider_property_values_length (const xcb_randr_configure_provider_property_request_t *R);
3983
3984 xcb_generic_iterator_t
3985 xcb_randr_configure_provider_property_values_end (const xcb_randr_configure_provider_property_request_t *R);
3986
3987 int
3988 xcb_randr_change_provider_property_sizeof (const void *_buffer);
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001 xcb_void_cookie_t
4002 xcb_randr_change_provider_property_checked (xcb_connection_t *c,
4003 xcb_randr_provider_t provider,
4004 xcb_atom_t property,
4005 xcb_atom_t type,
4006 uint8_t format,
4007 uint8_t mode,
4008 uint32_t num_items,
4009 const void *data);
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019 xcb_void_cookie_t
4020 xcb_randr_change_provider_property (xcb_connection_t *c,
4021 xcb_randr_provider_t provider,
4022 xcb_atom_t property,
4023 xcb_atom_t type,
4024 uint8_t format,
4025 uint8_t mode,
4026 uint32_t num_items,
4027 const void *data);
4028
4029 void *
4030 xcb_randr_change_provider_property_data (const xcb_randr_change_provider_property_request_t *R);
4031
4032 int
4033 xcb_randr_change_provider_property_data_length (const xcb_randr_change_provider_property_request_t *R);
4034
4035 xcb_generic_iterator_t
4036 xcb_randr_change_provider_property_data_end (const xcb_randr_change_provider_property_request_t *R);
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049 xcb_void_cookie_t
4050 xcb_randr_delete_provider_property_checked (xcb_connection_t *c,
4051 xcb_randr_provider_t provider,
4052 xcb_atom_t property);
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062 xcb_void_cookie_t
4063 xcb_randr_delete_provider_property (xcb_connection_t *c,
4064 xcb_randr_provider_t provider,
4065 xcb_atom_t property);
4066
4067 int
4068 xcb_randr_get_provider_property_sizeof (const void *_buffer);
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078 xcb_randr_get_provider_property_cookie_t
4079 xcb_randr_get_provider_property (xcb_connection_t *c,
4080 xcb_randr_provider_t provider,
4081 xcb_atom_t property,
4082 xcb_atom_t type,
4083 uint32_t long_offset,
4084 uint32_t long_length,
4085 uint8_t _delete,
4086 uint8_t pending);
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099 xcb_randr_get_provider_property_cookie_t
4100 xcb_randr_get_provider_property_unchecked (xcb_connection_t *c,
4101 xcb_randr_provider_t provider,
4102 xcb_atom_t property,
4103 xcb_atom_t type,
4104 uint32_t long_offset,
4105 uint32_t long_length,
4106 uint8_t _delete,
4107 uint8_t pending);
4108
4109 void *
4110 xcb_randr_get_provider_property_data (const xcb_randr_get_provider_property_reply_t *R);
4111
4112 int
4113 xcb_randr_get_provider_property_data_length (const xcb_randr_get_provider_property_reply_t *R);
4114
4115 xcb_generic_iterator_t
4116 xcb_randr_get_provider_property_data_end (const xcb_randr_get_provider_property_reply_t *R);
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132 xcb_randr_get_provider_property_reply_t *
4133 xcb_randr_get_provider_property_reply (xcb_connection_t *c,
4134 xcb_randr_get_provider_property_cookie_t cookie ,
4135 xcb_generic_error_t **e);
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145 void
4146 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i);
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157 xcb_generic_iterator_t
4158 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i);
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168 void
4169 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i);
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180 xcb_generic_iterator_t
4181 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i);
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191 void
4192 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i);
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203 xcb_generic_iterator_t
4204 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i);
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214 void
4215 xcb_randr_provider_change_next (xcb_randr_provider_change_iterator_t *i);
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226 xcb_generic_iterator_t
4227 xcb_randr_provider_change_end (xcb_randr_provider_change_iterator_t i);
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237 void
4238 xcb_randr_provider_property_next (xcb_randr_provider_property_iterator_t *i);
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249 xcb_generic_iterator_t
4250 xcb_randr_provider_property_end (xcb_randr_provider_property_iterator_t i);
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260 void
4261 xcb_randr_resource_change_next (xcb_randr_resource_change_iterator_t *i);
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272 xcb_generic_iterator_t
4273 xcb_randr_resource_change_end (xcb_randr_resource_change_iterator_t i);
4274
4275 int
4276 xcb_randr_monitor_info_sizeof (const void *_buffer);
4277
4278 xcb_randr_output_t *
4279 xcb_randr_monitor_info_outputs (const xcb_randr_monitor_info_t *R);
4280
4281 int
4282 xcb_randr_monitor_info_outputs_length (const xcb_randr_monitor_info_t *R);
4283
4284 xcb_generic_iterator_t
4285 xcb_randr_monitor_info_outputs_end (const xcb_randr_monitor_info_t *R);
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295 void
4296 xcb_randr_monitor_info_next (xcb_randr_monitor_info_iterator_t *i);
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307 xcb_generic_iterator_t
4308 xcb_randr_monitor_info_end (xcb_randr_monitor_info_iterator_t i);
4309
4310 int
4311 xcb_randr_get_monitors_sizeof (const void *_buffer);
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321 xcb_randr_get_monitors_cookie_t
4322 xcb_randr_get_monitors (xcb_connection_t *c,
4323 xcb_window_t window,
4324 uint8_t get_active);
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337 xcb_randr_get_monitors_cookie_t
4338 xcb_randr_get_monitors_unchecked (xcb_connection_t *c,
4339 xcb_window_t window,
4340 uint8_t get_active);
4341
4342 int
4343 xcb_randr_get_monitors_monitors_length (const xcb_randr_get_monitors_reply_t *R);
4344
4345 xcb_randr_monitor_info_iterator_t
4346 xcb_randr_get_monitors_monitors_iterator (const xcb_randr_get_monitors_reply_t *R);
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362 xcb_randr_get_monitors_reply_t *
4363 xcb_randr_get_monitors_reply (xcb_connection_t *c,
4364 xcb_randr_get_monitors_cookie_t cookie ,
4365 xcb_generic_error_t **e);
4366
4367 int
4368 xcb_randr_set_monitor_sizeof (const void *_buffer);
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381 xcb_void_cookie_t
4382 xcb_randr_set_monitor_checked (xcb_connection_t *c,
4383 xcb_window_t window,
4384 xcb_randr_monitor_info_t *monitorinfo);
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394 xcb_void_cookie_t
4395 xcb_randr_set_monitor (xcb_connection_t *c,
4396 xcb_window_t window,
4397 xcb_randr_monitor_info_t *monitorinfo);
4398
4399 xcb_randr_monitor_info_t *
4400 xcb_randr_set_monitor_monitorinfo (const xcb_randr_set_monitor_request_t *R);
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413 xcb_void_cookie_t
4414 xcb_randr_delete_monitor_checked (xcb_connection_t *c,
4415 xcb_window_t window,
4416 xcb_atom_t name);
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426 xcb_void_cookie_t
4427 xcb_randr_delete_monitor (xcb_connection_t *c,
4428 xcb_window_t window,
4429 xcb_atom_t name);
4430
4431 int
4432 xcb_randr_create_lease_sizeof (const void *_buffer);
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442 xcb_randr_create_lease_cookie_t
4443 xcb_randr_create_lease (xcb_connection_t *c,
4444 xcb_window_t window,
4445 xcb_randr_lease_t lid,
4446 uint16_t num_crtcs,
4447 uint16_t num_outputs,
4448 const xcb_randr_crtc_t *crtcs,
4449 const xcb_randr_output_t *outputs);
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462 xcb_randr_create_lease_cookie_t
4463 xcb_randr_create_lease_unchecked (xcb_connection_t *c,
4464 xcb_window_t window,
4465 xcb_randr_lease_t lid,
4466 uint16_t num_crtcs,
4467 uint16_t num_outputs,
4468 const xcb_randr_crtc_t *crtcs,
4469 const xcb_randr_output_t *outputs);
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485 xcb_randr_create_lease_reply_t *
4486 xcb_randr_create_lease_reply (xcb_connection_t *c,
4487 xcb_randr_create_lease_cookie_t cookie ,
4488 xcb_generic_error_t **e);
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500 int *
4501 xcb_randr_create_lease_reply_fds (xcb_connection_t *c ,
4502 xcb_randr_create_lease_reply_t *reply);
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515 xcb_void_cookie_t
4516 xcb_randr_free_lease_checked (xcb_connection_t *c,
4517 xcb_randr_lease_t lid,
4518 uint8_t terminate);
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528 xcb_void_cookie_t
4529 xcb_randr_free_lease (xcb_connection_t *c,
4530 xcb_randr_lease_t lid,
4531 uint8_t terminate);
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541 void
4542 xcb_randr_lease_notify_next (xcb_randr_lease_notify_iterator_t *i);
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553 xcb_generic_iterator_t
4554 xcb_randr_lease_notify_end (xcb_randr_lease_notify_iterator_t i);
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564 void
4565 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i);
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576 xcb_generic_iterator_t
4577 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i);
4578
4579
4580 #ifdef __cplusplus
4581 }
4582 #endif
4583
4584 #endif
4585
4586
4587
4588