00001
00002
00003
00004
00005
00012 #ifndef __RANDR_H
00013 #define __RANDR_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #define XCB_RANDR_MAJOR_VERSION 1
00019 #define XCB_RANDR_MINOR_VERSION 2
00020
00021 extern xcb_extension_t xcb_randr_id;
00022
00024 #define XCB_RANDR_BAD_OUTPUT 0
00025
00029 typedef struct xcb_randr_bad_output_error_t {
00030 uint8_t response_type;
00031 uint8_t error_code;
00032 uint16_t sequence;
00033 } xcb_randr_bad_output_error_t;
00034
00036 #define XCB_RANDR_BAD_CRTC 1
00037
00041 typedef struct xcb_randr_bad_crtc_error_t {
00042 uint8_t response_type;
00043 uint8_t error_code;
00044 uint16_t sequence;
00045 } xcb_randr_bad_crtc_error_t;
00046
00048 #define XCB_RANDR_BAD_MODE 2
00049
00053 typedef struct xcb_randr_bad_mode_error_t {
00054 uint8_t response_type;
00055 uint8_t error_code;
00056 uint16_t sequence;
00057 } xcb_randr_bad_mode_error_t;
00058
00059 typedef enum xcb_randr_rotation_t {
00060 XCB_RANDR_ROTATION_ROTATE_0 = (1 << 0),
00061 XCB_RANDR_ROTATION_ROTATE_90 = (1 << 1),
00062 XCB_RANDR_ROTATION_ROTATE_180 = (1 << 2),
00063 XCB_RANDR_ROTATION_ROTATE_270 = (1 << 3),
00064 XCB_RANDR_ROTATION_REFLECT_X = (1 << 4),
00065 XCB_RANDR_ROTATION_REFLECT_Y = (1 << 5)
00066 } xcb_randr_rotation_t;
00067
00071 typedef struct xcb_randr_screen_size_t {
00072 int16_t width;
00073 int16_t height;
00074 int16_t mwidth;
00075 int16_t mheight;
00076 } xcb_randr_screen_size_t;
00077
00081 typedef struct xcb_randr_screen_size_iterator_t {
00082 xcb_randr_screen_size_t *data;
00083 int rem;
00084 int index;
00085 } xcb_randr_screen_size_iterator_t;
00086
00090 typedef struct xcb_randr_refresh_rates_t {
00091 uint16_t nRates;
00092 } xcb_randr_refresh_rates_t;
00093
00097 typedef struct xcb_randr_refresh_rates_iterator_t {
00098 xcb_randr_refresh_rates_t *data;
00099 int rem;
00100 int index;
00101 } xcb_randr_refresh_rates_iterator_t;
00102
00106 typedef struct xcb_randr_query_version_cookie_t {
00107 unsigned int sequence;
00108 } xcb_randr_query_version_cookie_t;
00109
00111 #define XCB_RANDR_QUERY_VERSION 0
00112
00116 typedef struct xcb_randr_query_version_request_t {
00117 uint8_t major_opcode;
00118 uint8_t minor_opcode;
00119 uint16_t length;
00120 uint32_t major_version;
00121 uint32_t minor_version;
00122 } xcb_randr_query_version_request_t;
00123
00127 typedef struct xcb_randr_query_version_reply_t {
00128 uint8_t response_type;
00129 uint8_t pad0;
00130 uint16_t sequence;
00131 uint32_t length;
00132 uint32_t major_version;
00133 uint32_t minor_version;
00134 uint8_t pad1[16];
00135 } xcb_randr_query_version_reply_t;
00136
00140 typedef struct xcb_randr_set_screen_config_cookie_t {
00141 unsigned int sequence;
00142 } xcb_randr_set_screen_config_cookie_t;
00143
00145 #define XCB_RANDR_SET_SCREEN_CONFIG 2
00146
00150 typedef struct xcb_randr_set_screen_config_request_t {
00151 uint8_t major_opcode;
00152 uint8_t minor_opcode;
00153 uint16_t length;
00154 xcb_drawable_t drawable;
00155 xcb_timestamp_t timestamp;
00156 xcb_timestamp_t config_timestamp;
00157 uint16_t sizeID;
00158 int16_t rotation;
00159 uint16_t rate;
00160 uint8_t pad0[2];
00161 } xcb_randr_set_screen_config_request_t;
00162
00166 typedef struct xcb_randr_set_screen_config_reply_t {
00167 uint8_t response_type;
00168 uint8_t status;
00169 uint16_t sequence;
00170 uint32_t length;
00171 xcb_timestamp_t new_timestamp;
00172 xcb_timestamp_t config_timestamp;
00173 xcb_window_t root;
00174 uint16_t subpixel_order;
00175 uint8_t pad0[10];
00176 } xcb_randr_set_screen_config_reply_t;
00177
00178 typedef enum xcb_randr_set_config_t {
00179 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
00180 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
00181 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
00182 XCB_RANDR_SET_CONFIG_FAILED = 3
00183 } xcb_randr_set_config_t;
00184
00186 #define XCB_RANDR_SELECT_INPUT 4
00187
00191 typedef struct xcb_randr_select_input_request_t {
00192 uint8_t major_opcode;
00193 uint8_t minor_opcode;
00194 uint16_t length;
00195 xcb_window_t window;
00196 uint16_t enable;
00197 uint8_t pad0[2];
00198 } xcb_randr_select_input_request_t;
00199
00203 typedef struct xcb_randr_get_screen_info_cookie_t {
00204 unsigned int sequence;
00205 } xcb_randr_get_screen_info_cookie_t;
00206
00208 #define XCB_RANDR_GET_SCREEN_INFO 5
00209
00213 typedef struct xcb_randr_get_screen_info_request_t {
00214 uint8_t major_opcode;
00215 uint8_t minor_opcode;
00216 uint16_t length;
00217 xcb_window_t window;
00218 } xcb_randr_get_screen_info_request_t;
00219
00223 typedef struct xcb_randr_get_screen_info_reply_t {
00224 uint8_t response_type;
00225 uint8_t rotations;
00226 uint16_t sequence;
00227 uint32_t length;
00228 xcb_window_t root;
00229 xcb_timestamp_t timestamp;
00230 xcb_timestamp_t config_timestamp;
00231 uint16_t nSizes;
00232 uint16_t sizeID;
00233 int16_t rotation;
00234 uint16_t rate;
00235 uint16_t nInfo;
00236 uint8_t pad0[2];
00237 } xcb_randr_get_screen_info_reply_t;
00238
00242 typedef struct xcb_randr_get_screen_size_range_cookie_t {
00243 unsigned int sequence;
00244 } xcb_randr_get_screen_size_range_cookie_t;
00245
00247 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
00248
00252 typedef struct xcb_randr_get_screen_size_range_request_t {
00253 uint8_t major_opcode;
00254 uint8_t minor_opcode;
00255 uint16_t length;
00256 xcb_window_t window;
00257 } xcb_randr_get_screen_size_range_request_t;
00258
00262 typedef struct xcb_randr_get_screen_size_range_reply_t {
00263 uint8_t response_type;
00264 uint8_t pad0;
00265 uint16_t sequence;
00266 uint32_t length;
00267 uint16_t min_width;
00268 uint16_t min_height;
00269 uint16_t max_width;
00270 uint16_t max_height;
00271 } xcb_randr_get_screen_size_range_reply_t;
00272
00274 #define XCB_RANDR_SET_SCREEN_SIZE 7
00275
00279 typedef struct xcb_randr_set_screen_size_request_t {
00280 uint8_t major_opcode;
00281 uint8_t minor_opcode;
00282 uint16_t length;
00283 xcb_window_t window;
00284 uint16_t width;
00285 uint16_t height;
00286 uint32_t mm_width;
00287 uint32_t mm_height;
00288 } xcb_randr_set_screen_size_request_t;
00289
00290 typedef enum xcb_randr_mode_flag_t {
00291 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = (1 << 0),
00292 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = (1 << 1),
00293 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = (1 << 2),
00294 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = (1 << 3),
00295 XCB_RANDR_MODE_FLAG_INTERLACE = (1 << 4),
00296 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = (1 << 5),
00297 XCB_RANDR_MODE_FLAG_CSYNC = (1 << 6),
00298 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = (1 << 7),
00299 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = (1 << 8),
00300 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = (1 << 9),
00301 XCB_RANDR_MODE_FLAG_BCAST = (1 << 10),
00302 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = (1 << 11),
00303 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = (1 << 12),
00304 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = (1 << 13)
00305 } xcb_randr_mode_flag_t;
00306
00310 typedef struct xcb_randr_mode_info_t {
00311 uint32_t id;
00312 uint16_t width;
00313 uint16_t height;
00314 uint32_t dot_clock;
00315 uint16_t hsync_start;
00316 uint16_t hsync_end;
00317 uint16_t htotal;
00318 uint16_t hskew;
00319 uint16_t vsync_start;
00320 uint16_t vsync_end;
00321 uint16_t vtotal;
00322 uint16_t name_len;
00323 uint32_t mode_flags;
00324 } xcb_randr_mode_info_t;
00325
00329 typedef struct xcb_randr_mode_info_iterator_t {
00330 xcb_randr_mode_info_t *data;
00331 int rem;
00332 int index;
00333 } xcb_randr_mode_info_iterator_t;
00334
00338 typedef struct xcb_randr_get_screen_resources_cookie_t {
00339 unsigned int sequence;
00340 } xcb_randr_get_screen_resources_cookie_t;
00341
00343 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
00344
00348 typedef struct xcb_randr_get_screen_resources_request_t {
00349 uint8_t major_opcode;
00350 uint8_t minor_opcode;
00351 uint16_t length;
00352 xcb_window_t window;
00353 } xcb_randr_get_screen_resources_request_t;
00354
00358 typedef struct xcb_randr_get_screen_resources_reply_t {
00359 uint8_t response_type;
00360 uint8_t pad0;
00361 uint16_t sequence;
00362 uint32_t length;
00363 xcb_timestamp_t timestamp;
00364 xcb_timestamp_t config_timestamp;
00365 uint16_t num_crtcs;
00366 uint16_t num_outputs;
00367 uint16_t num_modes;
00368 uint16_t names_len;
00369 uint8_t pad1[8];
00370 } xcb_randr_get_screen_resources_reply_t;
00371
00372 typedef enum xcb_randr_connection_t {
00373 XCB_RANDR_CONNECTION_CONNECTED,
00374 XCB_RANDR_CONNECTION_DISCONNECTED,
00375 XCB_RANDR_CONNECTION_UNKNOWN
00376 } xcb_randr_connection_t;
00377
00381 typedef struct xcb_randr_get_output_info_cookie_t {
00382 unsigned int sequence;
00383 } xcb_randr_get_output_info_cookie_t;
00384
00386 #define XCB_RANDR_GET_OUTPUT_INFO 9
00387
00391 typedef struct xcb_randr_get_output_info_request_t {
00392 uint8_t major_opcode;
00393 uint8_t minor_opcode;
00394 uint16_t length;
00395 uint32_t output;
00396 xcb_timestamp_t config_timestamp;
00397 } xcb_randr_get_output_info_request_t;
00398
00402 typedef struct xcb_randr_get_output_info_reply_t {
00403 uint8_t response_type;
00404 uint8_t status;
00405 uint16_t sequence;
00406 uint32_t length;
00407 xcb_timestamp_t timestamp;
00408 uint32_t crtc;
00409 uint32_t mm_width;
00410 uint32_t mm_height;
00411 uint8_t connection;
00412 uint8_t subpixel_order;
00413 uint16_t num_crtcs;
00414 uint16_t num_modes;
00415 uint16_t num_preferred;
00416 uint16_t num_clones;
00417 uint16_t name_len;
00418 } xcb_randr_get_output_info_reply_t;
00419
00423 typedef struct xcb_randr_list_output_properties_cookie_t {
00424 unsigned int sequence;
00425 } xcb_randr_list_output_properties_cookie_t;
00426
00428 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
00429
00433 typedef struct xcb_randr_list_output_properties_request_t {
00434 uint8_t major_opcode;
00435 uint8_t minor_opcode;
00436 uint16_t length;
00437 uint32_t output;
00438 } xcb_randr_list_output_properties_request_t;
00439
00443 typedef struct xcb_randr_list_output_properties_reply_t {
00444 uint8_t response_type;
00445 uint8_t pad0;
00446 uint16_t sequence;
00447 uint32_t length;
00448 uint16_t num_atoms;
00449 uint8_t pad1[22];
00450 } xcb_randr_list_output_properties_reply_t;
00451
00455 typedef struct xcb_randr_query_output_property_cookie_t {
00456 unsigned int sequence;
00457 } xcb_randr_query_output_property_cookie_t;
00458
00460 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
00461
00465 typedef struct xcb_randr_query_output_property_request_t {
00466 uint8_t major_opcode;
00467 uint8_t minor_opcode;
00468 uint16_t length;
00469 uint32_t output;
00470 xcb_atom_t property;
00471 } xcb_randr_query_output_property_request_t;
00472
00476 typedef struct xcb_randr_query_output_property_reply_t {
00477 uint8_t response_type;
00478 uint8_t pad0;
00479 uint16_t sequence;
00480 uint32_t length;
00481 uint8_t pending;
00482 uint8_t range;
00483 uint8_t immutable;
00484 uint8_t pad1[21];
00485 } xcb_randr_query_output_property_reply_t;
00486
00488 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
00489
00493 typedef struct xcb_randr_configure_output_property_request_t {
00494 uint8_t major_opcode;
00495 uint8_t minor_opcode;
00496 uint16_t length;
00497 uint32_t output;
00498 xcb_atom_t property;
00499 uint8_t pending;
00500 uint8_t range;
00501 uint8_t pad0[2];
00502 } xcb_randr_configure_output_property_request_t;
00503
00505 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
00506
00510 typedef struct xcb_randr_change_output_property_request_t {
00511 uint8_t major_opcode;
00512 uint8_t minor_opcode;
00513 uint16_t length;
00514 uint32_t output;
00515 xcb_atom_t property;
00516 xcb_atom_t type;
00517 uint8_t format;
00518 uint8_t mode;
00519 uint8_t pad0[2];
00520 uint32_t num_units;
00521 } xcb_randr_change_output_property_request_t;
00522
00524 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
00525
00529 typedef struct xcb_randr_delete_output_property_request_t {
00530 uint8_t major_opcode;
00531 uint8_t minor_opcode;
00532 uint16_t length;
00533 uint32_t output;
00534 xcb_atom_t property;
00535 } xcb_randr_delete_output_property_request_t;
00536
00540 typedef struct xcb_randr_get_output_property_cookie_t {
00541 unsigned int sequence;
00542 } xcb_randr_get_output_property_cookie_t;
00543
00545 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
00546
00550 typedef struct xcb_randr_get_output_property_request_t {
00551 uint8_t major_opcode;
00552 uint8_t minor_opcode;
00553 uint16_t length;
00554 uint32_t output;
00555 xcb_atom_t property;
00556 xcb_atom_t type;
00557 uint32_t long_offset;
00558 uint32_t long_length;
00559 uint8_t _delete;
00560 uint8_t pending;
00561 } xcb_randr_get_output_property_request_t;
00562
00566 typedef struct xcb_randr_get_output_property_reply_t {
00567 uint8_t response_type;
00568 uint8_t format;
00569 uint16_t sequence;
00570 uint32_t length;
00571 xcb_atom_t type;
00572 uint32_t bytes_after;
00573 uint32_t num_items;
00574 uint8_t pad0[12];
00575 } xcb_randr_get_output_property_reply_t;
00576
00580 typedef struct xcb_randr_create_mode_cookie_t {
00581 unsigned int sequence;
00582 } xcb_randr_create_mode_cookie_t;
00583
00585 #define XCB_RANDR_CREATE_MODE 16
00586
00590 typedef struct xcb_randr_create_mode_request_t {
00591 uint8_t major_opcode;
00592 uint8_t minor_opcode;
00593 uint16_t length;
00594 xcb_window_t window;
00595 xcb_randr_mode_info_t mode_info;
00596 } xcb_randr_create_mode_request_t;
00597
00601 typedef struct xcb_randr_create_mode_reply_t {
00602 uint8_t response_type;
00603 uint8_t status;
00604 uint16_t sequence;
00605 uint32_t length;
00606 uint32_t mode;
00607 } xcb_randr_create_mode_reply_t;
00608
00610 #define XCB_RANDR_DESTROY_MODE 17
00611
00615 typedef struct xcb_randr_destroy_mode_request_t {
00616 uint8_t major_opcode;
00617 uint8_t minor_opcode;
00618 uint16_t length;
00619 uint32_t mode;
00620 } xcb_randr_destroy_mode_request_t;
00621
00623 #define XCB_RANDR_ADD_OUTPUT_MODE 18
00624
00628 typedef struct xcb_randr_add_output_mode_request_t {
00629 uint8_t major_opcode;
00630 uint8_t minor_opcode;
00631 uint16_t length;
00632 uint32_t output;
00633 uint32_t mode;
00634 } xcb_randr_add_output_mode_request_t;
00635
00637 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
00638
00642 typedef struct xcb_randr_delete_output_mode_request_t {
00643 uint8_t major_opcode;
00644 uint8_t minor_opcode;
00645 uint16_t length;
00646 uint32_t output;
00647 uint32_t mode;
00648 } xcb_randr_delete_output_mode_request_t;
00649
00653 typedef struct xcb_randr_get_crtc_info_cookie_t {
00654 unsigned int sequence;
00655 } xcb_randr_get_crtc_info_cookie_t;
00656
00658 #define XCB_RANDR_GET_CRTC_INFO 20
00659
00663 typedef struct xcb_randr_get_crtc_info_request_t {
00664 uint8_t major_opcode;
00665 uint8_t minor_opcode;
00666 uint16_t length;
00667 uint32_t crtc;
00668 xcb_timestamp_t config_timestamp;
00669 } xcb_randr_get_crtc_info_request_t;
00670
00674 typedef struct xcb_randr_get_crtc_info_reply_t {
00675 uint8_t response_type;
00676 uint8_t status;
00677 uint16_t sequence;
00678 uint32_t length;
00679 xcb_timestamp_t timestamp;
00680 uint32_t crtc;
00681 int16_t x;
00682 int16_t y;
00683 uint16_t width;
00684 uint16_t height;
00685 uint32_t mode;
00686 uint16_t rotation;
00687 uint16_t rotations;
00688 uint16_t num_outputs;
00689 uint16_t num_possible_outputs;
00690 } xcb_randr_get_crtc_info_reply_t;
00691
00695 typedef struct xcb_randr_set_crtc_config_cookie_t {
00696 unsigned int sequence;
00697 } xcb_randr_set_crtc_config_cookie_t;
00698
00700 #define XCB_RANDR_SET_CRTC_CONFIG 21
00701
00705 typedef struct xcb_randr_set_crtc_config_request_t {
00706 uint8_t major_opcode;
00707 uint8_t minor_opcode;
00708 uint16_t length;
00709 uint32_t crtc;
00710 xcb_timestamp_t timestamp;
00711 xcb_timestamp_t config_timestamp;
00712 int16_t x;
00713 int16_t y;
00714 uint32_t mode;
00715 uint16_t rotation;
00716 } xcb_randr_set_crtc_config_request_t;
00717
00721 typedef struct xcb_randr_set_crtc_config_reply_t {
00722 uint8_t response_type;
00723 uint8_t status;
00724 uint16_t sequence;
00725 uint32_t length;
00726 xcb_timestamp_t timestamp;
00727 } xcb_randr_set_crtc_config_reply_t;
00728
00732 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
00733 unsigned int sequence;
00734 } xcb_randr_get_crtc_gamma_size_cookie_t;
00735
00737 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
00738
00742 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
00743 uint8_t major_opcode;
00744 uint8_t minor_opcode;
00745 uint16_t length;
00746 uint32_t crtc;
00747 } xcb_randr_get_crtc_gamma_size_request_t;
00748
00752 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
00753 uint8_t response_type;
00754 uint8_t status;
00755 uint16_t sequence;
00756 uint32_t length;
00757 uint16_t size;
00758 } xcb_randr_get_crtc_gamma_size_reply_t;
00759
00763 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
00764 unsigned int sequence;
00765 } xcb_randr_get_crtc_gamma_cookie_t;
00766
00768 #define XCB_RANDR_GET_CRTC_GAMMA 23
00769
00773 typedef struct xcb_randr_get_crtc_gamma_request_t {
00774 uint8_t major_opcode;
00775 uint8_t minor_opcode;
00776 uint16_t length;
00777 uint32_t crtc;
00778 } xcb_randr_get_crtc_gamma_request_t;
00779
00783 typedef struct xcb_randr_get_crtc_gamma_reply_t {
00784 uint8_t response_type;
00785 uint8_t status;
00786 uint16_t sequence;
00787 uint32_t length;
00788 uint16_t size;
00789 uint8_t pad0[22];
00790 } xcb_randr_get_crtc_gamma_reply_t;
00791
00793 #define XCB_RANDR_SET_CRTC_GAMMA 24
00794
00798 typedef struct xcb_randr_set_crtc_gamma_request_t {
00799 uint8_t major_opcode;
00800 uint8_t minor_opcode;
00801 uint16_t length;
00802 uint32_t crtc;
00803 uint16_t size;
00804 uint8_t pad0[2];
00805 } xcb_randr_set_crtc_gamma_request_t;
00806
00807 typedef enum xcb_randr_notify_mask_t {
00808 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = (1 << 0),
00809 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = (1 << 1),
00810 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = (1 << 2),
00811 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = (1 << 3)
00812 } xcb_randr_notify_mask_t;
00813
00815 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
00816
00820 typedef struct xcb_randr_screen_change_notify_event_t {
00821 uint8_t response_type;
00822 uint8_t rotation;
00823 uint16_t sequence;
00824 xcb_timestamp_t timestamp;
00825 xcb_timestamp_t config_timestamp;
00826 xcb_window_t root;
00827 xcb_window_t request_window;
00828 uint16_t sizeID;
00829 uint16_t subpixel_order;
00830 uint16_t width;
00831 uint16_t height;
00832 uint16_t mwidth;
00833 uint16_t mheight;
00834 } xcb_randr_screen_change_notify_event_t;
00835
00836 typedef enum xcb_randr_notify_t {
00837 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
00838 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
00839 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2
00840 } xcb_randr_notify_t;
00841
00845 typedef struct xcb_randr_crtc_change_t {
00846 xcb_timestamp_t timestamp;
00847 xcb_window_t window;
00848 uint32_t crtc;
00849 uint32_t mode;
00850 uint16_t rotation;
00851 uint8_t pad0[2];
00852 int16_t x;
00853 int16_t y;
00854 uint16_t width;
00855 uint16_t height;
00856 } xcb_randr_crtc_change_t;
00857
00861 typedef struct xcb_randr_crtc_change_iterator_t {
00862 xcb_randr_crtc_change_t *data;
00863 int rem;
00864 int index;
00865 } xcb_randr_crtc_change_iterator_t;
00866
00870 typedef struct xcb_randr_output_change_t {
00871 xcb_timestamp_t timestamp;
00872 xcb_timestamp_t config_timestamp;
00873 xcb_window_t window;
00874 uint32_t output;
00875 uint32_t crtc;
00876 uint32_t mode;
00877 uint16_t rotation;
00878 uint8_t connection;
00879 uint8_t subpixel_order;
00880 } xcb_randr_output_change_t;
00881
00885 typedef struct xcb_randr_output_change_iterator_t {
00886 xcb_randr_output_change_t *data;
00887 int rem;
00888 int index;
00889 } xcb_randr_output_change_iterator_t;
00890
00894 typedef struct xcb_randr_output_property_t {
00895 xcb_window_t window;
00896 uint32_t output;
00897 xcb_atom_t atom;
00898 xcb_timestamp_t timestamp;
00899 uint8_t status;
00900 uint8_t pad0[11];
00901 } xcb_randr_output_property_t;
00902
00906 typedef struct xcb_randr_output_property_iterator_t {
00907 xcb_randr_output_property_t *data;
00908 int rem;
00909 int index;
00910 } xcb_randr_output_property_iterator_t;
00911
00915 typedef union xcb_randr_notify_data_t {
00916 xcb_randr_crtc_change_t cc;
00917 xcb_randr_output_change_t oc;
00918 xcb_randr_output_property_t op;
00919 } xcb_randr_notify_data_t;
00920
00924 typedef struct xcb_randr_notify_data_iterator_t {
00925 xcb_randr_notify_data_t *data;
00926 int rem;
00927 int index;
00928 } xcb_randr_notify_data_iterator_t;
00929
00931 #define XCB_RANDR_NOTIFY 1
00932
00936 typedef struct xcb_randr_notify_event_t {
00937 uint8_t response_type;
00938 uint8_t subCode;
00939 uint16_t sequence;
00940 xcb_randr_notify_data_t u;
00941 } xcb_randr_notify_event_t;
00942
00952
00953
00954
00955
00956
00957
00958
00959
00960
00961 void
00962 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i );
00963
00974
00975
00976
00977
00978
00979
00980
00981
00982
00983 xcb_generic_iterator_t
00984 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i );
00985
00986
00987
00988
00989
00990
00991
00992
00993
00994
00995
00996 uint16_t *
00997 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R );
00998
00999
01000
01001
01002
01003
01004
01005
01006
01007
01008
01009 int
01010 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R );
01011
01012
01013
01014
01015
01016
01017
01018
01019
01020
01021
01022 xcb_generic_iterator_t
01023 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R );
01024
01034
01035
01036
01037
01038
01039
01040
01041
01042
01043 void
01044 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i );
01045
01056
01057
01058
01059
01060
01061
01062
01063
01064
01065 xcb_generic_iterator_t
01066 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i );
01067
01077
01078
01079
01080
01081
01082
01083
01084
01085
01086
01087
01088 xcb_randr_query_version_cookie_t
01089 xcb_randr_query_version (xcb_connection_t *c ,
01090 uint32_t major_version ,
01091 uint32_t minor_version );
01092
01105
01106
01107
01108
01109
01110
01111
01112
01113
01114
01115
01116 xcb_randr_query_version_cookie_t
01117 xcb_randr_query_version_unchecked (xcb_connection_t *c ,
01118 uint32_t major_version ,
01119 uint32_t minor_version );
01120
01134
01135
01136
01137
01138
01139
01140
01141
01142
01143
01144
01145 xcb_randr_query_version_reply_t *
01146 xcb_randr_query_version_reply (xcb_connection_t *c ,
01147 xcb_randr_query_version_cookie_t cookie ,
01148 xcb_generic_error_t **e );
01149
01159
01160
01161
01162
01163
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174 xcb_randr_set_screen_config_cookie_t
01175 xcb_randr_set_screen_config (xcb_connection_t *c ,
01176 xcb_drawable_t drawable ,
01177 xcb_timestamp_t timestamp ,
01178 xcb_timestamp_t config_timestamp ,
01179 uint16_t sizeID ,
01180 int16_t rotation ,
01181 uint16_t rate );
01182
01195
01196
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210 xcb_randr_set_screen_config_cookie_t
01211 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c ,
01212 xcb_drawable_t drawable ,
01213 xcb_timestamp_t timestamp ,
01214 xcb_timestamp_t config_timestamp ,
01215 uint16_t sizeID ,
01216 int16_t rotation ,
01217 uint16_t rate );
01218
01232
01233
01234
01235
01236
01237
01238
01239
01240
01241
01242
01243 xcb_randr_set_screen_config_reply_t *
01244 xcb_randr_set_screen_config_reply (xcb_connection_t *c ,
01245 xcb_randr_set_screen_config_cookie_t cookie ,
01246 xcb_generic_error_t **e );
01247
01260
01261
01262
01263
01264
01265
01266
01267
01268
01269
01270
01271 xcb_void_cookie_t
01272 xcb_randr_select_input_checked (xcb_connection_t *c ,
01273 xcb_window_t window ,
01274 uint16_t enable );
01275
01285
01286
01287
01288
01289
01290
01291
01292
01293
01294
01295
01296 xcb_void_cookie_t
01297 xcb_randr_select_input (xcb_connection_t *c ,
01298 xcb_window_t window ,
01299 uint16_t enable );
01300
01310
01311
01312
01313
01314
01315
01316
01317
01318
01319
01320 xcb_randr_get_screen_info_cookie_t
01321 xcb_randr_get_screen_info (xcb_connection_t *c ,
01322 xcb_window_t window );
01323
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346 xcb_randr_get_screen_info_cookie_t
01347 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c ,
01348 xcb_window_t window );
01349
01350
01351
01352
01353
01354
01355
01356
01357
01358
01359
01360 xcb_randr_screen_size_t *
01361 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R );
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373 int
01374 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R );
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385
01386 xcb_randr_screen_size_iterator_t
01387 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R );
01388
01389
01390
01391
01392
01393
01394
01395
01396
01397
01398
01399 int
01400 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R );
01401
01402
01403
01404
01405
01406
01407
01408
01409
01410
01411
01412 xcb_randr_refresh_rates_iterator_t
01413 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R );
01414
01428
01429
01430
01431
01432
01433
01434
01435
01436
01437
01438
01439 xcb_randr_get_screen_info_reply_t *
01440 xcb_randr_get_screen_info_reply (xcb_connection_t *c ,
01441 xcb_randr_get_screen_info_cookie_t cookie ,
01442 xcb_generic_error_t **e );
01443
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462
01463 xcb_randr_get_screen_size_range_cookie_t
01464 xcb_randr_get_screen_size_range (xcb_connection_t *c ,
01465 xcb_window_t window );
01466
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488
01489 xcb_randr_get_screen_size_range_cookie_t
01490 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c ,
01491 xcb_window_t window );
01492
01506
01507
01508
01509
01510
01511
01512
01513
01514
01515
01516
01517 xcb_randr_get_screen_size_range_reply_t *
01518 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c ,
01519 xcb_randr_get_screen_size_range_cookie_t cookie ,
01520 xcb_generic_error_t **e );
01521
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543
01544
01545
01546
01547
01548 xcb_void_cookie_t
01549 xcb_randr_set_screen_size_checked (xcb_connection_t *c ,
01550 xcb_window_t window ,
01551 uint16_t width ,
01552 uint16_t height ,
01553 uint32_t mm_width ,
01554 uint32_t mm_height );
01555
01565
01566
01567
01568
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579 xcb_void_cookie_t
01580 xcb_randr_set_screen_size (xcb_connection_t *c ,
01581 xcb_window_t window ,
01582 uint16_t width ,
01583 uint16_t height ,
01584 uint32_t mm_width ,
01585 uint32_t mm_height );
01586
01596
01597
01598
01599
01600
01601
01602
01603
01604
01605 void
01606 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i );
01607
01618
01619
01620
01621
01622
01623
01624
01625
01626
01627 xcb_generic_iterator_t
01628 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i );
01629
01639
01640
01641
01642
01643
01644
01645
01646
01647
01648
01649 xcb_randr_get_screen_resources_cookie_t
01650 xcb_randr_get_screen_resources (xcb_connection_t *c ,
01651 xcb_window_t window );
01652
01665
01666
01667
01668
01669
01670
01671
01672
01673
01674
01675 xcb_randr_get_screen_resources_cookie_t
01676 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c ,
01677 xcb_window_t window );
01678
01679
01680
01681
01682
01683
01684
01685
01686
01687
01688
01689 uint32_t *
01690 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R );
01691
01692
01693
01694
01695
01696
01697
01698
01699
01700
01701
01702 int
01703 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R );
01704
01705
01706
01707
01708
01709
01710
01711
01712
01713
01714
01715 xcb_generic_iterator_t
01716 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R );
01717
01718
01719
01720
01721
01722
01723
01724
01725
01726
01727
01728 uint32_t *
01729 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R );
01730
01731
01732
01733
01734
01735
01736
01737
01738
01739
01740
01741 int
01742 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R );
01743
01744
01745
01746
01747
01748
01749
01750
01751
01752
01753
01754 xcb_generic_iterator_t
01755 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R );
01756
01757
01758
01759
01760
01761
01762
01763
01764
01765
01766
01767 xcb_randr_mode_info_t *
01768 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R );
01769
01770
01771
01772
01773
01774
01775
01776
01777
01778
01779
01780 int
01781 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R );
01782
01783
01784
01785
01786
01787
01788
01789
01790
01791
01792
01793 xcb_randr_mode_info_iterator_t
01794 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R );
01795
01796
01797
01798
01799
01800
01801
01802
01803
01804
01805
01806 uint8_t *
01807 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R );
01808
01809
01810
01811
01812
01813
01814
01815
01816
01817
01818
01819 int
01820 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R );
01821
01822
01823
01824
01825
01826
01827
01828
01829
01830
01831
01832 xcb_generic_iterator_t
01833 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R );
01834
01848
01849
01850
01851
01852
01853
01854
01855
01856
01857
01858
01859 xcb_randr_get_screen_resources_reply_t *
01860 xcb_randr_get_screen_resources_reply (xcb_connection_t *c ,
01861 xcb_randr_get_screen_resources_cookie_t cookie ,
01862 xcb_generic_error_t **e );
01863
01873
01874
01875
01876
01877
01878
01879
01880
01881
01882
01883
01884 xcb_randr_get_output_info_cookie_t
01885 xcb_randr_get_output_info (xcb_connection_t *c ,
01886 uint32_t output ,
01887 xcb_timestamp_t config_timestamp );
01888
01901
01902
01903
01904
01905
01906
01907
01908
01909
01910
01911
01912 xcb_randr_get_output_info_cookie_t
01913 xcb_randr_get_output_info_unchecked (xcb_connection_t *c ,
01914 uint32_t output ,
01915 xcb_timestamp_t config_timestamp );
01916
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927 uint32_t *
01928 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R );
01929
01930
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940 int
01941 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R );
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952
01953 xcb_generic_iterator_t
01954 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R );
01955
01956
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966 uint32_t *
01967 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R );
01968
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978
01979 int
01980 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R );
01981
01982
01983
01984
01985
01986
01987
01988
01989
01990
01991
01992 xcb_generic_iterator_t
01993 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R );
01994
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005 uint32_t *
02006 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R );
02007
02008
02009
02010
02011
02012
02013
02014
02015
02016
02017
02018 int
02019 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R );
02020
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031 xcb_generic_iterator_t
02032 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R );
02033
02034
02035
02036
02037
02038
02039
02040
02041
02042
02043
02044 uint8_t *
02045 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R );
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056
02057 int
02058 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R );
02059
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069
02070 xcb_generic_iterator_t
02071 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R );
02072
02086
02087
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097 xcb_randr_get_output_info_reply_t *
02098 xcb_randr_get_output_info_reply (xcb_connection_t *c ,
02099 xcb_randr_get_output_info_cookie_t cookie ,
02100 xcb_generic_error_t **e );
02101
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120
02121 xcb_randr_list_output_properties_cookie_t
02122 xcb_randr_list_output_properties (xcb_connection_t *c ,
02123 uint32_t output );
02124
02137
02138
02139
02140
02141
02142
02143
02144
02145
02146
02147 xcb_randr_list_output_properties_cookie_t
02148 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c ,
02149 uint32_t output );
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159
02160
02161 xcb_atom_t *
02162 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R );
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172
02173
02174 int
02175 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R );
02176
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186
02187 xcb_atom_iterator_t
02188 xcb_randr_list_output_properties_atoms_iterator (const xcb_randr_list_output_properties_reply_t *R );
02189
02203
02204
02205
02206
02207
02208
02209
02210
02211
02212
02213
02214 xcb_randr_list_output_properties_reply_t *
02215 xcb_randr_list_output_properties_reply (xcb_connection_t *c ,
02216 xcb_randr_list_output_properties_cookie_t cookie ,
02217 xcb_generic_error_t **e );
02218
02228
02229
02230
02231
02232
02233
02234
02235
02236
02237
02238
02239 xcb_randr_query_output_property_cookie_t
02240 xcb_randr_query_output_property (xcb_connection_t *c ,
02241 uint32_t output ,
02242 xcb_atom_t property );
02243
02256
02257
02258
02259
02260
02261
02262
02263
02264
02265
02266
02267 xcb_randr_query_output_property_cookie_t
02268 xcb_randr_query_output_property_unchecked (xcb_connection_t *c ,
02269 uint32_t output ,
02270 xcb_atom_t property );
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281
02282 int32_t *
02283 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R );
02284
02285
02286
02287
02288
02289
02290
02291
02292
02293
02294
02295 int
02296 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R );
02297
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308 xcb_generic_iterator_t
02309 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R );
02310
02324
02325
02326
02327
02328
02329
02330
02331
02332
02333
02334
02335 xcb_randr_query_output_property_reply_t *
02336 xcb_randr_query_output_property_reply (xcb_connection_t *c ,
02337 xcb_randr_query_output_property_cookie_t cookie ,
02338 xcb_generic_error_t **e );
02339
02352
02353
02354
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364
02365 xcb_void_cookie_t
02366 xcb_randr_configure_output_property_checked (xcb_connection_t *c ,
02367 uint32_t output ,
02368 xcb_atom_t property ,
02369 uint8_t pending ,
02370 uint8_t range );
02371
02381
02382
02383
02384
02385
02386
02387
02388
02389
02390
02391
02392
02393
02394 xcb_void_cookie_t
02395 xcb_randr_configure_output_property (xcb_connection_t *c ,
02396 uint32_t output ,
02397 xcb_atom_t property ,
02398 uint8_t pending ,
02399 uint8_t range );
02400
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428 xcb_void_cookie_t
02429 xcb_randr_change_output_property_checked (xcb_connection_t *c ,
02430 uint32_t output ,
02431 xcb_atom_t property ,
02432 xcb_atom_t type ,
02433 uint8_t format ,
02434 uint8_t mode ,
02435 uint32_t num_units );
02436
02446
02447
02448
02449
02450
02451
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461 xcb_void_cookie_t
02462 xcb_randr_change_output_property (xcb_connection_t *c ,
02463 uint32_t output ,
02464 xcb_atom_t property ,
02465 xcb_atom_t type ,
02466 uint8_t format ,
02467 uint8_t mode ,
02468 uint32_t num_units );
02469
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493 xcb_void_cookie_t
02494 xcb_randr_delete_output_property_checked (xcb_connection_t *c ,
02495 uint32_t output ,
02496 xcb_atom_t property );
02497
02507
02508
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518 xcb_void_cookie_t
02519 xcb_randr_delete_output_property (xcb_connection_t *c ,
02520 uint32_t output ,
02521 xcb_atom_t property );
02522
02532
02533
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548 xcb_randr_get_output_property_cookie_t
02549 xcb_randr_get_output_property (xcb_connection_t *c ,
02550 uint32_t output ,
02551 xcb_atom_t property ,
02552 xcb_atom_t type ,
02553 uint32_t long_offset ,
02554 uint32_t long_length ,
02555 uint8_t _delete ,
02556 uint8_t pending );
02557
02570
02571
02572
02573
02574
02575
02576
02577
02578
02579
02580
02581
02582
02583
02584
02585
02586 xcb_randr_get_output_property_cookie_t
02587 xcb_randr_get_output_property_unchecked (xcb_connection_t *c ,
02588 uint32_t output ,
02589 xcb_atom_t property ,
02590 xcb_atom_t type ,
02591 uint32_t long_offset ,
02592 uint32_t long_length ,
02593 uint8_t _delete ,
02594 uint8_t pending );
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604
02605
02606 uint8_t *
02607 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R );
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617
02618
02619 int
02620 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R );
02621
02622
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632 xcb_generic_iterator_t
02633 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R );
02634
02648
02649
02650
02651
02652
02653
02654
02655
02656
02657
02658
02659 xcb_randr_get_output_property_reply_t *
02660 xcb_randr_get_output_property_reply (xcb_connection_t *c ,
02661 xcb_randr_get_output_property_cookie_t cookie ,
02662 xcb_generic_error_t **e );
02663
02673
02674
02675
02676
02677
02678
02679
02680
02681
02682
02683
02684 xcb_randr_create_mode_cookie_t
02685 xcb_randr_create_mode (xcb_connection_t *c ,
02686 xcb_window_t window ,
02687 xcb_randr_mode_info_t mode_info );
02688
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711
02712 xcb_randr_create_mode_cookie_t
02713 xcb_randr_create_mode_unchecked (xcb_connection_t *c ,
02714 xcb_window_t window ,
02715 xcb_randr_mode_info_t mode_info );
02716
02730
02731
02732
02733
02734
02735
02736
02737
02738
02739
02740
02741 xcb_randr_create_mode_reply_t *
02742 xcb_randr_create_mode_reply (xcb_connection_t *c ,
02743 xcb_randr_create_mode_cookie_t cookie ,
02744 xcb_generic_error_t **e );
02745
02758
02759
02760
02761
02762
02763
02764
02765
02766
02767
02768 xcb_void_cookie_t
02769 xcb_randr_destroy_mode_checked (xcb_connection_t *c ,
02770 uint32_t mode );
02771
02781
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791 xcb_void_cookie_t
02792 xcb_randr_destroy_mode (xcb_connection_t *c ,
02793 uint32_t mode );
02794
02807
02808
02809
02810
02811
02812
02813
02814
02815
02816
02817
02818 xcb_void_cookie_t
02819 xcb_randr_add_output_mode_checked (xcb_connection_t *c ,
02820 uint32_t output ,
02821 uint32_t mode );
02822
02832
02833
02834
02835
02836
02837
02838
02839
02840
02841
02842
02843 xcb_void_cookie_t
02844 xcb_randr_add_output_mode (xcb_connection_t *c ,
02845 uint32_t output ,
02846 uint32_t mode );
02847
02860
02861
02862
02863
02864
02865
02866
02867
02868
02869
02870
02871 xcb_void_cookie_t
02872 xcb_randr_delete_output_mode_checked (xcb_connection_t *c ,
02873 uint32_t output ,
02874 uint32_t mode );
02875
02885
02886
02887
02888
02889
02890
02891
02892
02893
02894
02895
02896 xcb_void_cookie_t
02897 xcb_randr_delete_output_mode (xcb_connection_t *c ,
02898 uint32_t output ,
02899 uint32_t mode );
02900
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919
02920
02921 xcb_randr_get_crtc_info_cookie_t
02922 xcb_randr_get_crtc_info (xcb_connection_t *c ,
02923 uint32_t crtc ,
02924 xcb_timestamp_t config_timestamp );
02925
02938
02939
02940
02941
02942
02943
02944
02945
02946
02947
02948
02949 xcb_randr_get_crtc_info_cookie_t
02950 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c ,
02951 uint32_t crtc ,
02952 xcb_timestamp_t config_timestamp );
02953
02954
02955
02956
02957
02958
02959
02960
02961
02962
02963
02964 uint32_t *
02965 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R );
02966
02967
02968
02969
02970
02971
02972
02973
02974
02975
02976
02977 int
02978 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R );
02979
02980
02981
02982
02983
02984
02985
02986
02987
02988
02989
02990 xcb_generic_iterator_t
02991 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R );
02992
03006
03007
03008
03009
03010
03011
03012
03013
03014
03015
03016
03017 xcb_randr_get_crtc_info_reply_t *
03018 xcb_randr_get_crtc_info_reply (xcb_connection_t *c ,
03019 xcb_randr_get_crtc_info_cookie_t cookie ,
03020 xcb_generic_error_t **e );
03021
03031
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041
03042
03043
03044
03045
03046
03047 xcb_randr_set_crtc_config_cookie_t
03048 xcb_randr_set_crtc_config (xcb_connection_t *c ,
03049 uint32_t crtc ,
03050 xcb_timestamp_t timestamp ,
03051 xcb_timestamp_t config_timestamp ,
03052 int16_t x ,
03053 int16_t y ,
03054 uint32_t mode ,
03055 uint16_t rotation );
03056
03069
03070
03071
03072
03073
03074
03075
03076
03077
03078
03079
03080
03081
03082
03083
03084
03085 xcb_randr_set_crtc_config_cookie_t
03086 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c ,
03087 uint32_t crtc ,
03088 xcb_timestamp_t timestamp ,
03089 xcb_timestamp_t config_timestamp ,
03090 int16_t x ,
03091 int16_t y ,
03092 uint32_t mode ,
03093 uint16_t rotation );
03094
03108
03109
03110
03111
03112
03113
03114
03115
03116
03117
03118
03119 xcb_randr_set_crtc_config_reply_t *
03120 xcb_randr_set_crtc_config_reply (xcb_connection_t *c ,
03121 xcb_randr_set_crtc_config_cookie_t cookie ,
03122 xcb_generic_error_t **e );
03123
03133
03134
03135
03136
03137
03138
03139
03140
03141
03142
03143 xcb_randr_get_crtc_gamma_size_cookie_t
03144 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c ,
03145 uint32_t crtc );
03146
03159
03160
03161
03162
03163
03164
03165
03166
03167
03168
03169 xcb_randr_get_crtc_gamma_size_cookie_t
03170 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c ,
03171 uint32_t crtc );
03172
03186
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197 xcb_randr_get_crtc_gamma_size_reply_t *
03198 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c ,
03199 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
03200 xcb_generic_error_t **e );
03201
03211
03212
03213
03214
03215
03216
03217
03218
03219
03220
03221 xcb_randr_get_crtc_gamma_cookie_t
03222 xcb_randr_get_crtc_gamma (xcb_connection_t *c ,
03223 uint32_t crtc );
03224
03237
03238
03239
03240
03241
03242
03243
03244
03245
03246
03247 xcb_randr_get_crtc_gamma_cookie_t
03248 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c ,
03249 uint32_t crtc );
03250
03251
03252
03253
03254
03255
03256
03257
03258
03259
03260
03261 uint16_t *
03262 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R );
03263
03264
03265
03266
03267
03268
03269
03270
03271
03272
03273
03274 int
03275 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03276
03277
03278
03279
03280
03281
03282
03283
03284
03285
03286
03287 xcb_generic_iterator_t
03288 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300 uint16_t *
03301 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R );
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313 int
03314 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03315
03316
03317
03318
03319
03320
03321
03322
03323
03324
03325
03326 xcb_generic_iterator_t
03327 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339 uint16_t *
03340 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R );
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351
03352 int
03353 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03354
03355
03356
03357
03358
03359
03360
03361
03362
03363
03364
03365 xcb_generic_iterator_t
03366 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03367
03381
03382
03383
03384
03385
03386
03387
03388
03389
03390
03391
03392 xcb_randr_get_crtc_gamma_reply_t *
03393 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c ,
03394 xcb_randr_get_crtc_gamma_cookie_t cookie ,
03395 xcb_generic_error_t **e );
03396
03409
03410
03411
03412
03413
03414
03415
03416
03417
03418
03419
03420
03421
03422
03423 xcb_void_cookie_t
03424 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c ,
03425 uint32_t crtc ,
03426 uint16_t size ,
03427 const uint16_t *red ,
03428 const uint16_t *green ,
03429 const uint16_t *blue );
03430
03440
03441
03442
03443
03444
03445
03446
03447
03448
03449
03450
03451
03452
03453
03454 xcb_void_cookie_t
03455 xcb_randr_set_crtc_gamma (xcb_connection_t *c ,
03456 uint32_t crtc ,
03457 uint16_t size ,
03458 const uint16_t *red ,
03459 const uint16_t *green ,
03460 const uint16_t *blue );
03461
03471
03472
03473
03474
03475
03476
03477
03478
03479
03480 void
03481 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i );
03482
03493
03494
03495
03496
03497
03498
03499
03500
03501
03502 xcb_generic_iterator_t
03503 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i );
03504
03514
03515
03516
03517
03518
03519
03520
03521
03522
03523 void
03524 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i );
03525
03536
03537
03538
03539
03540
03541
03542
03543
03544
03545 xcb_generic_iterator_t
03546 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i );
03547
03557
03558
03559
03560
03561
03562
03563
03564
03565
03566 void
03567 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i );
03568
03579
03580
03581
03582
03583
03584
03585
03586
03587
03588 xcb_generic_iterator_t
03589 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i );
03590
03600
03601
03602
03603
03604
03605
03606
03607
03608
03609 void
03610 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i );
03611
03622
03623
03624
03625
03626
03627
03628
03629
03630
03631 xcb_generic_iterator_t
03632 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i );
03633
03634
03635 #endif
03636