23 #define XCB_RANDR_MAJOR_VERSION 1
24 #define XCB_RANDR_MINOR_VERSION 3
28 typedef uint32_t xcb_randr_mode_t;
39 typedef uint32_t xcb_randr_crtc_t;
50 typedef uint32_t xcb_randr_output_t;
62 #define XCB_RANDR_BAD_OUTPUT 0
74 #define XCB_RANDR_BAD_CRTC 1
86 #define XCB_RANDR_BAD_MODE 2
97 typedef enum xcb_randr_rotation_t {
98 XCB_RANDR_ROTATION_ROTATE_0 = 1,
99 XCB_RANDR_ROTATION_ROTATE_90 = 2,
100 XCB_RANDR_ROTATION_ROTATE_180 = 4,
101 XCB_RANDR_ROTATION_ROTATE_270 = 8,
102 XCB_RANDR_ROTATION_REFLECT_X = 16,
103 XCB_RANDR_ROTATION_REFLECT_Y = 32
104 } xcb_randr_rotation_t;
149 #define XCB_RANDR_QUERY_VERSION 0
175 typedef enum xcb_randr_set_config_t {
176 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
177 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
178 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
179 XCB_RANDR_SET_CONFIG_FAILED = 3
180 } xcb_randr_set_config_t;
190 #define XCB_RANDR_SET_SCREEN_CONFIG 2
223 typedef enum xcb_randr_notify_mask_t {
224 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
225 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
226 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
227 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8
228 } xcb_randr_notify_mask_t;
231 #define XCB_RANDR_SELECT_INPUT 4
253 #define XCB_RANDR_GET_SCREEN_INFO 5
292 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
320 #define XCB_RANDR_SET_SCREEN_SIZE 7
336 typedef enum xcb_randr_mode_flag_t {
337 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
338 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
339 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
340 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
341 XCB_RANDR_MODE_FLAG_INTERLACE = 16,
342 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
343 XCB_RANDR_MODE_FLAG_CSYNC = 64,
344 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
345 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
346 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
347 XCB_RANDR_MODE_FLAG_BCAST = 1024,
348 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
349 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
350 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
351 } xcb_randr_mode_flag_t;
389 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
418 typedef enum xcb_randr_connection_t {
419 XCB_RANDR_CONNECTION_CONNECTED,
420 XCB_RANDR_CONNECTION_DISCONNECTED,
421 XCB_RANDR_CONNECTION_UNKNOWN
422 } xcb_randr_connection_t;
432 #define XCB_RANDR_GET_OUTPUT_INFO 9
474 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
506 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
534 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
551 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
570 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
591 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
632 #define XCB_RANDR_CREATE_MODE 16
658 #define XCB_RANDR_DESTROY_MODE 17
671 #define XCB_RANDR_ADD_OUTPUT_MODE 18
685 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
706 #define XCB_RANDR_GET_CRTC_INFO 20
747 #define XCB_RANDR_SET_CRTC_CONFIG 21
786 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
818 #define XCB_RANDR_GET_CRTC_GAMMA 23
843 #define XCB_RANDR_SET_CRTC_GAMMA 24
865 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25
895 #define XCB_RANDR_SET_CRTC_TRANSFORM 26
918 #define XCB_RANDR_GET_CRTC_TRANSFORM 27
957 #define XCB_RANDR_GET_PANNING 28
1000 #define XCB_RANDR_SET_PANNING 29
1037 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30
1058 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31
1082 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
1103 typedef enum xcb_randr_notify_t {
1104 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
1105 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
1106 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2
1107 } xcb_randr_notify_t;
1198 #define XCB_RANDR_NOTIFY 1
1383 xcb_randr_refresh_rates_sizeof (
const void *_buffer );
1489 uint32_t major_version ,
1490 uint32_t minor_version );
1517 uint32_t major_version ,
1518 uint32_t minor_version );
1577 xcb_window_t window ,
1578 xcb_timestamp_t timestamp ,
1579 xcb_timestamp_t config_timestamp ,
1613 xcb_window_t window ,
1614 xcb_timestamp_t timestamp ,
1615 xcb_timestamp_t config_timestamp ,
1676 xcb_window_t window ,
1701 xcb_window_t window ,
1705 xcb_randr_get_screen_info_sizeof (
const void *_buffer );
1728 xcb_window_t window );
1754 xcb_window_t window );
1873 xcb_window_t window );
1899 xcb_window_t window );
1960 xcb_window_t window ,
1964 uint32_t mm_height );
1991 xcb_window_t window ,
1995 uint32_t mm_height );
2041 xcb_randr_get_screen_resources_sizeof (
const void *_buffer );
2064 xcb_window_t window );
2090 xcb_window_t window );
2141 xcb_randr_output_t *
2280 xcb_randr_get_output_info_sizeof (
const void *_buffer );
2304 xcb_randr_output_t output ,
2305 xcb_timestamp_t config_timestamp );
2332 xcb_randr_output_t output ,
2333 xcb_timestamp_t config_timestamp );
2423 xcb_randr_output_t *
2523 xcb_randr_list_output_properties_sizeof (
const void *_buffer );
2546 xcb_randr_output_t output );
2572 xcb_randr_output_t output );
2645 xcb_randr_query_output_property_sizeof (
const void *_buffer );
2669 xcb_randr_output_t output ,
2670 xcb_atom_t property );
2697 xcb_randr_output_t output ,
2698 xcb_atom_t property );
2771 xcb_randr_configure_output_property_sizeof (
const void *_buffer ,
2772 uint32_t values_len );
2803 xcb_randr_output_t output ,
2804 xcb_atom_t property ,
2807 uint32_t values_len ,
2808 const int32_t *values );
2836 xcb_randr_output_t output ,
2837 xcb_atom_t property ,
2840 uint32_t values_len ,
2841 const int32_t *values );
2844 xcb_randr_change_output_property_sizeof (
const void *_buffer );
2876 xcb_randr_output_t output ,
2877 xcb_atom_t property ,
2881 uint32_t num_units ,
2911 xcb_randr_output_t output ,
2912 xcb_atom_t property ,
2916 uint32_t num_units ,
2944 xcb_randr_output_t output ,
2945 xcb_atom_t property );
2969 xcb_randr_output_t output ,
2970 xcb_atom_t property );
2973 xcb_randr_get_output_property_sizeof (
const void *_buffer );
3002 xcb_randr_output_t output ,
3003 xcb_atom_t property ,
3005 uint32_t long_offset ,
3006 uint32_t long_length ,
3040 xcb_randr_output_t output ,
3041 xcb_atom_t property ,
3043 uint32_t long_offset ,
3044 uint32_t long_length ,
3119 xcb_randr_create_mode_sizeof (
const void *_buffer ,
3120 uint32_t name_len );
3146 xcb_window_t window ,
3178 xcb_window_t window ,
3238 xcb_randr_mode_t mode );
3261 xcb_randr_mode_t mode );
3288 xcb_randr_output_t output ,
3289 xcb_randr_mode_t mode );
3313 xcb_randr_output_t output ,
3314 xcb_randr_mode_t mode );
3341 xcb_randr_output_t output ,
3342 xcb_randr_mode_t mode );
3366 xcb_randr_output_t output ,
3367 xcb_randr_mode_t mode );
3370 xcb_randr_get_crtc_info_sizeof (
const void *_buffer );
3394 xcb_randr_crtc_t crtc ,
3395 xcb_timestamp_t config_timestamp );
3422 xcb_randr_crtc_t crtc ,
3423 xcb_timestamp_t config_timestamp );
3435 xcb_randr_output_t *
3474 xcb_randr_output_t *
3535 xcb_randr_set_crtc_config_sizeof (
const void *_buffer ,
3536 uint32_t outputs_len );
3567 xcb_randr_crtc_t crtc ,
3568 xcb_timestamp_t timestamp ,
3569 xcb_timestamp_t config_timestamp ,
3572 xcb_randr_mode_t mode ,
3574 uint32_t outputs_len ,
3575 const xcb_randr_output_t *outputs );
3609 xcb_randr_crtc_t crtc ,
3610 xcb_timestamp_t timestamp ,
3611 xcb_timestamp_t config_timestamp ,
3614 xcb_randr_mode_t mode ,
3616 uint32_t outputs_len ,
3617 const xcb_randr_output_t *outputs );
3671 xcb_randr_crtc_t crtc );
3697 xcb_randr_crtc_t crtc );
3731 xcb_randr_get_crtc_gamma_sizeof (
const void *_buffer );
3754 xcb_randr_crtc_t crtc );
3780 xcb_randr_crtc_t crtc );
3931 xcb_randr_set_crtc_gamma_sizeof (
const void *_buffer );
3961 xcb_randr_crtc_t crtc ,
3963 const uint16_t *red ,
3964 const uint16_t *green ,
3965 const uint16_t *blue );
3992 xcb_randr_crtc_t crtc ,
3994 const uint16_t *red ,
3995 const uint16_t *green ,
3996 const uint16_t *blue );
3999 xcb_randr_get_screen_resources_current_sizeof (
const void *_buffer );
4022 xcb_window_t window );
4048 xcb_window_t window );
4099 xcb_randr_output_t *
4238 xcb_randr_set_crtc_transform_sizeof (
const void *_buffer ,
4239 uint32_t filter_params_len );
4270 xcb_randr_crtc_t crtc ,
4272 uint16_t filter_len ,
4273 const char *filter_name ,
4274 uint32_t filter_params_len ,
4275 const xcb_render_fixed_t *filter_params );
4303 xcb_randr_crtc_t crtc ,
4305 uint16_t filter_len ,
4306 const char *filter_name ,
4307 uint32_t filter_params_len ,
4308 const xcb_render_fixed_t *filter_params );
4311 xcb_randr_get_crtc_transform_sizeof (
const void *_buffer );
4334 xcb_randr_crtc_t crtc );
4360 xcb_randr_crtc_t crtc );
4411 xcb_render_fixed_t *
4489 xcb_render_fixed_t *
4570 xcb_randr_crtc_t crtc );
4596 xcb_randr_crtc_t crtc );
4663 xcb_randr_crtc_t crtc ,
4664 xcb_timestamp_t timestamp ,
4669 uint16_t track_left ,
4670 uint16_t track_top ,
4671 uint16_t track_width ,
4672 uint16_t track_height ,
4673 int16_t border_left ,
4674 int16_t border_top ,
4675 int16_t border_right ,
4676 int16_t border_bottom );
4715 xcb_randr_crtc_t crtc ,
4716 xcb_timestamp_t timestamp ,
4721 uint16_t track_left ,
4722 uint16_t track_top ,
4723 uint16_t track_width ,
4724 uint16_t track_height ,
4725 int16_t border_left ,
4726 int16_t border_top ,
4727 int16_t border_right ,
4728 int16_t border_bottom );
4786 xcb_window_t window ,
4787 xcb_randr_output_t output );
4811 xcb_window_t window ,
4812 xcb_randr_output_t output );
4835 xcb_window_t window );
4861 xcb_window_t window );