XCB 1.8.1
|
00001 /* 00002 * This file generated automatically from sync.xml by c_client.py. 00003 * Edit at your peril. 00004 */ 00005 00012 #ifndef __SYNC_H 00013 #define __SYNC_H 00014 00015 #include "xcb.h" 00016 #include "xproto.h" 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00022 #define XCB_SYNC_MAJOR_VERSION 3 00023 #define XCB_SYNC_MINOR_VERSION 1 00024 00025 extern xcb_extension_t xcb_sync_id; 00026 00027 typedef uint32_t xcb_sync_alarm_t; 00028 00032 typedef struct xcb_sync_alarm_iterator_t { 00033 xcb_sync_alarm_t *data; 00034 int rem; 00035 int index; 00036 } xcb_sync_alarm_iterator_t; 00037 00038 typedef enum xcb_sync_alarmstate_t { 00039 XCB_SYNC_ALARMSTATE_ACTIVE, 00040 XCB_SYNC_ALARMSTATE_INACTIVE, 00041 XCB_SYNC_ALARMSTATE_DESTROYED 00042 } xcb_sync_alarmstate_t; 00043 00044 typedef uint32_t xcb_sync_counter_t; 00045 00049 typedef struct xcb_sync_counter_iterator_t { 00050 xcb_sync_counter_t *data; 00051 int rem; 00052 int index; 00053 } xcb_sync_counter_iterator_t; 00054 00055 typedef uint32_t xcb_sync_fence_t; 00056 00060 typedef struct xcb_sync_fence_iterator_t { 00061 xcb_sync_fence_t *data; 00062 int rem; 00063 int index; 00064 } xcb_sync_fence_iterator_t; 00065 00066 typedef enum xcb_sync_testtype_t { 00067 XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION, 00068 XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION, 00069 XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON, 00070 XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON 00071 } xcb_sync_testtype_t; 00072 00073 typedef enum xcb_sync_valuetype_t { 00074 XCB_SYNC_VALUETYPE_ABSOLUTE, 00075 XCB_SYNC_VALUETYPE_RELATIVE 00076 } xcb_sync_valuetype_t; 00077 00078 typedef enum xcb_sync_ca_t { 00079 XCB_SYNC_CA_COUNTER = 1, 00080 XCB_SYNC_CA_VALUE_TYPE = 2, 00081 XCB_SYNC_CA_VALUE = 4, 00082 XCB_SYNC_CA_TEST_TYPE = 8, 00083 XCB_SYNC_CA_DELTA = 16, 00084 XCB_SYNC_CA_EVENTS = 32 00085 } xcb_sync_ca_t; 00086 00090 typedef struct xcb_sync_int64_t { 00091 int32_t hi; 00092 uint32_t lo; 00093 } xcb_sync_int64_t; 00094 00098 typedef struct xcb_sync_int64_iterator_t { 00099 xcb_sync_int64_t *data; 00100 int rem; 00101 int index; 00102 } xcb_sync_int64_iterator_t; 00103 00107 typedef struct xcb_sync_systemcounter_t { 00108 xcb_sync_counter_t counter; 00109 xcb_sync_int64_t resolution; 00110 uint16_t name_len; 00111 } xcb_sync_systemcounter_t; 00112 00116 typedef struct xcb_sync_systemcounter_iterator_t { 00117 xcb_sync_systemcounter_t *data; 00118 int rem; 00119 int index; 00120 } xcb_sync_systemcounter_iterator_t; 00121 00125 typedef struct xcb_sync_trigger_t { 00126 xcb_sync_counter_t counter; 00127 uint32_t wait_type; 00128 xcb_sync_int64_t wait_value; 00129 uint32_t test_type; 00130 } xcb_sync_trigger_t; 00131 00135 typedef struct xcb_sync_trigger_iterator_t { 00136 xcb_sync_trigger_t *data; 00137 int rem; 00138 int index; 00139 } xcb_sync_trigger_iterator_t; 00140 00144 typedef struct xcb_sync_waitcondition_t { 00145 xcb_sync_trigger_t trigger; 00146 xcb_sync_int64_t event_threshold; 00147 } xcb_sync_waitcondition_t; 00148 00152 typedef struct xcb_sync_waitcondition_iterator_t { 00153 xcb_sync_waitcondition_t *data; 00154 int rem; 00155 int index; 00156 } xcb_sync_waitcondition_iterator_t; 00157 00159 #define XCB_SYNC_COUNTER 0 00160 00164 typedef struct xcb_sync_counter_error_t { 00165 uint8_t response_type; 00166 uint8_t error_code; 00167 uint16_t sequence; 00168 uint32_t bad_counter; 00169 uint16_t minor_opcode; 00170 uint8_t major_opcode; 00171 } xcb_sync_counter_error_t; 00172 00174 #define XCB_SYNC_ALARM 1 00175 00179 typedef struct xcb_sync_alarm_error_t { 00180 uint8_t response_type; 00181 uint8_t error_code; 00182 uint16_t sequence; 00183 uint32_t bad_alarm; 00184 uint16_t minor_opcode; 00185 uint8_t major_opcode; 00186 } xcb_sync_alarm_error_t; 00187 00191 typedef struct xcb_sync_initialize_cookie_t { 00192 unsigned int sequence; 00193 } xcb_sync_initialize_cookie_t; 00194 00196 #define XCB_SYNC_INITIALIZE 0 00197 00201 typedef struct xcb_sync_initialize_request_t { 00202 uint8_t major_opcode; 00203 uint8_t minor_opcode; 00204 uint16_t length; 00205 uint8_t desired_major_version; 00206 uint8_t desired_minor_version; 00207 } xcb_sync_initialize_request_t; 00208 00212 typedef struct xcb_sync_initialize_reply_t { 00213 uint8_t response_type; 00214 uint8_t pad0; 00215 uint16_t sequence; 00216 uint32_t length; 00217 uint8_t major_version; 00218 uint8_t minor_version; 00219 uint8_t pad1[22]; 00220 } xcb_sync_initialize_reply_t; 00221 00225 typedef struct xcb_sync_list_system_counters_cookie_t { 00226 unsigned int sequence; 00227 } xcb_sync_list_system_counters_cookie_t; 00228 00230 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1 00231 00235 typedef struct xcb_sync_list_system_counters_request_t { 00236 uint8_t major_opcode; 00237 uint8_t minor_opcode; 00238 uint16_t length; 00239 } xcb_sync_list_system_counters_request_t; 00240 00244 typedef struct xcb_sync_list_system_counters_reply_t { 00245 uint8_t response_type; 00246 uint8_t pad0; 00247 uint16_t sequence; 00248 uint32_t length; 00249 uint32_t counters_len; 00250 uint8_t pad1[20]; 00251 } xcb_sync_list_system_counters_reply_t; 00252 00254 #define XCB_SYNC_CREATE_COUNTER 2 00255 00259 typedef struct xcb_sync_create_counter_request_t { 00260 uint8_t major_opcode; 00261 uint8_t minor_opcode; 00262 uint16_t length; 00263 xcb_sync_counter_t id; 00264 xcb_sync_int64_t initial_value; 00265 } xcb_sync_create_counter_request_t; 00266 00268 #define XCB_SYNC_DESTROY_COUNTER 6 00269 00273 typedef struct xcb_sync_destroy_counter_request_t { 00274 uint8_t major_opcode; 00275 uint8_t minor_opcode; 00276 uint16_t length; 00277 xcb_sync_counter_t counter; 00278 } xcb_sync_destroy_counter_request_t; 00279 00283 typedef struct xcb_sync_query_counter_cookie_t { 00284 unsigned int sequence; 00285 } xcb_sync_query_counter_cookie_t; 00286 00288 #define XCB_SYNC_QUERY_COUNTER 5 00289 00293 typedef struct xcb_sync_query_counter_request_t { 00294 uint8_t major_opcode; 00295 uint8_t minor_opcode; 00296 uint16_t length; 00297 xcb_sync_counter_t counter; 00298 } xcb_sync_query_counter_request_t; 00299 00303 typedef struct xcb_sync_query_counter_reply_t { 00304 uint8_t response_type; 00305 uint8_t pad0; 00306 uint16_t sequence; 00307 uint32_t length; 00308 xcb_sync_int64_t counter_value; 00309 } xcb_sync_query_counter_reply_t; 00310 00312 #define XCB_SYNC_AWAIT 7 00313 00317 typedef struct xcb_sync_await_request_t { 00318 uint8_t major_opcode; 00319 uint8_t minor_opcode; 00320 uint16_t length; 00321 } xcb_sync_await_request_t; 00322 00324 #define XCB_SYNC_CHANGE_COUNTER 4 00325 00329 typedef struct xcb_sync_change_counter_request_t { 00330 uint8_t major_opcode; 00331 uint8_t minor_opcode; 00332 uint16_t length; 00333 xcb_sync_counter_t counter; 00334 xcb_sync_int64_t amount; 00335 } xcb_sync_change_counter_request_t; 00336 00338 #define XCB_SYNC_SET_COUNTER 3 00339 00343 typedef struct xcb_sync_set_counter_request_t { 00344 uint8_t major_opcode; 00345 uint8_t minor_opcode; 00346 uint16_t length; 00347 xcb_sync_counter_t counter; 00348 xcb_sync_int64_t value; 00349 } xcb_sync_set_counter_request_t; 00350 00352 #define XCB_SYNC_CREATE_ALARM 8 00353 00357 typedef struct xcb_sync_create_alarm_request_t { 00358 uint8_t major_opcode; 00359 uint8_t minor_opcode; 00360 uint16_t length; 00361 xcb_sync_alarm_t id; 00362 uint32_t value_mask; 00363 } xcb_sync_create_alarm_request_t; 00364 00366 #define XCB_SYNC_CHANGE_ALARM 9 00367 00371 typedef struct xcb_sync_change_alarm_request_t { 00372 uint8_t major_opcode; 00373 uint8_t minor_opcode; 00374 uint16_t length; 00375 xcb_sync_alarm_t id; 00376 uint32_t value_mask; 00377 } xcb_sync_change_alarm_request_t; 00378 00380 #define XCB_SYNC_DESTROY_ALARM 11 00381 00385 typedef struct xcb_sync_destroy_alarm_request_t { 00386 uint8_t major_opcode; 00387 uint8_t minor_opcode; 00388 uint16_t length; 00389 xcb_sync_alarm_t alarm; 00390 } xcb_sync_destroy_alarm_request_t; 00391 00395 typedef struct xcb_sync_query_alarm_cookie_t { 00396 unsigned int sequence; 00397 } xcb_sync_query_alarm_cookie_t; 00398 00400 #define XCB_SYNC_QUERY_ALARM 10 00401 00405 typedef struct xcb_sync_query_alarm_request_t { 00406 uint8_t major_opcode; 00407 uint8_t minor_opcode; 00408 uint16_t length; 00409 xcb_sync_alarm_t alarm; 00410 } xcb_sync_query_alarm_request_t; 00411 00415 typedef struct xcb_sync_query_alarm_reply_t { 00416 uint8_t response_type; 00417 uint8_t pad0; 00418 uint16_t sequence; 00419 uint32_t length; 00420 xcb_sync_trigger_t trigger; 00421 xcb_sync_int64_t delta; 00422 uint8_t events; 00423 uint8_t state; 00424 uint8_t pad1[2]; 00425 } xcb_sync_query_alarm_reply_t; 00426 00428 #define XCB_SYNC_SET_PRIORITY 12 00429 00433 typedef struct xcb_sync_set_priority_request_t { 00434 uint8_t major_opcode; 00435 uint8_t minor_opcode; 00436 uint16_t length; 00437 uint32_t id; 00438 int32_t priority; 00439 } xcb_sync_set_priority_request_t; 00440 00444 typedef struct xcb_sync_get_priority_cookie_t { 00445 unsigned int sequence; 00446 } xcb_sync_get_priority_cookie_t; 00447 00449 #define XCB_SYNC_GET_PRIORITY 13 00450 00454 typedef struct xcb_sync_get_priority_request_t { 00455 uint8_t major_opcode; 00456 uint8_t minor_opcode; 00457 uint16_t length; 00458 uint32_t id; 00459 } xcb_sync_get_priority_request_t; 00460 00464 typedef struct xcb_sync_get_priority_reply_t { 00465 uint8_t response_type; 00466 uint8_t pad0; 00467 uint16_t sequence; 00468 uint32_t length; 00469 int32_t priority; 00470 } xcb_sync_get_priority_reply_t; 00471 00473 #define XCB_SYNC_CREATE_FENCE 14 00474 00478 typedef struct xcb_sync_create_fence_request_t { 00479 uint8_t major_opcode; 00480 uint8_t minor_opcode; 00481 uint16_t length; 00482 xcb_drawable_t drawable; 00483 xcb_sync_fence_t fence; 00484 uint8_t initially_triggered; 00485 } xcb_sync_create_fence_request_t; 00486 00488 #define XCB_SYNC_TRIGGER_FENCE 15 00489 00493 typedef struct xcb_sync_trigger_fence_request_t { 00494 uint8_t major_opcode; 00495 uint8_t minor_opcode; 00496 uint16_t length; 00497 xcb_sync_fence_t fence; 00498 } xcb_sync_trigger_fence_request_t; 00499 00501 #define XCB_SYNC_RESET_FENCE 16 00502 00506 typedef struct xcb_sync_reset_fence_request_t { 00507 uint8_t major_opcode; 00508 uint8_t minor_opcode; 00509 uint16_t length; 00510 xcb_sync_fence_t fence; 00511 } xcb_sync_reset_fence_request_t; 00512 00514 #define XCB_SYNC_DESTROY_FENCE 17 00515 00519 typedef struct xcb_sync_destroy_fence_request_t { 00520 uint8_t major_opcode; 00521 uint8_t minor_opcode; 00522 uint16_t length; 00523 xcb_sync_fence_t fence; 00524 } xcb_sync_destroy_fence_request_t; 00525 00529 typedef struct xcb_sync_query_fence_cookie_t { 00530 unsigned int sequence; 00531 } xcb_sync_query_fence_cookie_t; 00532 00534 #define XCB_SYNC_QUERY_FENCE 18 00535 00539 typedef struct xcb_sync_query_fence_request_t { 00540 uint8_t major_opcode; 00541 uint8_t minor_opcode; 00542 uint16_t length; 00543 xcb_sync_fence_t fence; 00544 } xcb_sync_query_fence_request_t; 00545 00549 typedef struct xcb_sync_query_fence_reply_t { 00550 uint8_t response_type; 00551 uint8_t pad0; 00552 uint16_t sequence; 00553 uint32_t length; 00554 uint8_t triggered; 00555 uint8_t pad1[23]; 00556 } xcb_sync_query_fence_reply_t; 00557 00559 #define XCB_SYNC_AWAIT_FENCE 19 00560 00564 typedef struct xcb_sync_await_fence_request_t { 00565 uint8_t major_opcode; 00566 uint8_t minor_opcode; 00567 uint16_t length; 00568 } xcb_sync_await_fence_request_t; 00569 00571 #define XCB_SYNC_COUNTER_NOTIFY 0 00572 00576 typedef struct xcb_sync_counter_notify_event_t { 00577 uint8_t response_type; 00578 uint8_t kind; 00579 uint16_t sequence; 00580 xcb_sync_counter_t counter; 00581 xcb_sync_int64_t wait_value; 00582 xcb_sync_int64_t counter_value; 00583 xcb_timestamp_t timestamp; 00584 uint16_t count; 00585 uint8_t destroyed; 00586 uint8_t pad0; 00587 } xcb_sync_counter_notify_event_t; 00588 00590 #define XCB_SYNC_ALARM_NOTIFY 1 00591 00595 typedef struct xcb_sync_alarm_notify_event_t { 00596 uint8_t response_type; 00597 uint8_t kind; 00598 uint16_t sequence; 00599 xcb_sync_alarm_t alarm; 00600 xcb_sync_int64_t counter_value; 00601 xcb_sync_int64_t alarm_value; 00602 xcb_timestamp_t timestamp; 00603 uint8_t state; 00604 uint8_t pad0[3]; 00605 } xcb_sync_alarm_notify_event_t; 00606 00616 /***************************************************************************** 00617 ** 00618 ** void xcb_sync_alarm_next 00619 ** 00620 ** @param xcb_sync_alarm_iterator_t *i 00621 ** @returns void 00622 ** 00623 *****************************************************************************/ 00624 00625 void 00626 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i ); 00627 00638 /***************************************************************************** 00639 ** 00640 ** xcb_generic_iterator_t xcb_sync_alarm_end 00641 ** 00642 ** @param xcb_sync_alarm_iterator_t i 00643 ** @returns xcb_generic_iterator_t 00644 ** 00645 *****************************************************************************/ 00646 00647 xcb_generic_iterator_t 00648 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i ); 00649 00659 /***************************************************************************** 00660 ** 00661 ** void xcb_sync_counter_next 00662 ** 00663 ** @param xcb_sync_counter_iterator_t *i 00664 ** @returns void 00665 ** 00666 *****************************************************************************/ 00667 00668 void 00669 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i ); 00670 00681 /***************************************************************************** 00682 ** 00683 ** xcb_generic_iterator_t xcb_sync_counter_end 00684 ** 00685 ** @param xcb_sync_counter_iterator_t i 00686 ** @returns xcb_generic_iterator_t 00687 ** 00688 *****************************************************************************/ 00689 00690 xcb_generic_iterator_t 00691 xcb_sync_counter_end (xcb_sync_counter_iterator_t i ); 00692 00702 /***************************************************************************** 00703 ** 00704 ** void xcb_sync_fence_next 00705 ** 00706 ** @param xcb_sync_fence_iterator_t *i 00707 ** @returns void 00708 ** 00709 *****************************************************************************/ 00710 00711 void 00712 xcb_sync_fence_next (xcb_sync_fence_iterator_t *i ); 00713 00724 /***************************************************************************** 00725 ** 00726 ** xcb_generic_iterator_t xcb_sync_fence_end 00727 ** 00728 ** @param xcb_sync_fence_iterator_t i 00729 ** @returns xcb_generic_iterator_t 00730 ** 00731 *****************************************************************************/ 00732 00733 xcb_generic_iterator_t 00734 xcb_sync_fence_end (xcb_sync_fence_iterator_t i ); 00735 00745 /***************************************************************************** 00746 ** 00747 ** void xcb_sync_int64_next 00748 ** 00749 ** @param xcb_sync_int64_iterator_t *i 00750 ** @returns void 00751 ** 00752 *****************************************************************************/ 00753 00754 void 00755 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i ); 00756 00767 /***************************************************************************** 00768 ** 00769 ** xcb_generic_iterator_t xcb_sync_int64_end 00770 ** 00771 ** @param xcb_sync_int64_iterator_t i 00772 ** @returns xcb_generic_iterator_t 00773 ** 00774 *****************************************************************************/ 00775 00776 xcb_generic_iterator_t 00777 xcb_sync_int64_end (xcb_sync_int64_iterator_t i ); 00778 00779 int 00780 xcb_sync_systemcounter_sizeof (const void *_buffer ); 00781 00782 00783 /***************************************************************************** 00784 ** 00785 ** char * xcb_sync_systemcounter_name 00786 ** 00787 ** @param const xcb_sync_systemcounter_t *R 00788 ** @returns char * 00789 ** 00790 *****************************************************************************/ 00791 00792 char * 00793 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R ); 00794 00795 00796 /***************************************************************************** 00797 ** 00798 ** int xcb_sync_systemcounter_name_length 00799 ** 00800 ** @param const xcb_sync_systemcounter_t *R 00801 ** @returns int 00802 ** 00803 *****************************************************************************/ 00804 00805 int 00806 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R ); 00807 00808 00809 /***************************************************************************** 00810 ** 00811 ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end 00812 ** 00813 ** @param const xcb_sync_systemcounter_t *R 00814 ** @returns xcb_generic_iterator_t 00815 ** 00816 *****************************************************************************/ 00817 00818 xcb_generic_iterator_t 00819 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R ); 00820 00830 /***************************************************************************** 00831 ** 00832 ** void xcb_sync_systemcounter_next 00833 ** 00834 ** @param xcb_sync_systemcounter_iterator_t *i 00835 ** @returns void 00836 ** 00837 *****************************************************************************/ 00838 00839 void 00840 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i ); 00841 00852 /***************************************************************************** 00853 ** 00854 ** xcb_generic_iterator_t xcb_sync_systemcounter_end 00855 ** 00856 ** @param xcb_sync_systemcounter_iterator_t i 00857 ** @returns xcb_generic_iterator_t 00858 ** 00859 *****************************************************************************/ 00860 00861 xcb_generic_iterator_t 00862 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i ); 00863 00873 /***************************************************************************** 00874 ** 00875 ** void xcb_sync_trigger_next 00876 ** 00877 ** @param xcb_sync_trigger_iterator_t *i 00878 ** @returns void 00879 ** 00880 *****************************************************************************/ 00881 00882 void 00883 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i ); 00884 00895 /***************************************************************************** 00896 ** 00897 ** xcb_generic_iterator_t xcb_sync_trigger_end 00898 ** 00899 ** @param xcb_sync_trigger_iterator_t i 00900 ** @returns xcb_generic_iterator_t 00901 ** 00902 *****************************************************************************/ 00903 00904 xcb_generic_iterator_t 00905 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i ); 00906 00916 /***************************************************************************** 00917 ** 00918 ** void xcb_sync_waitcondition_next 00919 ** 00920 ** @param xcb_sync_waitcondition_iterator_t *i 00921 ** @returns void 00922 ** 00923 *****************************************************************************/ 00924 00925 void 00926 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i ); 00927 00938 /***************************************************************************** 00939 ** 00940 ** xcb_generic_iterator_t xcb_sync_waitcondition_end 00941 ** 00942 ** @param xcb_sync_waitcondition_iterator_t i 00943 ** @returns xcb_generic_iterator_t 00944 ** 00945 *****************************************************************************/ 00946 00947 xcb_generic_iterator_t 00948 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i ); 00949 00959 /***************************************************************************** 00960 ** 00961 ** xcb_sync_initialize_cookie_t xcb_sync_initialize 00962 ** 00963 ** @param xcb_connection_t *c 00964 ** @param uint8_t desired_major_version 00965 ** @param uint8_t desired_minor_version 00966 ** @returns xcb_sync_initialize_cookie_t 00967 ** 00968 *****************************************************************************/ 00969 00970 xcb_sync_initialize_cookie_t 00971 xcb_sync_initialize (xcb_connection_t *c , 00972 uint8_t desired_major_version , 00973 uint8_t desired_minor_version ); 00974 00987 /***************************************************************************** 00988 ** 00989 ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked 00990 ** 00991 ** @param xcb_connection_t *c 00992 ** @param uint8_t desired_major_version 00993 ** @param uint8_t desired_minor_version 00994 ** @returns xcb_sync_initialize_cookie_t 00995 ** 00996 *****************************************************************************/ 00997 00998 xcb_sync_initialize_cookie_t 00999 xcb_sync_initialize_unchecked (xcb_connection_t *c , 01000 uint8_t desired_major_version , 01001 uint8_t desired_minor_version ); 01002 01018 /***************************************************************************** 01019 ** 01020 ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply 01021 ** 01022 ** @param xcb_connection_t *c 01023 ** @param xcb_sync_initialize_cookie_t cookie 01024 ** @param xcb_generic_error_t **e 01025 ** @returns xcb_sync_initialize_reply_t * 01026 ** 01027 *****************************************************************************/ 01028 01029 xcb_sync_initialize_reply_t * 01030 xcb_sync_initialize_reply (xcb_connection_t *c , 01031 xcb_sync_initialize_cookie_t cookie , 01032 xcb_generic_error_t **e ); 01033 01034 int 01035 xcb_sync_list_system_counters_sizeof (const void *_buffer ); 01036 01046 /***************************************************************************** 01047 ** 01048 ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters 01049 ** 01050 ** @param xcb_connection_t *c 01051 ** @returns xcb_sync_list_system_counters_cookie_t 01052 ** 01053 *****************************************************************************/ 01054 01055 xcb_sync_list_system_counters_cookie_t 01056 xcb_sync_list_system_counters (xcb_connection_t *c ); 01057 01070 /***************************************************************************** 01071 ** 01072 ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked 01073 ** 01074 ** @param xcb_connection_t *c 01075 ** @returns xcb_sync_list_system_counters_cookie_t 01076 ** 01077 *****************************************************************************/ 01078 01079 xcb_sync_list_system_counters_cookie_t 01080 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c ); 01081 01082 01083 /***************************************************************************** 01084 ** 01085 ** int xcb_sync_list_system_counters_counters_length 01086 ** 01087 ** @param const xcb_sync_list_system_counters_reply_t *R 01088 ** @returns int 01089 ** 01090 *****************************************************************************/ 01091 01092 int 01093 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R ); 01094 01095 01096 /***************************************************************************** 01097 ** 01098 ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator 01099 ** 01100 ** @param const xcb_sync_list_system_counters_reply_t *R 01101 ** @returns xcb_sync_systemcounter_iterator_t 01102 ** 01103 *****************************************************************************/ 01104 01105 xcb_sync_systemcounter_iterator_t 01106 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R ); 01107 01123 /***************************************************************************** 01124 ** 01125 ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply 01126 ** 01127 ** @param xcb_connection_t *c 01128 ** @param xcb_sync_list_system_counters_cookie_t cookie 01129 ** @param xcb_generic_error_t **e 01130 ** @returns xcb_sync_list_system_counters_reply_t * 01131 ** 01132 *****************************************************************************/ 01133 01134 xcb_sync_list_system_counters_reply_t * 01135 xcb_sync_list_system_counters_reply (xcb_connection_t *c , 01136 xcb_sync_list_system_counters_cookie_t cookie , 01137 xcb_generic_error_t **e ); 01138 01151 /***************************************************************************** 01152 ** 01153 ** xcb_void_cookie_t xcb_sync_create_counter_checked 01154 ** 01155 ** @param xcb_connection_t *c 01156 ** @param xcb_sync_counter_t id 01157 ** @param xcb_sync_int64_t initial_value 01158 ** @returns xcb_void_cookie_t 01159 ** 01160 *****************************************************************************/ 01161 01162 xcb_void_cookie_t 01163 xcb_sync_create_counter_checked (xcb_connection_t *c , 01164 xcb_sync_counter_t id , 01165 xcb_sync_int64_t initial_value ); 01166 01176 /***************************************************************************** 01177 ** 01178 ** xcb_void_cookie_t xcb_sync_create_counter 01179 ** 01180 ** @param xcb_connection_t *c 01181 ** @param xcb_sync_counter_t id 01182 ** @param xcb_sync_int64_t initial_value 01183 ** @returns xcb_void_cookie_t 01184 ** 01185 *****************************************************************************/ 01186 01187 xcb_void_cookie_t 01188 xcb_sync_create_counter (xcb_connection_t *c , 01189 xcb_sync_counter_t id , 01190 xcb_sync_int64_t initial_value ); 01191 01204 /***************************************************************************** 01205 ** 01206 ** xcb_void_cookie_t xcb_sync_destroy_counter_checked 01207 ** 01208 ** @param xcb_connection_t *c 01209 ** @param xcb_sync_counter_t counter 01210 ** @returns xcb_void_cookie_t 01211 ** 01212 *****************************************************************************/ 01213 01214 xcb_void_cookie_t 01215 xcb_sync_destroy_counter_checked (xcb_connection_t *c , 01216 xcb_sync_counter_t counter ); 01217 01227 /***************************************************************************** 01228 ** 01229 ** xcb_void_cookie_t xcb_sync_destroy_counter 01230 ** 01231 ** @param xcb_connection_t *c 01232 ** @param xcb_sync_counter_t counter 01233 ** @returns xcb_void_cookie_t 01234 ** 01235 *****************************************************************************/ 01236 01237 xcb_void_cookie_t 01238 xcb_sync_destroy_counter (xcb_connection_t *c , 01239 xcb_sync_counter_t counter ); 01240 01250 /***************************************************************************** 01251 ** 01252 ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter 01253 ** 01254 ** @param xcb_connection_t *c 01255 ** @param xcb_sync_counter_t counter 01256 ** @returns xcb_sync_query_counter_cookie_t 01257 ** 01258 *****************************************************************************/ 01259 01260 xcb_sync_query_counter_cookie_t 01261 xcb_sync_query_counter (xcb_connection_t *c , 01262 xcb_sync_counter_t counter ); 01263 01276 /***************************************************************************** 01277 ** 01278 ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked 01279 ** 01280 ** @param xcb_connection_t *c 01281 ** @param xcb_sync_counter_t counter 01282 ** @returns xcb_sync_query_counter_cookie_t 01283 ** 01284 *****************************************************************************/ 01285 01286 xcb_sync_query_counter_cookie_t 01287 xcb_sync_query_counter_unchecked (xcb_connection_t *c , 01288 xcb_sync_counter_t counter ); 01289 01305 /***************************************************************************** 01306 ** 01307 ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply 01308 ** 01309 ** @param xcb_connection_t *c 01310 ** @param xcb_sync_query_counter_cookie_t cookie 01311 ** @param xcb_generic_error_t **e 01312 ** @returns xcb_sync_query_counter_reply_t * 01313 ** 01314 *****************************************************************************/ 01315 01316 xcb_sync_query_counter_reply_t * 01317 xcb_sync_query_counter_reply (xcb_connection_t *c , 01318 xcb_sync_query_counter_cookie_t cookie , 01319 xcb_generic_error_t **e ); 01320 01321 int 01322 xcb_sync_await_sizeof (const void *_buffer , 01323 uint32_t wait_list_len ); 01324 01337 /***************************************************************************** 01338 ** 01339 ** xcb_void_cookie_t xcb_sync_await_checked 01340 ** 01341 ** @param xcb_connection_t *c 01342 ** @param uint32_t wait_list_len 01343 ** @param const xcb_sync_waitcondition_t *wait_list 01344 ** @returns xcb_void_cookie_t 01345 ** 01346 *****************************************************************************/ 01347 01348 xcb_void_cookie_t 01349 xcb_sync_await_checked (xcb_connection_t *c , 01350 uint32_t wait_list_len , 01351 const xcb_sync_waitcondition_t *wait_list ); 01352 01362 /***************************************************************************** 01363 ** 01364 ** xcb_void_cookie_t xcb_sync_await 01365 ** 01366 ** @param xcb_connection_t *c 01367 ** @param uint32_t wait_list_len 01368 ** @param const xcb_sync_waitcondition_t *wait_list 01369 ** @returns xcb_void_cookie_t 01370 ** 01371 *****************************************************************************/ 01372 01373 xcb_void_cookie_t 01374 xcb_sync_await (xcb_connection_t *c , 01375 uint32_t wait_list_len , 01376 const xcb_sync_waitcondition_t *wait_list ); 01377 01390 /***************************************************************************** 01391 ** 01392 ** xcb_void_cookie_t xcb_sync_change_counter_checked 01393 ** 01394 ** @param xcb_connection_t *c 01395 ** @param xcb_sync_counter_t counter 01396 ** @param xcb_sync_int64_t amount 01397 ** @returns xcb_void_cookie_t 01398 ** 01399 *****************************************************************************/ 01400 01401 xcb_void_cookie_t 01402 xcb_sync_change_counter_checked (xcb_connection_t *c , 01403 xcb_sync_counter_t counter , 01404 xcb_sync_int64_t amount ); 01405 01415 /***************************************************************************** 01416 ** 01417 ** xcb_void_cookie_t xcb_sync_change_counter 01418 ** 01419 ** @param xcb_connection_t *c 01420 ** @param xcb_sync_counter_t counter 01421 ** @param xcb_sync_int64_t amount 01422 ** @returns xcb_void_cookie_t 01423 ** 01424 *****************************************************************************/ 01425 01426 xcb_void_cookie_t 01427 xcb_sync_change_counter (xcb_connection_t *c , 01428 xcb_sync_counter_t counter , 01429 xcb_sync_int64_t amount ); 01430 01443 /***************************************************************************** 01444 ** 01445 ** xcb_void_cookie_t xcb_sync_set_counter_checked 01446 ** 01447 ** @param xcb_connection_t *c 01448 ** @param xcb_sync_counter_t counter 01449 ** @param xcb_sync_int64_t value 01450 ** @returns xcb_void_cookie_t 01451 ** 01452 *****************************************************************************/ 01453 01454 xcb_void_cookie_t 01455 xcb_sync_set_counter_checked (xcb_connection_t *c , 01456 xcb_sync_counter_t counter , 01457 xcb_sync_int64_t value ); 01458 01468 /***************************************************************************** 01469 ** 01470 ** xcb_void_cookie_t xcb_sync_set_counter 01471 ** 01472 ** @param xcb_connection_t *c 01473 ** @param xcb_sync_counter_t counter 01474 ** @param xcb_sync_int64_t value 01475 ** @returns xcb_void_cookie_t 01476 ** 01477 *****************************************************************************/ 01478 01479 xcb_void_cookie_t 01480 xcb_sync_set_counter (xcb_connection_t *c , 01481 xcb_sync_counter_t counter , 01482 xcb_sync_int64_t value ); 01483 01484 int 01485 xcb_sync_create_alarm_sizeof (const void *_buffer ); 01486 01499 /***************************************************************************** 01500 ** 01501 ** xcb_void_cookie_t xcb_sync_create_alarm_checked 01502 ** 01503 ** @param xcb_connection_t *c 01504 ** @param xcb_sync_alarm_t id 01505 ** @param uint32_t value_mask 01506 ** @param const uint32_t *value_list 01507 ** @returns xcb_void_cookie_t 01508 ** 01509 *****************************************************************************/ 01510 01511 xcb_void_cookie_t 01512 xcb_sync_create_alarm_checked (xcb_connection_t *c , 01513 xcb_sync_alarm_t id , 01514 uint32_t value_mask , 01515 const uint32_t *value_list ); 01516 01526 /***************************************************************************** 01527 ** 01528 ** xcb_void_cookie_t xcb_sync_create_alarm 01529 ** 01530 ** @param xcb_connection_t *c 01531 ** @param xcb_sync_alarm_t id 01532 ** @param uint32_t value_mask 01533 ** @param const uint32_t *value_list 01534 ** @returns xcb_void_cookie_t 01535 ** 01536 *****************************************************************************/ 01537 01538 xcb_void_cookie_t 01539 xcb_sync_create_alarm (xcb_connection_t *c , 01540 xcb_sync_alarm_t id , 01541 uint32_t value_mask , 01542 const uint32_t *value_list ); 01543 01544 int 01545 xcb_sync_change_alarm_sizeof (const void *_buffer ); 01546 01559 /***************************************************************************** 01560 ** 01561 ** xcb_void_cookie_t xcb_sync_change_alarm_checked 01562 ** 01563 ** @param xcb_connection_t *c 01564 ** @param xcb_sync_alarm_t id 01565 ** @param uint32_t value_mask 01566 ** @param const uint32_t *value_list 01567 ** @returns xcb_void_cookie_t 01568 ** 01569 *****************************************************************************/ 01570 01571 xcb_void_cookie_t 01572 xcb_sync_change_alarm_checked (xcb_connection_t *c , 01573 xcb_sync_alarm_t id , 01574 uint32_t value_mask , 01575 const uint32_t *value_list ); 01576 01586 /***************************************************************************** 01587 ** 01588 ** xcb_void_cookie_t xcb_sync_change_alarm 01589 ** 01590 ** @param xcb_connection_t *c 01591 ** @param xcb_sync_alarm_t id 01592 ** @param uint32_t value_mask 01593 ** @param const uint32_t *value_list 01594 ** @returns xcb_void_cookie_t 01595 ** 01596 *****************************************************************************/ 01597 01598 xcb_void_cookie_t 01599 xcb_sync_change_alarm (xcb_connection_t *c , 01600 xcb_sync_alarm_t id , 01601 uint32_t value_mask , 01602 const uint32_t *value_list ); 01603 01616 /***************************************************************************** 01617 ** 01618 ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked 01619 ** 01620 ** @param xcb_connection_t *c 01621 ** @param xcb_sync_alarm_t alarm 01622 ** @returns xcb_void_cookie_t 01623 ** 01624 *****************************************************************************/ 01625 01626 xcb_void_cookie_t 01627 xcb_sync_destroy_alarm_checked (xcb_connection_t *c , 01628 xcb_sync_alarm_t alarm ); 01629 01639 /***************************************************************************** 01640 ** 01641 ** xcb_void_cookie_t xcb_sync_destroy_alarm 01642 ** 01643 ** @param xcb_connection_t *c 01644 ** @param xcb_sync_alarm_t alarm 01645 ** @returns xcb_void_cookie_t 01646 ** 01647 *****************************************************************************/ 01648 01649 xcb_void_cookie_t 01650 xcb_sync_destroy_alarm (xcb_connection_t *c , 01651 xcb_sync_alarm_t alarm ); 01652 01662 /***************************************************************************** 01663 ** 01664 ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm 01665 ** 01666 ** @param xcb_connection_t *c 01667 ** @param xcb_sync_alarm_t alarm 01668 ** @returns xcb_sync_query_alarm_cookie_t 01669 ** 01670 *****************************************************************************/ 01671 01672 xcb_sync_query_alarm_cookie_t 01673 xcb_sync_query_alarm (xcb_connection_t *c , 01674 xcb_sync_alarm_t alarm ); 01675 01688 /***************************************************************************** 01689 ** 01690 ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked 01691 ** 01692 ** @param xcb_connection_t *c 01693 ** @param xcb_sync_alarm_t alarm 01694 ** @returns xcb_sync_query_alarm_cookie_t 01695 ** 01696 *****************************************************************************/ 01697 01698 xcb_sync_query_alarm_cookie_t 01699 xcb_sync_query_alarm_unchecked (xcb_connection_t *c , 01700 xcb_sync_alarm_t alarm ); 01701 01717 /***************************************************************************** 01718 ** 01719 ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply 01720 ** 01721 ** @param xcb_connection_t *c 01722 ** @param xcb_sync_query_alarm_cookie_t cookie 01723 ** @param xcb_generic_error_t **e 01724 ** @returns xcb_sync_query_alarm_reply_t * 01725 ** 01726 *****************************************************************************/ 01727 01728 xcb_sync_query_alarm_reply_t * 01729 xcb_sync_query_alarm_reply (xcb_connection_t *c , 01730 xcb_sync_query_alarm_cookie_t cookie , 01731 xcb_generic_error_t **e ); 01732 01745 /***************************************************************************** 01746 ** 01747 ** xcb_void_cookie_t xcb_sync_set_priority_checked 01748 ** 01749 ** @param xcb_connection_t *c 01750 ** @param uint32_t id 01751 ** @param int32_t priority 01752 ** @returns xcb_void_cookie_t 01753 ** 01754 *****************************************************************************/ 01755 01756 xcb_void_cookie_t 01757 xcb_sync_set_priority_checked (xcb_connection_t *c , 01758 uint32_t id , 01759 int32_t priority ); 01760 01770 /***************************************************************************** 01771 ** 01772 ** xcb_void_cookie_t xcb_sync_set_priority 01773 ** 01774 ** @param xcb_connection_t *c 01775 ** @param uint32_t id 01776 ** @param int32_t priority 01777 ** @returns xcb_void_cookie_t 01778 ** 01779 *****************************************************************************/ 01780 01781 xcb_void_cookie_t 01782 xcb_sync_set_priority (xcb_connection_t *c , 01783 uint32_t id , 01784 int32_t priority ); 01785 01795 /***************************************************************************** 01796 ** 01797 ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority 01798 ** 01799 ** @param xcb_connection_t *c 01800 ** @param uint32_t id 01801 ** @returns xcb_sync_get_priority_cookie_t 01802 ** 01803 *****************************************************************************/ 01804 01805 xcb_sync_get_priority_cookie_t 01806 xcb_sync_get_priority (xcb_connection_t *c , 01807 uint32_t id ); 01808 01821 /***************************************************************************** 01822 ** 01823 ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked 01824 ** 01825 ** @param xcb_connection_t *c 01826 ** @param uint32_t id 01827 ** @returns xcb_sync_get_priority_cookie_t 01828 ** 01829 *****************************************************************************/ 01830 01831 xcb_sync_get_priority_cookie_t 01832 xcb_sync_get_priority_unchecked (xcb_connection_t *c , 01833 uint32_t id ); 01834 01850 /***************************************************************************** 01851 ** 01852 ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply 01853 ** 01854 ** @param xcb_connection_t *c 01855 ** @param xcb_sync_get_priority_cookie_t cookie 01856 ** @param xcb_generic_error_t **e 01857 ** @returns xcb_sync_get_priority_reply_t * 01858 ** 01859 *****************************************************************************/ 01860 01861 xcb_sync_get_priority_reply_t * 01862 xcb_sync_get_priority_reply (xcb_connection_t *c , 01863 xcb_sync_get_priority_cookie_t cookie , 01864 xcb_generic_error_t **e ); 01865 01878 /***************************************************************************** 01879 ** 01880 ** xcb_void_cookie_t xcb_sync_create_fence_checked 01881 ** 01882 ** @param xcb_connection_t *c 01883 ** @param xcb_drawable_t drawable 01884 ** @param xcb_sync_fence_t fence 01885 ** @param uint8_t initially_triggered 01886 ** @returns xcb_void_cookie_t 01887 ** 01888 *****************************************************************************/ 01889 01890 xcb_void_cookie_t 01891 xcb_sync_create_fence_checked (xcb_connection_t *c , 01892 xcb_drawable_t drawable , 01893 xcb_sync_fence_t fence , 01894 uint8_t initially_triggered ); 01895 01905 /***************************************************************************** 01906 ** 01907 ** xcb_void_cookie_t xcb_sync_create_fence 01908 ** 01909 ** @param xcb_connection_t *c 01910 ** @param xcb_drawable_t drawable 01911 ** @param xcb_sync_fence_t fence 01912 ** @param uint8_t initially_triggered 01913 ** @returns xcb_void_cookie_t 01914 ** 01915 *****************************************************************************/ 01916 01917 xcb_void_cookie_t 01918 xcb_sync_create_fence (xcb_connection_t *c , 01919 xcb_drawable_t drawable , 01920 xcb_sync_fence_t fence , 01921 uint8_t initially_triggered ); 01922 01935 /***************************************************************************** 01936 ** 01937 ** xcb_void_cookie_t xcb_sync_trigger_fence_checked 01938 ** 01939 ** @param xcb_connection_t *c 01940 ** @param xcb_sync_fence_t fence 01941 ** @returns xcb_void_cookie_t 01942 ** 01943 *****************************************************************************/ 01944 01945 xcb_void_cookie_t 01946 xcb_sync_trigger_fence_checked (xcb_connection_t *c , 01947 xcb_sync_fence_t fence ); 01948 01958 /***************************************************************************** 01959 ** 01960 ** xcb_void_cookie_t xcb_sync_trigger_fence 01961 ** 01962 ** @param xcb_connection_t *c 01963 ** @param xcb_sync_fence_t fence 01964 ** @returns xcb_void_cookie_t 01965 ** 01966 *****************************************************************************/ 01967 01968 xcb_void_cookie_t 01969 xcb_sync_trigger_fence (xcb_connection_t *c , 01970 xcb_sync_fence_t fence ); 01971 01984 /***************************************************************************** 01985 ** 01986 ** xcb_void_cookie_t xcb_sync_reset_fence_checked 01987 ** 01988 ** @param xcb_connection_t *c 01989 ** @param xcb_sync_fence_t fence 01990 ** @returns xcb_void_cookie_t 01991 ** 01992 *****************************************************************************/ 01993 01994 xcb_void_cookie_t 01995 xcb_sync_reset_fence_checked (xcb_connection_t *c , 01996 xcb_sync_fence_t fence ); 01997 02007 /***************************************************************************** 02008 ** 02009 ** xcb_void_cookie_t xcb_sync_reset_fence 02010 ** 02011 ** @param xcb_connection_t *c 02012 ** @param xcb_sync_fence_t fence 02013 ** @returns xcb_void_cookie_t 02014 ** 02015 *****************************************************************************/ 02016 02017 xcb_void_cookie_t 02018 xcb_sync_reset_fence (xcb_connection_t *c , 02019 xcb_sync_fence_t fence ); 02020 02033 /***************************************************************************** 02034 ** 02035 ** xcb_void_cookie_t xcb_sync_destroy_fence_checked 02036 ** 02037 ** @param xcb_connection_t *c 02038 ** @param xcb_sync_fence_t fence 02039 ** @returns xcb_void_cookie_t 02040 ** 02041 *****************************************************************************/ 02042 02043 xcb_void_cookie_t 02044 xcb_sync_destroy_fence_checked (xcb_connection_t *c , 02045 xcb_sync_fence_t fence ); 02046 02056 /***************************************************************************** 02057 ** 02058 ** xcb_void_cookie_t xcb_sync_destroy_fence 02059 ** 02060 ** @param xcb_connection_t *c 02061 ** @param xcb_sync_fence_t fence 02062 ** @returns xcb_void_cookie_t 02063 ** 02064 *****************************************************************************/ 02065 02066 xcb_void_cookie_t 02067 xcb_sync_destroy_fence (xcb_connection_t *c , 02068 xcb_sync_fence_t fence ); 02069 02079 /***************************************************************************** 02080 ** 02081 ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence 02082 ** 02083 ** @param xcb_connection_t *c 02084 ** @param xcb_sync_fence_t fence 02085 ** @returns xcb_sync_query_fence_cookie_t 02086 ** 02087 *****************************************************************************/ 02088 02089 xcb_sync_query_fence_cookie_t 02090 xcb_sync_query_fence (xcb_connection_t *c , 02091 xcb_sync_fence_t fence ); 02092 02105 /***************************************************************************** 02106 ** 02107 ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence_unchecked 02108 ** 02109 ** @param xcb_connection_t *c 02110 ** @param xcb_sync_fence_t fence 02111 ** @returns xcb_sync_query_fence_cookie_t 02112 ** 02113 *****************************************************************************/ 02114 02115 xcb_sync_query_fence_cookie_t 02116 xcb_sync_query_fence_unchecked (xcb_connection_t *c , 02117 xcb_sync_fence_t fence ); 02118 02134 /***************************************************************************** 02135 ** 02136 ** xcb_sync_query_fence_reply_t * xcb_sync_query_fence_reply 02137 ** 02138 ** @param xcb_connection_t *c 02139 ** @param xcb_sync_query_fence_cookie_t cookie 02140 ** @param xcb_generic_error_t **e 02141 ** @returns xcb_sync_query_fence_reply_t * 02142 ** 02143 *****************************************************************************/ 02144 02145 xcb_sync_query_fence_reply_t * 02146 xcb_sync_query_fence_reply (xcb_connection_t *c , 02147 xcb_sync_query_fence_cookie_t cookie , 02148 xcb_generic_error_t **e ); 02149 02150 int 02151 xcb_sync_await_fence_sizeof (const void *_buffer , 02152 uint32_t fence_list_len ); 02153 02166 /***************************************************************************** 02167 ** 02168 ** xcb_void_cookie_t xcb_sync_await_fence_checked 02169 ** 02170 ** @param xcb_connection_t *c 02171 ** @param uint32_t fence_list_len 02172 ** @param const xcb_sync_fence_t *fence_list 02173 ** @returns xcb_void_cookie_t 02174 ** 02175 *****************************************************************************/ 02176 02177 xcb_void_cookie_t 02178 xcb_sync_await_fence_checked (xcb_connection_t *c , 02179 uint32_t fence_list_len , 02180 const xcb_sync_fence_t *fence_list ); 02181 02191 /***************************************************************************** 02192 ** 02193 ** xcb_void_cookie_t xcb_sync_await_fence 02194 ** 02195 ** @param xcb_connection_t *c 02196 ** @param uint32_t fence_list_len 02197 ** @param const xcb_sync_fence_t *fence_list 02198 ** @returns xcb_void_cookie_t 02199 ** 02200 *****************************************************************************/ 02201 02202 xcb_void_cookie_t 02203 xcb_sync_await_fence (xcb_connection_t *c , 02204 uint32_t fence_list_len , 02205 const xcb_sync_fence_t *fence_list ); 02206 02207 02208 #ifdef __cplusplus 02209 } 02210 #endif 02211 02212 #endif 02213