1 1.1 mrg /* 2 1.1 mrg * This file generated automatically from dri3.xml by c_client.py. 3 1.1 mrg * Edit at your peril. 4 1.1 mrg */ 5 1.1 mrg 6 1.1 mrg /** 7 1.1 mrg * @defgroup XCB_DRI3_API XCB DRI3 API 8 1.1 mrg * @brief DRI3 XCB Protocol Implementation. 9 1.1 mrg * @{ 10 1.1 mrg **/ 11 1.1 mrg 12 1.1 mrg #ifndef __DRI3_H 13 1.1 mrg #define __DRI3_H 14 1.1 mrg 15 1.1 mrg #include "xcb.h" 16 1.1 mrg #include "xproto.h" 17 1.1 mrg 18 1.1 mrg #ifdef __cplusplus 19 1.1 mrg extern "C" { 20 1.1 mrg #endif 21 1.1 mrg 22 1.1 mrg #define XCB_DRI3_MAJOR_VERSION 1 23 1.6 mrg #define XCB_DRI3_MINOR_VERSION 4 24 1.2 mrg 25 1.1 mrg extern xcb_extension_t xcb_dri3_id; 26 1.1 mrg 27 1.6 mrg typedef uint32_t xcb_dri3_syncobj_t; 28 1.6 mrg 29 1.6 mrg /** 30 1.6 mrg * @brief xcb_dri3_syncobj_iterator_t 31 1.6 mrg **/ 32 1.6 mrg typedef struct xcb_dri3_syncobj_iterator_t { 33 1.6 mrg xcb_dri3_syncobj_t *data; 34 1.6 mrg int rem; 35 1.6 mrg int index; 36 1.6 mrg } xcb_dri3_syncobj_iterator_t; 37 1.6 mrg 38 1.1 mrg /** 39 1.1 mrg * @brief xcb_dri3_query_version_cookie_t 40 1.1 mrg **/ 41 1.1 mrg typedef struct xcb_dri3_query_version_cookie_t { 42 1.3 mrg unsigned int sequence; 43 1.1 mrg } xcb_dri3_query_version_cookie_t; 44 1.1 mrg 45 1.1 mrg /** Opcode for xcb_dri3_query_version. */ 46 1.1 mrg #define XCB_DRI3_QUERY_VERSION 0 47 1.1 mrg 48 1.1 mrg /** 49 1.1 mrg * @brief xcb_dri3_query_version_request_t 50 1.1 mrg **/ 51 1.1 mrg typedef struct xcb_dri3_query_version_request_t { 52 1.3 mrg uint8_t major_opcode; 53 1.3 mrg uint8_t minor_opcode; 54 1.3 mrg uint16_t length; 55 1.3 mrg uint32_t major_version; 56 1.3 mrg uint32_t minor_version; 57 1.1 mrg } xcb_dri3_query_version_request_t; 58 1.1 mrg 59 1.1 mrg /** 60 1.1 mrg * @brief xcb_dri3_query_version_reply_t 61 1.1 mrg **/ 62 1.1 mrg typedef struct xcb_dri3_query_version_reply_t { 63 1.3 mrg uint8_t response_type; 64 1.3 mrg uint8_t pad0; 65 1.3 mrg uint16_t sequence; 66 1.3 mrg uint32_t length; 67 1.3 mrg uint32_t major_version; 68 1.3 mrg uint32_t minor_version; 69 1.1 mrg } xcb_dri3_query_version_reply_t; 70 1.1 mrg 71 1.1 mrg /** 72 1.1 mrg * @brief xcb_dri3_open_cookie_t 73 1.1 mrg **/ 74 1.1 mrg typedef struct xcb_dri3_open_cookie_t { 75 1.3 mrg unsigned int sequence; 76 1.1 mrg } xcb_dri3_open_cookie_t; 77 1.1 mrg 78 1.1 mrg /** Opcode for xcb_dri3_open. */ 79 1.1 mrg #define XCB_DRI3_OPEN 1 80 1.1 mrg 81 1.1 mrg /** 82 1.1 mrg * @brief xcb_dri3_open_request_t 83 1.1 mrg **/ 84 1.1 mrg typedef struct xcb_dri3_open_request_t { 85 1.3 mrg uint8_t major_opcode; 86 1.3 mrg uint8_t minor_opcode; 87 1.3 mrg uint16_t length; 88 1.3 mrg xcb_drawable_t drawable; 89 1.3 mrg uint32_t provider; 90 1.1 mrg } xcb_dri3_open_request_t; 91 1.1 mrg 92 1.1 mrg /** 93 1.1 mrg * @brief xcb_dri3_open_reply_t 94 1.1 mrg **/ 95 1.1 mrg typedef struct xcb_dri3_open_reply_t { 96 1.3 mrg uint8_t response_type; 97 1.3 mrg uint8_t nfd; 98 1.3 mrg uint16_t sequence; 99 1.3 mrg uint32_t length; 100 1.3 mrg uint8_t pad0[24]; 101 1.1 mrg } xcb_dri3_open_reply_t; 102 1.1 mrg 103 1.1 mrg /** Opcode for xcb_dri3_pixmap_from_buffer. */ 104 1.1 mrg #define XCB_DRI3_PIXMAP_FROM_BUFFER 2 105 1.1 mrg 106 1.1 mrg /** 107 1.1 mrg * @brief xcb_dri3_pixmap_from_buffer_request_t 108 1.1 mrg **/ 109 1.1 mrg typedef struct xcb_dri3_pixmap_from_buffer_request_t { 110 1.3 mrg uint8_t major_opcode; 111 1.3 mrg uint8_t minor_opcode; 112 1.3 mrg uint16_t length; 113 1.3 mrg xcb_pixmap_t pixmap; 114 1.3 mrg xcb_drawable_t drawable; 115 1.3 mrg uint32_t size; 116 1.3 mrg uint16_t width; 117 1.3 mrg uint16_t height; 118 1.3 mrg uint16_t stride; 119 1.3 mrg uint8_t depth; 120 1.3 mrg uint8_t bpp; 121 1.1 mrg } xcb_dri3_pixmap_from_buffer_request_t; 122 1.1 mrg 123 1.1 mrg /** 124 1.1 mrg * @brief xcb_dri3_buffer_from_pixmap_cookie_t 125 1.1 mrg **/ 126 1.1 mrg typedef struct xcb_dri3_buffer_from_pixmap_cookie_t { 127 1.3 mrg unsigned int sequence; 128 1.1 mrg } xcb_dri3_buffer_from_pixmap_cookie_t; 129 1.1 mrg 130 1.1 mrg /** Opcode for xcb_dri3_buffer_from_pixmap. */ 131 1.1 mrg #define XCB_DRI3_BUFFER_FROM_PIXMAP 3 132 1.1 mrg 133 1.1 mrg /** 134 1.1 mrg * @brief xcb_dri3_buffer_from_pixmap_request_t 135 1.1 mrg **/ 136 1.1 mrg typedef struct xcb_dri3_buffer_from_pixmap_request_t { 137 1.3 mrg uint8_t major_opcode; 138 1.3 mrg uint8_t minor_opcode; 139 1.3 mrg uint16_t length; 140 1.3 mrg xcb_pixmap_t pixmap; 141 1.1 mrg } xcb_dri3_buffer_from_pixmap_request_t; 142 1.1 mrg 143 1.1 mrg /** 144 1.1 mrg * @brief xcb_dri3_buffer_from_pixmap_reply_t 145 1.1 mrg **/ 146 1.1 mrg typedef struct xcb_dri3_buffer_from_pixmap_reply_t { 147 1.3 mrg uint8_t response_type; 148 1.3 mrg uint8_t nfd; 149 1.3 mrg uint16_t sequence; 150 1.3 mrg uint32_t length; 151 1.3 mrg uint32_t size; 152 1.3 mrg uint16_t width; 153 1.3 mrg uint16_t height; 154 1.3 mrg uint16_t stride; 155 1.3 mrg uint8_t depth; 156 1.3 mrg uint8_t bpp; 157 1.3 mrg uint8_t pad0[12]; 158 1.1 mrg } xcb_dri3_buffer_from_pixmap_reply_t; 159 1.1 mrg 160 1.1 mrg /** Opcode for xcb_dri3_fence_from_fd. */ 161 1.1 mrg #define XCB_DRI3_FENCE_FROM_FD 4 162 1.1 mrg 163 1.1 mrg /** 164 1.1 mrg * @brief xcb_dri3_fence_from_fd_request_t 165 1.1 mrg **/ 166 1.1 mrg typedef struct xcb_dri3_fence_from_fd_request_t { 167 1.3 mrg uint8_t major_opcode; 168 1.3 mrg uint8_t minor_opcode; 169 1.3 mrg uint16_t length; 170 1.3 mrg xcb_drawable_t drawable; 171 1.3 mrg uint32_t fence; 172 1.3 mrg uint8_t initially_triggered; 173 1.3 mrg uint8_t pad0[3]; 174 1.1 mrg } xcb_dri3_fence_from_fd_request_t; 175 1.1 mrg 176 1.1 mrg /** 177 1.1 mrg * @brief xcb_dri3_fd_from_fence_cookie_t 178 1.1 mrg **/ 179 1.1 mrg typedef struct xcb_dri3_fd_from_fence_cookie_t { 180 1.3 mrg unsigned int sequence; 181 1.1 mrg } xcb_dri3_fd_from_fence_cookie_t; 182 1.1 mrg 183 1.1 mrg /** Opcode for xcb_dri3_fd_from_fence. */ 184 1.1 mrg #define XCB_DRI3_FD_FROM_FENCE 5 185 1.1 mrg 186 1.1 mrg /** 187 1.1 mrg * @brief xcb_dri3_fd_from_fence_request_t 188 1.1 mrg **/ 189 1.1 mrg typedef struct xcb_dri3_fd_from_fence_request_t { 190 1.3 mrg uint8_t major_opcode; 191 1.3 mrg uint8_t minor_opcode; 192 1.3 mrg uint16_t length; 193 1.3 mrg xcb_drawable_t drawable; 194 1.3 mrg uint32_t fence; 195 1.1 mrg } xcb_dri3_fd_from_fence_request_t; 196 1.1 mrg 197 1.1 mrg /** 198 1.1 mrg * @brief xcb_dri3_fd_from_fence_reply_t 199 1.1 mrg **/ 200 1.1 mrg typedef struct xcb_dri3_fd_from_fence_reply_t { 201 1.3 mrg uint8_t response_type; 202 1.3 mrg uint8_t nfd; 203 1.3 mrg uint16_t sequence; 204 1.3 mrg uint32_t length; 205 1.3 mrg uint8_t pad0[24]; 206 1.1 mrg } xcb_dri3_fd_from_fence_reply_t; 207 1.1 mrg 208 1.1 mrg /** 209 1.4 mrg * @brief xcb_dri3_get_supported_modifiers_cookie_t 210 1.4 mrg **/ 211 1.4 mrg typedef struct xcb_dri3_get_supported_modifiers_cookie_t { 212 1.4 mrg unsigned int sequence; 213 1.4 mrg } xcb_dri3_get_supported_modifiers_cookie_t; 214 1.4 mrg 215 1.4 mrg /** Opcode for xcb_dri3_get_supported_modifiers. */ 216 1.4 mrg #define XCB_DRI3_GET_SUPPORTED_MODIFIERS 6 217 1.4 mrg 218 1.4 mrg /** 219 1.4 mrg * @brief xcb_dri3_get_supported_modifiers_request_t 220 1.4 mrg **/ 221 1.4 mrg typedef struct xcb_dri3_get_supported_modifiers_request_t { 222 1.4 mrg uint8_t major_opcode; 223 1.4 mrg uint8_t minor_opcode; 224 1.4 mrg uint16_t length; 225 1.4 mrg uint32_t window; 226 1.4 mrg uint8_t depth; 227 1.4 mrg uint8_t bpp; 228 1.4 mrg uint8_t pad0[2]; 229 1.4 mrg } xcb_dri3_get_supported_modifiers_request_t; 230 1.4 mrg 231 1.4 mrg /** 232 1.4 mrg * @brief xcb_dri3_get_supported_modifiers_reply_t 233 1.4 mrg **/ 234 1.4 mrg typedef struct xcb_dri3_get_supported_modifiers_reply_t { 235 1.4 mrg uint8_t response_type; 236 1.4 mrg uint8_t pad0; 237 1.4 mrg uint16_t sequence; 238 1.4 mrg uint32_t length; 239 1.4 mrg uint32_t num_window_modifiers; 240 1.4 mrg uint32_t num_screen_modifiers; 241 1.4 mrg uint8_t pad1[16]; 242 1.4 mrg } xcb_dri3_get_supported_modifiers_reply_t; 243 1.4 mrg 244 1.4 mrg /** Opcode for xcb_dri3_pixmap_from_buffers. */ 245 1.4 mrg #define XCB_DRI3_PIXMAP_FROM_BUFFERS 7 246 1.4 mrg 247 1.4 mrg /** 248 1.4 mrg * @brief xcb_dri3_pixmap_from_buffers_request_t 249 1.4 mrg **/ 250 1.4 mrg typedef struct xcb_dri3_pixmap_from_buffers_request_t { 251 1.4 mrg uint8_t major_opcode; 252 1.4 mrg uint8_t minor_opcode; 253 1.4 mrg uint16_t length; 254 1.4 mrg xcb_pixmap_t pixmap; 255 1.4 mrg xcb_window_t window; 256 1.4 mrg uint8_t num_buffers; 257 1.4 mrg uint8_t pad0[3]; 258 1.4 mrg uint16_t width; 259 1.4 mrg uint16_t height; 260 1.4 mrg uint32_t stride0; 261 1.4 mrg uint32_t offset0; 262 1.4 mrg uint32_t stride1; 263 1.4 mrg uint32_t offset1; 264 1.4 mrg uint32_t stride2; 265 1.4 mrg uint32_t offset2; 266 1.4 mrg uint32_t stride3; 267 1.4 mrg uint32_t offset3; 268 1.4 mrg uint8_t depth; 269 1.4 mrg uint8_t bpp; 270 1.4 mrg uint8_t pad1[2]; 271 1.4 mrg uint64_t modifier; 272 1.4 mrg } xcb_dri3_pixmap_from_buffers_request_t; 273 1.4 mrg 274 1.4 mrg /** 275 1.4 mrg * @brief xcb_dri3_buffers_from_pixmap_cookie_t 276 1.4 mrg **/ 277 1.4 mrg typedef struct xcb_dri3_buffers_from_pixmap_cookie_t { 278 1.4 mrg unsigned int sequence; 279 1.4 mrg } xcb_dri3_buffers_from_pixmap_cookie_t; 280 1.4 mrg 281 1.4 mrg /** Opcode for xcb_dri3_buffers_from_pixmap. */ 282 1.4 mrg #define XCB_DRI3_BUFFERS_FROM_PIXMAP 8 283 1.4 mrg 284 1.4 mrg /** 285 1.4 mrg * @brief xcb_dri3_buffers_from_pixmap_request_t 286 1.4 mrg **/ 287 1.4 mrg typedef struct xcb_dri3_buffers_from_pixmap_request_t { 288 1.4 mrg uint8_t major_opcode; 289 1.4 mrg uint8_t minor_opcode; 290 1.4 mrg uint16_t length; 291 1.4 mrg xcb_pixmap_t pixmap; 292 1.4 mrg } xcb_dri3_buffers_from_pixmap_request_t; 293 1.4 mrg 294 1.4 mrg /** 295 1.4 mrg * @brief xcb_dri3_buffers_from_pixmap_reply_t 296 1.4 mrg **/ 297 1.4 mrg typedef struct xcb_dri3_buffers_from_pixmap_reply_t { 298 1.4 mrg uint8_t response_type; 299 1.4 mrg uint8_t nfd; 300 1.4 mrg uint16_t sequence; 301 1.4 mrg uint32_t length; 302 1.4 mrg uint16_t width; 303 1.4 mrg uint16_t height; 304 1.4 mrg uint8_t pad0[4]; 305 1.4 mrg uint64_t modifier; 306 1.4 mrg uint8_t depth; 307 1.4 mrg uint8_t bpp; 308 1.4 mrg uint8_t pad1[6]; 309 1.4 mrg } xcb_dri3_buffers_from_pixmap_reply_t; 310 1.4 mrg 311 1.5 mrg /** Opcode for xcb_dri3_set_drm_device_in_use. */ 312 1.5 mrg #define XCB_DRI3_SET_DRM_DEVICE_IN_USE 9 313 1.5 mrg 314 1.5 mrg /** 315 1.5 mrg * @brief xcb_dri3_set_drm_device_in_use_request_t 316 1.5 mrg **/ 317 1.5 mrg typedef struct xcb_dri3_set_drm_device_in_use_request_t { 318 1.5 mrg uint8_t major_opcode; 319 1.5 mrg uint8_t minor_opcode; 320 1.5 mrg uint16_t length; 321 1.5 mrg xcb_window_t window; 322 1.5 mrg uint32_t drmMajor; 323 1.5 mrg uint32_t drmMinor; 324 1.5 mrg } xcb_dri3_set_drm_device_in_use_request_t; 325 1.5 mrg 326 1.6 mrg /** Opcode for xcb_dri3_import_syncobj. */ 327 1.6 mrg #define XCB_DRI3_IMPORT_SYNCOBJ 10 328 1.6 mrg 329 1.6 mrg /** 330 1.6 mrg * @brief xcb_dri3_import_syncobj_request_t 331 1.6 mrg **/ 332 1.6 mrg typedef struct xcb_dri3_import_syncobj_request_t { 333 1.6 mrg uint8_t major_opcode; 334 1.6 mrg uint8_t minor_opcode; 335 1.6 mrg uint16_t length; 336 1.6 mrg xcb_dri3_syncobj_t syncobj; 337 1.6 mrg xcb_drawable_t drawable; 338 1.6 mrg } xcb_dri3_import_syncobj_request_t; 339 1.6 mrg 340 1.6 mrg /** Opcode for xcb_dri3_free_syncobj. */ 341 1.6 mrg #define XCB_DRI3_FREE_SYNCOBJ 11 342 1.6 mrg 343 1.6 mrg /** 344 1.6 mrg * @brief xcb_dri3_free_syncobj_request_t 345 1.6 mrg **/ 346 1.6 mrg typedef struct xcb_dri3_free_syncobj_request_t { 347 1.6 mrg uint8_t major_opcode; 348 1.6 mrg uint8_t minor_opcode; 349 1.6 mrg uint16_t length; 350 1.6 mrg xcb_dri3_syncobj_t syncobj; 351 1.6 mrg } xcb_dri3_free_syncobj_request_t; 352 1.6 mrg 353 1.6 mrg /** 354 1.6 mrg * Get the next element of the iterator 355 1.6 mrg * @param i Pointer to a xcb_dri3_syncobj_iterator_t 356 1.6 mrg * 357 1.6 mrg * Get the next element in the iterator. The member rem is 358 1.6 mrg * decreased by one. The member data points to the next 359 1.6 mrg * element. The member index is increased by sizeof(xcb_dri3_syncobj_t) 360 1.6 mrg */ 361 1.6 mrg void 362 1.6 mrg xcb_dri3_syncobj_next (xcb_dri3_syncobj_iterator_t *i); 363 1.6 mrg 364 1.6 mrg /** 365 1.6 mrg * Return the iterator pointing to the last element 366 1.6 mrg * @param i An xcb_dri3_syncobj_iterator_t 367 1.6 mrg * @return The iterator pointing to the last element 368 1.6 mrg * 369 1.6 mrg * Set the current element in the iterator to the last element. 370 1.6 mrg * The member rem is set to 0. The member data points to the 371 1.6 mrg * last element. 372 1.6 mrg */ 373 1.6 mrg xcb_generic_iterator_t 374 1.6 mrg xcb_dri3_syncobj_end (xcb_dri3_syncobj_iterator_t i); 375 1.6 mrg 376 1.4 mrg /** 377 1.1 mrg * 378 1.1 mrg * @param c The connection 379 1.1 mrg * @return A cookie 380 1.1 mrg * 381 1.1 mrg * Delivers a request to the X server. 382 1.2 mrg * 383 1.1 mrg */ 384 1.1 mrg xcb_dri3_query_version_cookie_t 385 1.3 mrg xcb_dri3_query_version (xcb_connection_t *c, 386 1.3 mrg uint32_t major_version, 387 1.3 mrg uint32_t minor_version); 388 1.1 mrg 389 1.1 mrg /** 390 1.1 mrg * 391 1.1 mrg * @param c The connection 392 1.1 mrg * @return A cookie 393 1.1 mrg * 394 1.1 mrg * Delivers a request to the X server. 395 1.2 mrg * 396 1.1 mrg * This form can be used only if the request will cause 397 1.1 mrg * a reply to be generated. Any returned error will be 398 1.1 mrg * placed in the event queue. 399 1.1 mrg */ 400 1.1 mrg xcb_dri3_query_version_cookie_t 401 1.3 mrg xcb_dri3_query_version_unchecked (xcb_connection_t *c, 402 1.3 mrg uint32_t major_version, 403 1.3 mrg uint32_t minor_version); 404 1.1 mrg 405 1.1 mrg /** 406 1.1 mrg * Return the reply 407 1.1 mrg * @param c The connection 408 1.1 mrg * @param cookie The cookie 409 1.1 mrg * @param e The xcb_generic_error_t supplied 410 1.1 mrg * 411 1.1 mrg * Returns the reply of the request asked by 412 1.2 mrg * 413 1.1 mrg * The parameter @p e supplied to this function must be NULL if 414 1.1 mrg * xcb_dri3_query_version_unchecked(). is used. 415 1.1 mrg * Otherwise, it stores the error if any. 416 1.1 mrg * 417 1.1 mrg * The returned value must be freed by the caller using free(). 418 1.1 mrg */ 419 1.1 mrg xcb_dri3_query_version_reply_t * 420 1.3 mrg xcb_dri3_query_version_reply (xcb_connection_t *c, 421 1.1 mrg xcb_dri3_query_version_cookie_t cookie /**< */, 422 1.3 mrg xcb_generic_error_t **e); 423 1.1 mrg 424 1.1 mrg /** 425 1.1 mrg * 426 1.1 mrg * @param c The connection 427 1.1 mrg * @return A cookie 428 1.1 mrg * 429 1.1 mrg * Delivers a request to the X server. 430 1.2 mrg * 431 1.1 mrg */ 432 1.1 mrg xcb_dri3_open_cookie_t 433 1.3 mrg xcb_dri3_open (xcb_connection_t *c, 434 1.3 mrg xcb_drawable_t drawable, 435 1.3 mrg uint32_t provider); 436 1.1 mrg 437 1.1 mrg /** 438 1.1 mrg * 439 1.1 mrg * @param c The connection 440 1.1 mrg * @return A cookie 441 1.1 mrg * 442 1.1 mrg * Delivers a request to the X server. 443 1.2 mrg * 444 1.1 mrg * This form can be used only if the request will cause 445 1.1 mrg * a reply to be generated. Any returned error will be 446 1.1 mrg * placed in the event queue. 447 1.1 mrg */ 448 1.1 mrg xcb_dri3_open_cookie_t 449 1.3 mrg xcb_dri3_open_unchecked (xcb_connection_t *c, 450 1.3 mrg xcb_drawable_t drawable, 451 1.3 mrg uint32_t provider); 452 1.1 mrg 453 1.1 mrg /** 454 1.1 mrg * Return the reply 455 1.1 mrg * @param c The connection 456 1.1 mrg * @param cookie The cookie 457 1.1 mrg * @param e The xcb_generic_error_t supplied 458 1.1 mrg * 459 1.1 mrg * Returns the reply of the request asked by 460 1.2 mrg * 461 1.1 mrg * The parameter @p e supplied to this function must be NULL if 462 1.1 mrg * xcb_dri3_open_unchecked(). is used. 463 1.1 mrg * Otherwise, it stores the error if any. 464 1.1 mrg * 465 1.1 mrg * The returned value must be freed by the caller using free(). 466 1.1 mrg */ 467 1.1 mrg xcb_dri3_open_reply_t * 468 1.3 mrg xcb_dri3_open_reply (xcb_connection_t *c, 469 1.1 mrg xcb_dri3_open_cookie_t cookie /**< */, 470 1.3 mrg xcb_generic_error_t **e); 471 1.1 mrg 472 1.1 mrg /** 473 1.1 mrg * Return the reply fds 474 1.1 mrg * @param c The connection 475 1.1 mrg * @param reply The reply 476 1.1 mrg * 477 1.5 mrg * Returns a pointer to the array of reply fds of the reply. 478 1.2 mrg * 479 1.5 mrg * The returned value points into the reply and must not be free(). 480 1.5 mrg * The fds are not managed by xcb. You must close() them before freeing the reply. 481 1.1 mrg */ 482 1.1 mrg int * 483 1.1 mrg xcb_dri3_open_reply_fds (xcb_connection_t *c /**< */, 484 1.3 mrg xcb_dri3_open_reply_t *reply); 485 1.1 mrg 486 1.1 mrg /** 487 1.1 mrg * 488 1.1 mrg * @param c The connection 489 1.1 mrg * @return A cookie 490 1.1 mrg * 491 1.1 mrg * Delivers a request to the X server. 492 1.2 mrg * 493 1.1 mrg * This form can be used only if the request will not cause 494 1.1 mrg * a reply to be generated. Any returned error will be 495 1.1 mrg * saved for handling by xcb_request_check(). 496 1.1 mrg */ 497 1.1 mrg xcb_void_cookie_t 498 1.3 mrg xcb_dri3_pixmap_from_buffer_checked (xcb_connection_t *c, 499 1.3 mrg xcb_pixmap_t pixmap, 500 1.3 mrg xcb_drawable_t drawable, 501 1.3 mrg uint32_t size, 502 1.3 mrg uint16_t width, 503 1.3 mrg uint16_t height, 504 1.3 mrg uint16_t stride, 505 1.3 mrg uint8_t depth, 506 1.3 mrg uint8_t bpp, 507 1.3 mrg int32_t pixmap_fd); 508 1.1 mrg 509 1.1 mrg /** 510 1.1 mrg * 511 1.1 mrg * @param c The connection 512 1.1 mrg * @return A cookie 513 1.1 mrg * 514 1.1 mrg * Delivers a request to the X server. 515 1.2 mrg * 516 1.1 mrg */ 517 1.1 mrg xcb_void_cookie_t 518 1.3 mrg xcb_dri3_pixmap_from_buffer (xcb_connection_t *c, 519 1.3 mrg xcb_pixmap_t pixmap, 520 1.3 mrg xcb_drawable_t drawable, 521 1.3 mrg uint32_t size, 522 1.3 mrg uint16_t width, 523 1.3 mrg uint16_t height, 524 1.3 mrg uint16_t stride, 525 1.3 mrg uint8_t depth, 526 1.3 mrg uint8_t bpp, 527 1.3 mrg int32_t pixmap_fd); 528 1.1 mrg 529 1.1 mrg /** 530 1.1 mrg * 531 1.1 mrg * @param c The connection 532 1.1 mrg * @return A cookie 533 1.1 mrg * 534 1.1 mrg * Delivers a request to the X server. 535 1.2 mrg * 536 1.1 mrg */ 537 1.1 mrg xcb_dri3_buffer_from_pixmap_cookie_t 538 1.3 mrg xcb_dri3_buffer_from_pixmap (xcb_connection_t *c, 539 1.3 mrg xcb_pixmap_t pixmap); 540 1.1 mrg 541 1.1 mrg /** 542 1.1 mrg * 543 1.1 mrg * @param c The connection 544 1.1 mrg * @return A cookie 545 1.1 mrg * 546 1.1 mrg * Delivers a request to the X server. 547 1.2 mrg * 548 1.1 mrg * This form can be used only if the request will cause 549 1.1 mrg * a reply to be generated. Any returned error will be 550 1.1 mrg * placed in the event queue. 551 1.1 mrg */ 552 1.1 mrg xcb_dri3_buffer_from_pixmap_cookie_t 553 1.3 mrg xcb_dri3_buffer_from_pixmap_unchecked (xcb_connection_t *c, 554 1.3 mrg xcb_pixmap_t pixmap); 555 1.1 mrg 556 1.1 mrg /** 557 1.1 mrg * Return the reply 558 1.1 mrg * @param c The connection 559 1.1 mrg * @param cookie The cookie 560 1.1 mrg * @param e The xcb_generic_error_t supplied 561 1.1 mrg * 562 1.1 mrg * Returns the reply of the request asked by 563 1.2 mrg * 564 1.1 mrg * The parameter @p e supplied to this function must be NULL if 565 1.1 mrg * xcb_dri3_buffer_from_pixmap_unchecked(). is used. 566 1.1 mrg * Otherwise, it stores the error if any. 567 1.1 mrg * 568 1.1 mrg * The returned value must be freed by the caller using free(). 569 1.1 mrg */ 570 1.1 mrg xcb_dri3_buffer_from_pixmap_reply_t * 571 1.3 mrg xcb_dri3_buffer_from_pixmap_reply (xcb_connection_t *c, 572 1.1 mrg xcb_dri3_buffer_from_pixmap_cookie_t cookie /**< */, 573 1.3 mrg xcb_generic_error_t **e); 574 1.1 mrg 575 1.1 mrg /** 576 1.1 mrg * Return the reply fds 577 1.1 mrg * @param c The connection 578 1.1 mrg * @param reply The reply 579 1.1 mrg * 580 1.5 mrg * Returns a pointer to the array of reply fds of the reply. 581 1.2 mrg * 582 1.5 mrg * The returned value points into the reply and must not be free(). 583 1.5 mrg * The fds are not managed by xcb. You must close() them before freeing the reply. 584 1.1 mrg */ 585 1.1 mrg int * 586 1.1 mrg xcb_dri3_buffer_from_pixmap_reply_fds (xcb_connection_t *c /**< */, 587 1.3 mrg xcb_dri3_buffer_from_pixmap_reply_t *reply); 588 1.1 mrg 589 1.1 mrg /** 590 1.1 mrg * 591 1.1 mrg * @param c The connection 592 1.1 mrg * @return A cookie 593 1.1 mrg * 594 1.1 mrg * Delivers a request to the X server. 595 1.2 mrg * 596 1.1 mrg * This form can be used only if the request will not cause 597 1.1 mrg * a reply to be generated. Any returned error will be 598 1.1 mrg * saved for handling by xcb_request_check(). 599 1.1 mrg */ 600 1.1 mrg xcb_void_cookie_t 601 1.3 mrg xcb_dri3_fence_from_fd_checked (xcb_connection_t *c, 602 1.3 mrg xcb_drawable_t drawable, 603 1.3 mrg uint32_t fence, 604 1.3 mrg uint8_t initially_triggered, 605 1.3 mrg int32_t fence_fd); 606 1.1 mrg 607 1.1 mrg /** 608 1.1 mrg * 609 1.1 mrg * @param c The connection 610 1.1 mrg * @return A cookie 611 1.1 mrg * 612 1.1 mrg * Delivers a request to the X server. 613 1.2 mrg * 614 1.1 mrg */ 615 1.1 mrg xcb_void_cookie_t 616 1.3 mrg xcb_dri3_fence_from_fd (xcb_connection_t *c, 617 1.3 mrg xcb_drawable_t drawable, 618 1.3 mrg uint32_t fence, 619 1.3 mrg uint8_t initially_triggered, 620 1.3 mrg int32_t fence_fd); 621 1.1 mrg 622 1.1 mrg /** 623 1.1 mrg * 624 1.1 mrg * @param c The connection 625 1.1 mrg * @return A cookie 626 1.1 mrg * 627 1.1 mrg * Delivers a request to the X server. 628 1.2 mrg * 629 1.1 mrg */ 630 1.1 mrg xcb_dri3_fd_from_fence_cookie_t 631 1.3 mrg xcb_dri3_fd_from_fence (xcb_connection_t *c, 632 1.3 mrg xcb_drawable_t drawable, 633 1.3 mrg uint32_t fence); 634 1.1 mrg 635 1.1 mrg /** 636 1.1 mrg * 637 1.1 mrg * @param c The connection 638 1.1 mrg * @return A cookie 639 1.1 mrg * 640 1.1 mrg * Delivers a request to the X server. 641 1.2 mrg * 642 1.1 mrg * This form can be used only if the request will cause 643 1.1 mrg * a reply to be generated. Any returned error will be 644 1.1 mrg * placed in the event queue. 645 1.1 mrg */ 646 1.1 mrg xcb_dri3_fd_from_fence_cookie_t 647 1.3 mrg xcb_dri3_fd_from_fence_unchecked (xcb_connection_t *c, 648 1.3 mrg xcb_drawable_t drawable, 649 1.3 mrg uint32_t fence); 650 1.1 mrg 651 1.1 mrg /** 652 1.1 mrg * Return the reply 653 1.1 mrg * @param c The connection 654 1.1 mrg * @param cookie The cookie 655 1.1 mrg * @param e The xcb_generic_error_t supplied 656 1.1 mrg * 657 1.1 mrg * Returns the reply of the request asked by 658 1.2 mrg * 659 1.1 mrg * The parameter @p e supplied to this function must be NULL if 660 1.1 mrg * xcb_dri3_fd_from_fence_unchecked(). is used. 661 1.1 mrg * Otherwise, it stores the error if any. 662 1.1 mrg * 663 1.1 mrg * The returned value must be freed by the caller using free(). 664 1.1 mrg */ 665 1.1 mrg xcb_dri3_fd_from_fence_reply_t * 666 1.3 mrg xcb_dri3_fd_from_fence_reply (xcb_connection_t *c, 667 1.1 mrg xcb_dri3_fd_from_fence_cookie_t cookie /**< */, 668 1.3 mrg xcb_generic_error_t **e); 669 1.1 mrg 670 1.1 mrg /** 671 1.1 mrg * Return the reply fds 672 1.1 mrg * @param c The connection 673 1.1 mrg * @param reply The reply 674 1.1 mrg * 675 1.5 mrg * Returns a pointer to the array of reply fds of the reply. 676 1.2 mrg * 677 1.5 mrg * The returned value points into the reply and must not be free(). 678 1.5 mrg * The fds are not managed by xcb. You must close() them before freeing the reply. 679 1.1 mrg */ 680 1.1 mrg int * 681 1.1 mrg xcb_dri3_fd_from_fence_reply_fds (xcb_connection_t *c /**< */, 682 1.3 mrg xcb_dri3_fd_from_fence_reply_t *reply); 683 1.1 mrg 684 1.4 mrg int 685 1.4 mrg xcb_dri3_get_supported_modifiers_sizeof (const void *_buffer); 686 1.4 mrg 687 1.4 mrg /** 688 1.4 mrg * 689 1.4 mrg * @param c The connection 690 1.4 mrg * @return A cookie 691 1.4 mrg * 692 1.4 mrg * Delivers a request to the X server. 693 1.4 mrg * 694 1.4 mrg */ 695 1.4 mrg xcb_dri3_get_supported_modifiers_cookie_t 696 1.4 mrg xcb_dri3_get_supported_modifiers (xcb_connection_t *c, 697 1.4 mrg uint32_t window, 698 1.4 mrg uint8_t depth, 699 1.4 mrg uint8_t bpp); 700 1.4 mrg 701 1.4 mrg /** 702 1.4 mrg * 703 1.4 mrg * @param c The connection 704 1.4 mrg * @return A cookie 705 1.4 mrg * 706 1.4 mrg * Delivers a request to the X server. 707 1.4 mrg * 708 1.4 mrg * This form can be used only if the request will cause 709 1.4 mrg * a reply to be generated. Any returned error will be 710 1.4 mrg * placed in the event queue. 711 1.4 mrg */ 712 1.4 mrg xcb_dri3_get_supported_modifiers_cookie_t 713 1.4 mrg xcb_dri3_get_supported_modifiers_unchecked (xcb_connection_t *c, 714 1.4 mrg uint32_t window, 715 1.4 mrg uint8_t depth, 716 1.4 mrg uint8_t bpp); 717 1.4 mrg 718 1.4 mrg uint64_t * 719 1.4 mrg xcb_dri3_get_supported_modifiers_window_modifiers (const xcb_dri3_get_supported_modifiers_reply_t *R); 720 1.4 mrg 721 1.4 mrg int 722 1.4 mrg xcb_dri3_get_supported_modifiers_window_modifiers_length (const xcb_dri3_get_supported_modifiers_reply_t *R); 723 1.4 mrg 724 1.4 mrg xcb_generic_iterator_t 725 1.4 mrg xcb_dri3_get_supported_modifiers_window_modifiers_end (const xcb_dri3_get_supported_modifiers_reply_t *R); 726 1.4 mrg 727 1.4 mrg uint64_t * 728 1.4 mrg xcb_dri3_get_supported_modifiers_screen_modifiers (const xcb_dri3_get_supported_modifiers_reply_t *R); 729 1.4 mrg 730 1.4 mrg int 731 1.4 mrg xcb_dri3_get_supported_modifiers_screen_modifiers_length (const xcb_dri3_get_supported_modifiers_reply_t *R); 732 1.4 mrg 733 1.4 mrg xcb_generic_iterator_t 734 1.4 mrg xcb_dri3_get_supported_modifiers_screen_modifiers_end (const xcb_dri3_get_supported_modifiers_reply_t *R); 735 1.4 mrg 736 1.4 mrg /** 737 1.4 mrg * Return the reply 738 1.4 mrg * @param c The connection 739 1.4 mrg * @param cookie The cookie 740 1.4 mrg * @param e The xcb_generic_error_t supplied 741 1.4 mrg * 742 1.4 mrg * Returns the reply of the request asked by 743 1.4 mrg * 744 1.4 mrg * The parameter @p e supplied to this function must be NULL if 745 1.4 mrg * xcb_dri3_get_supported_modifiers_unchecked(). is used. 746 1.4 mrg * Otherwise, it stores the error if any. 747 1.4 mrg * 748 1.4 mrg * The returned value must be freed by the caller using free(). 749 1.4 mrg */ 750 1.4 mrg xcb_dri3_get_supported_modifiers_reply_t * 751 1.4 mrg xcb_dri3_get_supported_modifiers_reply (xcb_connection_t *c, 752 1.4 mrg xcb_dri3_get_supported_modifiers_cookie_t cookie /**< */, 753 1.4 mrg xcb_generic_error_t **e); 754 1.4 mrg 755 1.4 mrg /** 756 1.4 mrg * 757 1.4 mrg * @param c The connection 758 1.4 mrg * @return A cookie 759 1.4 mrg * 760 1.4 mrg * Delivers a request to the X server. 761 1.4 mrg * 762 1.4 mrg * This form can be used only if the request will not cause 763 1.4 mrg * a reply to be generated. Any returned error will be 764 1.4 mrg * saved for handling by xcb_request_check(). 765 1.4 mrg */ 766 1.4 mrg xcb_void_cookie_t 767 1.4 mrg xcb_dri3_pixmap_from_buffers_checked (xcb_connection_t *c, 768 1.4 mrg xcb_pixmap_t pixmap, 769 1.4 mrg xcb_window_t window, 770 1.4 mrg uint8_t num_buffers, 771 1.4 mrg uint16_t width, 772 1.4 mrg uint16_t height, 773 1.4 mrg uint32_t stride0, 774 1.4 mrg uint32_t offset0, 775 1.4 mrg uint32_t stride1, 776 1.4 mrg uint32_t offset1, 777 1.4 mrg uint32_t stride2, 778 1.4 mrg uint32_t offset2, 779 1.4 mrg uint32_t stride3, 780 1.4 mrg uint32_t offset3, 781 1.4 mrg uint8_t depth, 782 1.4 mrg uint8_t bpp, 783 1.4 mrg uint64_t modifier, 784 1.4 mrg const int32_t *buffers); 785 1.4 mrg 786 1.4 mrg /** 787 1.4 mrg * 788 1.4 mrg * @param c The connection 789 1.4 mrg * @return A cookie 790 1.4 mrg * 791 1.4 mrg * Delivers a request to the X server. 792 1.4 mrg * 793 1.4 mrg */ 794 1.4 mrg xcb_void_cookie_t 795 1.4 mrg xcb_dri3_pixmap_from_buffers (xcb_connection_t *c, 796 1.4 mrg xcb_pixmap_t pixmap, 797 1.4 mrg xcb_window_t window, 798 1.4 mrg uint8_t num_buffers, 799 1.4 mrg uint16_t width, 800 1.4 mrg uint16_t height, 801 1.4 mrg uint32_t stride0, 802 1.4 mrg uint32_t offset0, 803 1.4 mrg uint32_t stride1, 804 1.4 mrg uint32_t offset1, 805 1.4 mrg uint32_t stride2, 806 1.4 mrg uint32_t offset2, 807 1.4 mrg uint32_t stride3, 808 1.4 mrg uint32_t offset3, 809 1.4 mrg uint8_t depth, 810 1.4 mrg uint8_t bpp, 811 1.4 mrg uint64_t modifier, 812 1.4 mrg const int32_t *buffers); 813 1.4 mrg 814 1.4 mrg int 815 1.4 mrg xcb_dri3_buffers_from_pixmap_sizeof (const void *_buffer, 816 1.4 mrg int32_t buffers); 817 1.4 mrg 818 1.4 mrg /** 819 1.4 mrg * 820 1.4 mrg * @param c The connection 821 1.4 mrg * @return A cookie 822 1.4 mrg * 823 1.4 mrg * Delivers a request to the X server. 824 1.4 mrg * 825 1.4 mrg */ 826 1.4 mrg xcb_dri3_buffers_from_pixmap_cookie_t 827 1.4 mrg xcb_dri3_buffers_from_pixmap (xcb_connection_t *c, 828 1.4 mrg xcb_pixmap_t pixmap); 829 1.4 mrg 830 1.4 mrg /** 831 1.4 mrg * 832 1.4 mrg * @param c The connection 833 1.4 mrg * @return A cookie 834 1.4 mrg * 835 1.4 mrg * Delivers a request to the X server. 836 1.4 mrg * 837 1.4 mrg * This form can be used only if the request will cause 838 1.4 mrg * a reply to be generated. Any returned error will be 839 1.4 mrg * placed in the event queue. 840 1.4 mrg */ 841 1.4 mrg xcb_dri3_buffers_from_pixmap_cookie_t 842 1.4 mrg xcb_dri3_buffers_from_pixmap_unchecked (xcb_connection_t *c, 843 1.4 mrg xcb_pixmap_t pixmap); 844 1.4 mrg 845 1.4 mrg uint32_t * 846 1.4 mrg xcb_dri3_buffers_from_pixmap_strides (const xcb_dri3_buffers_from_pixmap_reply_t *R); 847 1.4 mrg 848 1.4 mrg int 849 1.4 mrg xcb_dri3_buffers_from_pixmap_strides_length (const xcb_dri3_buffers_from_pixmap_reply_t *R); 850 1.4 mrg 851 1.4 mrg xcb_generic_iterator_t 852 1.4 mrg xcb_dri3_buffers_from_pixmap_strides_end (const xcb_dri3_buffers_from_pixmap_reply_t *R); 853 1.4 mrg 854 1.4 mrg uint32_t * 855 1.4 mrg xcb_dri3_buffers_from_pixmap_offsets (const xcb_dri3_buffers_from_pixmap_reply_t *R); 856 1.4 mrg 857 1.4 mrg int 858 1.4 mrg xcb_dri3_buffers_from_pixmap_offsets_length (const xcb_dri3_buffers_from_pixmap_reply_t *R); 859 1.4 mrg 860 1.4 mrg xcb_generic_iterator_t 861 1.4 mrg xcb_dri3_buffers_from_pixmap_offsets_end (const xcb_dri3_buffers_from_pixmap_reply_t *R); 862 1.4 mrg 863 1.4 mrg int32_t * 864 1.4 mrg xcb_dri3_buffers_from_pixmap_buffers (const xcb_dri3_buffers_from_pixmap_reply_t *R); 865 1.4 mrg 866 1.4 mrg int 867 1.4 mrg xcb_dri3_buffers_from_pixmap_buffers_length (const xcb_dri3_buffers_from_pixmap_reply_t *R); 868 1.4 mrg 869 1.4 mrg xcb_generic_iterator_t 870 1.4 mrg xcb_dri3_buffers_from_pixmap_buffers_end (const xcb_dri3_buffers_from_pixmap_reply_t *R); 871 1.4 mrg 872 1.4 mrg /** 873 1.4 mrg * Return the reply 874 1.4 mrg * @param c The connection 875 1.4 mrg * @param cookie The cookie 876 1.4 mrg * @param e The xcb_generic_error_t supplied 877 1.4 mrg * 878 1.4 mrg * Returns the reply of the request asked by 879 1.4 mrg * 880 1.4 mrg * The parameter @p e supplied to this function must be NULL if 881 1.4 mrg * xcb_dri3_buffers_from_pixmap_unchecked(). is used. 882 1.4 mrg * Otherwise, it stores the error if any. 883 1.4 mrg * 884 1.4 mrg * The returned value must be freed by the caller using free(). 885 1.4 mrg */ 886 1.4 mrg xcb_dri3_buffers_from_pixmap_reply_t * 887 1.4 mrg xcb_dri3_buffers_from_pixmap_reply (xcb_connection_t *c, 888 1.4 mrg xcb_dri3_buffers_from_pixmap_cookie_t cookie /**< */, 889 1.4 mrg xcb_generic_error_t **e); 890 1.4 mrg 891 1.4 mrg /** 892 1.4 mrg * Return the reply fds 893 1.4 mrg * @param c The connection 894 1.4 mrg * @param reply The reply 895 1.4 mrg * 896 1.5 mrg * Returns a pointer to the array of reply fds of the reply. 897 1.4 mrg * 898 1.5 mrg * The returned value points into the reply and must not be free(). 899 1.5 mrg * The fds are not managed by xcb. You must close() them before freeing the reply. 900 1.4 mrg */ 901 1.4 mrg int * 902 1.4 mrg xcb_dri3_buffers_from_pixmap_reply_fds (xcb_connection_t *c /**< */, 903 1.4 mrg xcb_dri3_buffers_from_pixmap_reply_t *reply); 904 1.4 mrg 905 1.5 mrg /** 906 1.5 mrg * 907 1.5 mrg * @param c The connection 908 1.5 mrg * @return A cookie 909 1.5 mrg * 910 1.5 mrg * Delivers a request to the X server. 911 1.5 mrg * 912 1.5 mrg * This form can be used only if the request will not cause 913 1.5 mrg * a reply to be generated. Any returned error will be 914 1.5 mrg * saved for handling by xcb_request_check(). 915 1.5 mrg */ 916 1.5 mrg xcb_void_cookie_t 917 1.5 mrg xcb_dri3_set_drm_device_in_use_checked (xcb_connection_t *c, 918 1.5 mrg xcb_window_t window, 919 1.5 mrg uint32_t drmMajor, 920 1.5 mrg uint32_t drmMinor); 921 1.5 mrg 922 1.5 mrg /** 923 1.5 mrg * 924 1.5 mrg * @param c The connection 925 1.5 mrg * @return A cookie 926 1.5 mrg * 927 1.5 mrg * Delivers a request to the X server. 928 1.5 mrg * 929 1.5 mrg */ 930 1.5 mrg xcb_void_cookie_t 931 1.5 mrg xcb_dri3_set_drm_device_in_use (xcb_connection_t *c, 932 1.5 mrg xcb_window_t window, 933 1.5 mrg uint32_t drmMajor, 934 1.5 mrg uint32_t drmMinor); 935 1.5 mrg 936 1.6 mrg /** 937 1.6 mrg * 938 1.6 mrg * @param c The connection 939 1.6 mrg * @return A cookie 940 1.6 mrg * 941 1.6 mrg * Delivers a request to the X server. 942 1.6 mrg * 943 1.6 mrg * This form can be used only if the request will not cause 944 1.6 mrg * a reply to be generated. Any returned error will be 945 1.6 mrg * saved for handling by xcb_request_check(). 946 1.6 mrg */ 947 1.6 mrg xcb_void_cookie_t 948 1.6 mrg xcb_dri3_import_syncobj_checked (xcb_connection_t *c, 949 1.6 mrg xcb_dri3_syncobj_t syncobj, 950 1.6 mrg xcb_drawable_t drawable, 951 1.6 mrg int32_t syncobj_fd); 952 1.6 mrg 953 1.6 mrg /** 954 1.6 mrg * 955 1.6 mrg * @param c The connection 956 1.6 mrg * @return A cookie 957 1.6 mrg * 958 1.6 mrg * Delivers a request to the X server. 959 1.6 mrg * 960 1.6 mrg */ 961 1.6 mrg xcb_void_cookie_t 962 1.6 mrg xcb_dri3_import_syncobj (xcb_connection_t *c, 963 1.6 mrg xcb_dri3_syncobj_t syncobj, 964 1.6 mrg xcb_drawable_t drawable, 965 1.6 mrg int32_t syncobj_fd); 966 1.6 mrg 967 1.6 mrg /** 968 1.6 mrg * 969 1.6 mrg * @param c The connection 970 1.6 mrg * @return A cookie 971 1.6 mrg * 972 1.6 mrg * Delivers a request to the X server. 973 1.6 mrg * 974 1.6 mrg * This form can be used only if the request will not cause 975 1.6 mrg * a reply to be generated. Any returned error will be 976 1.6 mrg * saved for handling by xcb_request_check(). 977 1.6 mrg */ 978 1.6 mrg xcb_void_cookie_t 979 1.6 mrg xcb_dri3_free_syncobj_checked (xcb_connection_t *c, 980 1.6 mrg xcb_dri3_syncobj_t syncobj); 981 1.6 mrg 982 1.6 mrg /** 983 1.6 mrg * 984 1.6 mrg * @param c The connection 985 1.6 mrg * @return A cookie 986 1.6 mrg * 987 1.6 mrg * Delivers a request to the X server. 988 1.6 mrg * 989 1.6 mrg */ 990 1.6 mrg xcb_void_cookie_t 991 1.6 mrg xcb_dri3_free_syncobj (xcb_connection_t *c, 992 1.6 mrg xcb_dri3_syncobj_t syncobj); 993 1.6 mrg 994 1.1 mrg 995 1.1 mrg #ifdef __cplusplus 996 1.1 mrg } 997 1.1 mrg #endif 998 1.1 mrg 999 1.1 mrg #endif 1000 1.1 mrg 1001 1.1 mrg /** 1002 1.1 mrg * @} 1003 1.1 mrg */ 1004