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
01136
01137
01138
01139
01140
01141
01142
01143
01144
01145
01146
01147 xcb_randr_query_version_reply_t *
01148 xcb_randr_query_version_reply (xcb_connection_t *c ,
01149 xcb_randr_query_version_cookie_t cookie ,
01150 xcb_generic_error_t **e );
01151
01161
01162
01163
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176 xcb_randr_set_screen_config_cookie_t
01177 xcb_randr_set_screen_config (xcb_connection_t *c ,
01178 xcb_drawable_t drawable ,
01179 xcb_timestamp_t timestamp ,
01180 xcb_timestamp_t config_timestamp ,
01181 uint16_t sizeID ,
01182 int16_t rotation ,
01183 uint16_t rate );
01184
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210
01211
01212 xcb_randr_set_screen_config_cookie_t
01213 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c ,
01214 xcb_drawable_t drawable ,
01215 xcb_timestamp_t timestamp ,
01216 xcb_timestamp_t config_timestamp ,
01217 uint16_t sizeID ,
01218 int16_t rotation ,
01219 uint16_t rate );
01220
01236
01237
01238
01239
01240
01241
01242
01243
01244
01245
01246
01247 xcb_randr_set_screen_config_reply_t *
01248 xcb_randr_set_screen_config_reply (xcb_connection_t *c ,
01249 xcb_randr_set_screen_config_cookie_t cookie ,
01250 xcb_generic_error_t **e );
01251
01264
01265
01266
01267
01268
01269
01270
01271
01272
01273
01274
01275 xcb_void_cookie_t
01276 xcb_randr_select_input_checked (xcb_connection_t *c ,
01277 xcb_window_t window ,
01278 uint16_t enable );
01279
01289
01290
01291
01292
01293
01294
01295
01296
01297
01298
01299
01300 xcb_void_cookie_t
01301 xcb_randr_select_input (xcb_connection_t *c ,
01302 xcb_window_t window ,
01303 uint16_t enable );
01304
01314
01315
01316
01317
01318
01319
01320
01321
01322
01323
01324 xcb_randr_get_screen_info_cookie_t
01325 xcb_randr_get_screen_info (xcb_connection_t *c ,
01326 xcb_window_t window );
01327
01340
01341
01342
01343
01344
01345
01346
01347
01348
01349
01350 xcb_randr_get_screen_info_cookie_t
01351 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c ,
01352 xcb_window_t window );
01353
01354
01355
01356
01357
01358
01359
01360
01361
01362
01363
01364 xcb_randr_screen_size_t *
01365 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R );
01366
01367
01368
01369
01370
01371
01372
01373
01374
01375
01376
01377 int
01378 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R );
01379
01380
01381
01382
01383
01384
01385
01386
01387
01388
01389
01390 xcb_randr_screen_size_iterator_t
01391 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R );
01392
01393
01394
01395
01396
01397
01398
01399
01400
01401
01402
01403 int
01404 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R );
01405
01406
01407
01408
01409
01410
01411
01412
01413
01414
01415
01416 xcb_randr_refresh_rates_iterator_t
01417 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R );
01418
01434
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444
01445 xcb_randr_get_screen_info_reply_t *
01446 xcb_randr_get_screen_info_reply (xcb_connection_t *c ,
01447 xcb_randr_get_screen_info_cookie_t cookie ,
01448 xcb_generic_error_t **e );
01449
01459
01460
01461
01462
01463
01464
01465
01466
01467
01468
01469 xcb_randr_get_screen_size_range_cookie_t
01470 xcb_randr_get_screen_size_range (xcb_connection_t *c ,
01471 xcb_window_t window );
01472
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495 xcb_randr_get_screen_size_range_cookie_t
01496 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c ,
01497 xcb_window_t window );
01498
01514
01515
01516
01517
01518
01519
01520
01521
01522
01523
01524
01525 xcb_randr_get_screen_size_range_reply_t *
01526 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c ,
01527 xcb_randr_get_screen_size_range_cookie_t cookie ,
01528 xcb_generic_error_t **e );
01529
01542
01543
01544
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556 xcb_void_cookie_t
01557 xcb_randr_set_screen_size_checked (xcb_connection_t *c ,
01558 xcb_window_t window ,
01559 uint16_t width ,
01560 uint16_t height ,
01561 uint32_t mm_width ,
01562 uint32_t mm_height );
01563
01573
01574
01575
01576
01577
01578
01579
01580
01581
01582
01583
01584
01585
01586
01587 xcb_void_cookie_t
01588 xcb_randr_set_screen_size (xcb_connection_t *c ,
01589 xcb_window_t window ,
01590 uint16_t width ,
01591 uint16_t height ,
01592 uint32_t mm_width ,
01593 uint32_t mm_height );
01594
01604
01605
01606
01607
01608
01609
01610
01611
01612
01613 void
01614 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i );
01615
01626
01627
01628
01629
01630
01631
01632
01633
01634
01635 xcb_generic_iterator_t
01636 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i );
01637
01647
01648
01649
01650
01651
01652
01653
01654
01655
01656
01657 xcb_randr_get_screen_resources_cookie_t
01658 xcb_randr_get_screen_resources (xcb_connection_t *c ,
01659 xcb_window_t window );
01660
01673
01674
01675
01676
01677
01678
01679
01680
01681
01682
01683 xcb_randr_get_screen_resources_cookie_t
01684 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c ,
01685 xcb_window_t window );
01686
01687
01688
01689
01690
01691
01692
01693
01694
01695
01696
01697 uint32_t *
01698 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R );
01699
01700
01701
01702
01703
01704
01705
01706
01707
01708
01709
01710 int
01711 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R );
01712
01713
01714
01715
01716
01717
01718
01719
01720
01721
01722
01723 xcb_generic_iterator_t
01724 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R );
01725
01726
01727
01728
01729
01730
01731
01732
01733
01734
01735
01736 uint32_t *
01737 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R );
01738
01739
01740
01741
01742
01743
01744
01745
01746
01747
01748
01749 int
01750 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R );
01751
01752
01753
01754
01755
01756
01757
01758
01759
01760
01761
01762 xcb_generic_iterator_t
01763 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R );
01764
01765
01766
01767
01768
01769
01770
01771
01772
01773
01774
01775 xcb_randr_mode_info_t *
01776 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R );
01777
01778
01779
01780
01781
01782
01783
01784
01785
01786
01787
01788 int
01789 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R );
01790
01791
01792
01793
01794
01795
01796
01797
01798
01799
01800
01801 xcb_randr_mode_info_iterator_t
01802 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R );
01803
01804
01805
01806
01807
01808
01809
01810
01811
01812
01813
01814 uint8_t *
01815 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R );
01816
01817
01818
01819
01820
01821
01822
01823
01824
01825
01826
01827 int
01828 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R );
01829
01830
01831
01832
01833
01834
01835
01836
01837
01838
01839
01840 xcb_generic_iterator_t
01841 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R );
01842
01858
01859
01860
01861
01862
01863
01864
01865
01866
01867
01868
01869 xcb_randr_get_screen_resources_reply_t *
01870 xcb_randr_get_screen_resources_reply (xcb_connection_t *c ,
01871 xcb_randr_get_screen_resources_cookie_t cookie ,
01872 xcb_generic_error_t **e );
01873
01883
01884
01885
01886
01887
01888
01889
01890
01891
01892
01893
01894 xcb_randr_get_output_info_cookie_t
01895 xcb_randr_get_output_info (xcb_connection_t *c ,
01896 uint32_t output ,
01897 xcb_timestamp_t config_timestamp );
01898
01911
01912
01913
01914
01915
01916
01917
01918
01919
01920
01921
01922 xcb_randr_get_output_info_cookie_t
01923 xcb_randr_get_output_info_unchecked (xcb_connection_t *c ,
01924 uint32_t output ,
01925 xcb_timestamp_t config_timestamp );
01926
01927
01928
01929
01930
01931
01932
01933
01934
01935
01936
01937 uint32_t *
01938 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R );
01939
01940
01941
01942
01943
01944
01945
01946
01947
01948
01949
01950 int
01951 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R );
01952
01953
01954
01955
01956
01957
01958
01959
01960
01961
01962
01963 xcb_generic_iterator_t
01964 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R );
01965
01966
01967
01968
01969
01970
01971
01972
01973
01974
01975
01976 uint32_t *
01977 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R );
01978
01979
01980
01981
01982
01983
01984
01985
01986
01987
01988
01989 int
01990 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R );
01991
01992
01993
01994
01995
01996
01997
01998
01999
02000
02001
02002 xcb_generic_iterator_t
02003 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R );
02004
02005
02006
02007
02008
02009
02010
02011
02012
02013
02014
02015 uint32_t *
02016 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R );
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026
02027
02028 int
02029 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R );
02030
02031
02032
02033
02034
02035
02036
02037
02038
02039
02040
02041 xcb_generic_iterator_t
02042 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R );
02043
02044
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054 uint8_t *
02055 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R );
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067 int
02068 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R );
02069
02070
02071
02072
02073
02074
02075
02076
02077
02078
02079
02080 xcb_generic_iterator_t
02081 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R );
02082
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107
02108
02109 xcb_randr_get_output_info_reply_t *
02110 xcb_randr_get_output_info_reply (xcb_connection_t *c ,
02111 xcb_randr_get_output_info_cookie_t cookie ,
02112 xcb_generic_error_t **e );
02113
02123
02124
02125
02126
02127
02128
02129
02130
02131
02132
02133 xcb_randr_list_output_properties_cookie_t
02134 xcb_randr_list_output_properties (xcb_connection_t *c ,
02135 uint32_t output );
02136
02149
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159 xcb_randr_list_output_properties_cookie_t
02160 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c ,
02161 uint32_t output );
02162
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172
02173 xcb_atom_t *
02174 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R );
02175
02176
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186 int
02187 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R );
02188
02189
02190
02191
02192
02193
02194
02195
02196
02197
02198
02199 xcb_atom_iterator_t
02200 xcb_randr_list_output_properties_atoms_iterator (const xcb_randr_list_output_properties_reply_t *R );
02201
02217
02218
02219
02220
02221
02222
02223
02224
02225
02226
02227
02228 xcb_randr_list_output_properties_reply_t *
02229 xcb_randr_list_output_properties_reply (xcb_connection_t *c ,
02230 xcb_randr_list_output_properties_cookie_t cookie ,
02231 xcb_generic_error_t **e );
02232
02242
02243
02244
02245
02246
02247
02248
02249
02250
02251
02252
02253 xcb_randr_query_output_property_cookie_t
02254 xcb_randr_query_output_property (xcb_connection_t *c ,
02255 uint32_t output ,
02256 xcb_atom_t property );
02257
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281 xcb_randr_query_output_property_cookie_t
02282 xcb_randr_query_output_property_unchecked (xcb_connection_t *c ,
02283 uint32_t output ,
02284 xcb_atom_t property );
02285
02286
02287
02288
02289
02290
02291
02292
02293
02294
02295
02296 int32_t *
02297 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R );
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308
02309 int
02310 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R );
02311
02312
02313
02314
02315
02316
02317
02318
02319
02320
02321
02322 xcb_generic_iterator_t
02323 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R );
02324
02340
02341
02342
02343
02344
02345
02346
02347
02348
02349
02350
02351 xcb_randr_query_output_property_reply_t *
02352 xcb_randr_query_output_property_reply (xcb_connection_t *c ,
02353 xcb_randr_query_output_property_cookie_t cookie ,
02354 xcb_generic_error_t **e );
02355
02368
02369
02370
02371
02372
02373
02374
02375
02376
02377
02378
02379
02380
02381 xcb_void_cookie_t
02382 xcb_randr_configure_output_property_checked (xcb_connection_t *c ,
02383 uint32_t output ,
02384 xcb_atom_t property ,
02385 uint8_t pending ,
02386 uint8_t range );
02387
02397
02398
02399
02400
02401
02402
02403
02404
02405
02406
02407
02408
02409
02410 xcb_void_cookie_t
02411 xcb_randr_configure_output_property (xcb_connection_t *c ,
02412 uint32_t output ,
02413 xcb_atom_t property ,
02414 uint8_t pending ,
02415 uint8_t range );
02416
02429
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440
02441
02442
02443
02444 xcb_void_cookie_t
02445 xcb_randr_change_output_property_checked (xcb_connection_t *c ,
02446 uint32_t output ,
02447 xcb_atom_t property ,
02448 xcb_atom_t type ,
02449 uint8_t format ,
02450 uint8_t mode ,
02451 uint32_t num_units );
02452
02462
02463
02464
02465
02466
02467
02468
02469
02470
02471
02472
02473
02474
02475
02476
02477 xcb_void_cookie_t
02478 xcb_randr_change_output_property (xcb_connection_t *c ,
02479 uint32_t output ,
02480 xcb_atom_t property ,
02481 xcb_atom_t type ,
02482 uint8_t format ,
02483 uint8_t mode ,
02484 uint32_t num_units );
02485
02498
02499
02500
02501
02502
02503
02504
02505
02506
02507
02508
02509 xcb_void_cookie_t
02510 xcb_randr_delete_output_property_checked (xcb_connection_t *c ,
02511 uint32_t output ,
02512 xcb_atom_t property );
02513
02523
02524
02525
02526
02527
02528
02529
02530
02531
02532
02533
02534 xcb_void_cookie_t
02535 xcb_randr_delete_output_property (xcb_connection_t *c ,
02536 uint32_t output ,
02537 xcb_atom_t property );
02538
02548
02549
02550
02551
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561
02562
02563
02564 xcb_randr_get_output_property_cookie_t
02565 xcb_randr_get_output_property (xcb_connection_t *c ,
02566 uint32_t output ,
02567 xcb_atom_t property ,
02568 xcb_atom_t type ,
02569 uint32_t long_offset ,
02570 uint32_t long_length ,
02571 uint8_t _delete ,
02572 uint8_t pending );
02573
02586
02587
02588
02589
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600
02601
02602 xcb_randr_get_output_property_cookie_t
02603 xcb_randr_get_output_property_unchecked (xcb_connection_t *c ,
02604 uint32_t output ,
02605 xcb_atom_t property ,
02606 xcb_atom_t type ,
02607 uint32_t long_offset ,
02608 uint32_t long_length ,
02609 uint8_t _delete ,
02610 uint8_t pending );
02611
02612
02613
02614
02615
02616
02617
02618
02619
02620
02621
02622 uint8_t *
02623 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R );
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635 int
02636 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R );
02637
02638
02639
02640
02641
02642
02643
02644
02645
02646
02647
02648 xcb_generic_iterator_t
02649 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R );
02650
02666
02667
02668
02669
02670
02671
02672
02673
02674
02675
02676
02677 xcb_randr_get_output_property_reply_t *
02678 xcb_randr_get_output_property_reply (xcb_connection_t *c ,
02679 xcb_randr_get_output_property_cookie_t cookie ,
02680 xcb_generic_error_t **e );
02681
02691
02692
02693
02694
02695
02696
02697
02698
02699
02700
02701
02702 xcb_randr_create_mode_cookie_t
02703 xcb_randr_create_mode (xcb_connection_t *c ,
02704 xcb_window_t window ,
02705 xcb_randr_mode_info_t mode_info );
02706
02719
02720
02721
02722
02723
02724
02725
02726
02727
02728
02729
02730 xcb_randr_create_mode_cookie_t
02731 xcb_randr_create_mode_unchecked (xcb_connection_t *c ,
02732 xcb_window_t window ,
02733 xcb_randr_mode_info_t mode_info );
02734
02750
02751
02752
02753
02754
02755
02756
02757
02758
02759
02760
02761 xcb_randr_create_mode_reply_t *
02762 xcb_randr_create_mode_reply (xcb_connection_t *c ,
02763 xcb_randr_create_mode_cookie_t cookie ,
02764 xcb_generic_error_t **e );
02765
02778
02779
02780
02781
02782
02783
02784
02785
02786
02787
02788 xcb_void_cookie_t
02789 xcb_randr_destroy_mode_checked (xcb_connection_t *c ,
02790 uint32_t mode );
02791
02801
02802
02803
02804
02805
02806
02807
02808
02809
02810
02811 xcb_void_cookie_t
02812 xcb_randr_destroy_mode (xcb_connection_t *c ,
02813 uint32_t mode );
02814
02827
02828
02829
02830
02831
02832
02833
02834
02835
02836
02837
02838 xcb_void_cookie_t
02839 xcb_randr_add_output_mode_checked (xcb_connection_t *c ,
02840 uint32_t output ,
02841 uint32_t mode );
02842
02852
02853
02854
02855
02856
02857
02858
02859
02860
02861
02862
02863 xcb_void_cookie_t
02864 xcb_randr_add_output_mode (xcb_connection_t *c ,
02865 uint32_t output ,
02866 uint32_t mode );
02867
02880
02881
02882
02883
02884
02885
02886
02887
02888
02889
02890
02891 xcb_void_cookie_t
02892 xcb_randr_delete_output_mode_checked (xcb_connection_t *c ,
02893 uint32_t output ,
02894 uint32_t mode );
02895
02905
02906
02907
02908
02909
02910
02911
02912
02913
02914
02915
02916 xcb_void_cookie_t
02917 xcb_randr_delete_output_mode (xcb_connection_t *c ,
02918 uint32_t output ,
02919 uint32_t mode );
02920
02930
02931
02932
02933
02934
02935
02936
02937
02938
02939
02940
02941 xcb_randr_get_crtc_info_cookie_t
02942 xcb_randr_get_crtc_info (xcb_connection_t *c ,
02943 uint32_t crtc ,
02944 xcb_timestamp_t config_timestamp );
02945
02958
02959
02960
02961
02962
02963
02964
02965
02966
02967
02968
02969 xcb_randr_get_crtc_info_cookie_t
02970 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c ,
02971 uint32_t crtc ,
02972 xcb_timestamp_t config_timestamp );
02973
02974
02975
02976
02977
02978
02979
02980
02981
02982
02983
02984 uint32_t *
02985 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R );
02986
02987
02988
02989
02990
02991
02992
02993
02994
02995
02996
02997 int
02998 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R );
02999
03000
03001
03002
03003
03004
03005
03006
03007
03008
03009
03010 xcb_generic_iterator_t
03011 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R );
03012
03028
03029
03030
03031
03032
03033
03034
03035
03036
03037
03038
03039 xcb_randr_get_crtc_info_reply_t *
03040 xcb_randr_get_crtc_info_reply (xcb_connection_t *c ,
03041 xcb_randr_get_crtc_info_cookie_t cookie ,
03042 xcb_generic_error_t **e );
03043
03053
03054
03055
03056
03057
03058
03059
03060
03061
03062
03063
03064
03065
03066
03067
03068
03069 xcb_randr_set_crtc_config_cookie_t
03070 xcb_randr_set_crtc_config (xcb_connection_t *c ,
03071 uint32_t crtc ,
03072 xcb_timestamp_t timestamp ,
03073 xcb_timestamp_t config_timestamp ,
03074 int16_t x ,
03075 int16_t y ,
03076 uint32_t mode ,
03077 uint16_t rotation );
03078
03091
03092
03093
03094
03095
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105
03106
03107 xcb_randr_set_crtc_config_cookie_t
03108 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c ,
03109 uint32_t crtc ,
03110 xcb_timestamp_t timestamp ,
03111 xcb_timestamp_t config_timestamp ,
03112 int16_t x ,
03113 int16_t y ,
03114 uint32_t mode ,
03115 uint16_t rotation );
03116
03132
03133
03134
03135
03136
03137
03138
03139
03140
03141
03142
03143 xcb_randr_set_crtc_config_reply_t *
03144 xcb_randr_set_crtc_config_reply (xcb_connection_t *c ,
03145 xcb_randr_set_crtc_config_cookie_t cookie ,
03146 xcb_generic_error_t **e );
03147
03157
03158
03159
03160
03161
03162
03163
03164
03165
03166
03167 xcb_randr_get_crtc_gamma_size_cookie_t
03168 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c ,
03169 uint32_t crtc );
03170
03183
03184
03185
03186
03187
03188
03189
03190
03191
03192
03193 xcb_randr_get_crtc_gamma_size_cookie_t
03194 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c ,
03195 uint32_t crtc );
03196
03212
03213
03214
03215
03216
03217
03218
03219
03220
03221
03222
03223 xcb_randr_get_crtc_gamma_size_reply_t *
03224 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c ,
03225 xcb_randr_get_crtc_gamma_size_cookie_t cookie ,
03226 xcb_generic_error_t **e );
03227
03237
03238
03239
03240
03241
03242
03243
03244
03245
03246
03247 xcb_randr_get_crtc_gamma_cookie_t
03248 xcb_randr_get_crtc_gamma (xcb_connection_t *c ,
03249 uint32_t crtc );
03250
03263
03264
03265
03266
03267
03268
03269
03270
03271
03272
03273 xcb_randr_get_crtc_gamma_cookie_t
03274 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c ,
03275 uint32_t crtc );
03276
03277
03278
03279
03280
03281
03282
03283
03284
03285
03286
03287 uint16_t *
03288 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R );
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300 int
03301 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313 xcb_generic_iterator_t
03314 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03315
03316
03317
03318
03319
03320
03321
03322
03323
03324
03325
03326 uint16_t *
03327 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R );
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339 int
03340 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351
03352 xcb_generic_iterator_t
03353 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03354
03355
03356
03357
03358
03359
03360
03361
03362
03363
03364
03365 uint16_t *
03366 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R );
03367
03368
03369
03370
03371
03372
03373
03374
03375
03376
03377
03378 int
03379 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R );
03380
03381
03382
03383
03384
03385
03386
03387
03388
03389
03390
03391 xcb_generic_iterator_t
03392 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R );
03393
03409
03410
03411
03412
03413
03414
03415
03416
03417
03418
03419
03420 xcb_randr_get_crtc_gamma_reply_t *
03421 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c ,
03422 xcb_randr_get_crtc_gamma_cookie_t cookie ,
03423 xcb_generic_error_t **e );
03424
03437
03438
03439
03440
03441
03442
03443
03444
03445
03446
03447
03448
03449
03450
03451 xcb_void_cookie_t
03452 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c ,
03453 uint32_t crtc ,
03454 uint16_t size ,
03455 const uint16_t *red ,
03456 const uint16_t *green ,
03457 const uint16_t *blue );
03458
03468
03469
03470
03471
03472
03473
03474
03475
03476
03477
03478
03479
03480
03481
03482 xcb_void_cookie_t
03483 xcb_randr_set_crtc_gamma (xcb_connection_t *c ,
03484 uint32_t crtc ,
03485 uint16_t size ,
03486 const uint16_t *red ,
03487 const uint16_t *green ,
03488 const uint16_t *blue );
03489
03499
03500
03501
03502
03503
03504
03505
03506
03507
03508 void
03509 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i );
03510
03521
03522
03523
03524
03525
03526
03527
03528
03529
03530 xcb_generic_iterator_t
03531 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i );
03532
03542
03543
03544
03545
03546
03547
03548
03549
03550
03551 void
03552 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i );
03553
03564
03565
03566
03567
03568
03569
03570
03571
03572
03573 xcb_generic_iterator_t
03574 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i );
03575
03585
03586
03587
03588
03589
03590
03591
03592
03593
03594 void
03595 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i );
03596
03607
03608
03609
03610
03611
03612
03613
03614
03615
03616 xcb_generic_iterator_t
03617 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i );
03618
03628
03629
03630
03631
03632
03633
03634
03635
03636
03637 void
03638 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i );
03639
03650
03651
03652
03653
03654
03655
03656
03657
03658
03659 xcb_generic_iterator_t
03660 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i );
03661
03662
03663 #endif
03664