XCB  1.12
dri2.h
1 /*
2  * This file generated automatically from dri2.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __DRI2_H
13 #define __DRI2_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_DRI2_MAJOR_VERSION 1
23 #define XCB_DRI2_MINOR_VERSION 4
24 
25 extern xcb_extension_t xcb_dri2_id;
26 
27 typedef enum xcb_dri2_attachment_t {
28  XCB_DRI2_ATTACHMENT_BUFFER_FRONT_LEFT = 0,
29  XCB_DRI2_ATTACHMENT_BUFFER_BACK_LEFT = 1,
30  XCB_DRI2_ATTACHMENT_BUFFER_FRONT_RIGHT = 2,
31  XCB_DRI2_ATTACHMENT_BUFFER_BACK_RIGHT = 3,
32  XCB_DRI2_ATTACHMENT_BUFFER_DEPTH = 4,
33  XCB_DRI2_ATTACHMENT_BUFFER_STENCIL = 5,
34  XCB_DRI2_ATTACHMENT_BUFFER_ACCUM = 6,
35  XCB_DRI2_ATTACHMENT_BUFFER_FAKE_FRONT_LEFT = 7,
36  XCB_DRI2_ATTACHMENT_BUFFER_FAKE_FRONT_RIGHT = 8,
37  XCB_DRI2_ATTACHMENT_BUFFER_DEPTH_STENCIL = 9,
38  XCB_DRI2_ATTACHMENT_BUFFER_HIZ = 10
39 } xcb_dri2_attachment_t;
40 
41 typedef enum xcb_dri2_driver_type_t {
42  XCB_DRI2_DRIVER_TYPE_DRI = 0,
43  XCB_DRI2_DRIVER_TYPE_VDPAU = 1
44 } xcb_dri2_driver_type_t;
45 
46 typedef enum xcb_dri2_event_type_t {
47  XCB_DRI2_EVENT_TYPE_EXCHANGE_COMPLETE = 1,
48  XCB_DRI2_EVENT_TYPE_BLIT_COMPLETE = 2,
49  XCB_DRI2_EVENT_TYPE_FLIP_COMPLETE = 3
50 } xcb_dri2_event_type_t;
51 
55 typedef struct xcb_dri2_dri2_buffer_t {
56  uint32_t attachment;
57  uint32_t name;
58  uint32_t pitch;
59  uint32_t cpp;
60  uint32_t flags;
62 
68  int rem;
69  int index;
71 
75 typedef struct xcb_dri2_attach_format_t {
76  uint32_t attachment;
77  uint32_t format;
79 
85  int rem;
86  int index;
88 
93  unsigned int sequence;
95 
97 #define XCB_DRI2_QUERY_VERSION 0
98 
103  uint8_t major_opcode;
104  uint8_t minor_opcode;
105  uint16_t length;
106  uint32_t major_version;
107  uint32_t minor_version;
109 
114  uint8_t response_type;
115  uint8_t pad0;
116  uint16_t sequence;
117  uint32_t length;
118  uint32_t major_version;
119  uint32_t minor_version;
121 
126  unsigned int sequence;
128 
130 #define XCB_DRI2_CONNECT 1
131 
136  uint8_t major_opcode;
137  uint8_t minor_opcode;
138  uint16_t length;
139  xcb_window_t window;
140  uint32_t driver_type;
142 
146 typedef struct xcb_dri2_connect_reply_t {
147  uint8_t response_type;
148  uint8_t pad0;
149  uint16_t sequence;
150  uint32_t length;
151  uint32_t driver_name_length;
152  uint32_t device_name_length;
153  uint8_t pad1[16];
155 
160  unsigned int sequence;
162 
164 #define XCB_DRI2_AUTHENTICATE 2
165 
170  uint8_t major_opcode;
171  uint8_t minor_opcode;
172  uint16_t length;
173  xcb_window_t window;
174  uint32_t magic;
176 
181  uint8_t response_type;
182  uint8_t pad0;
183  uint16_t sequence;
184  uint32_t length;
185  uint32_t authenticated;
187 
189 #define XCB_DRI2_CREATE_DRAWABLE 3
190 
195  uint8_t major_opcode;
196  uint8_t minor_opcode;
197  uint16_t length;
198  xcb_drawable_t drawable;
200 
202 #define XCB_DRI2_DESTROY_DRAWABLE 4
203 
208  uint8_t major_opcode;
209  uint8_t minor_opcode;
210  uint16_t length;
211  xcb_drawable_t drawable;
213 
218  unsigned int sequence;
220 
222 #define XCB_DRI2_GET_BUFFERS 5
223 
228  uint8_t major_opcode;
229  uint8_t minor_opcode;
230  uint16_t length;
231  xcb_drawable_t drawable;
232  uint32_t count;
234 
239  uint8_t response_type;
240  uint8_t pad0;
241  uint16_t sequence;
242  uint32_t length;
243  uint32_t width;
244  uint32_t height;
245  uint32_t count;
246  uint8_t pad1[12];
248 
253  unsigned int sequence;
255 
257 #define XCB_DRI2_COPY_REGION 6
258 
263  uint8_t major_opcode;
264  uint8_t minor_opcode;
265  uint16_t length;
266  xcb_drawable_t drawable;
267  uint32_t region;
268  uint32_t dest;
269  uint32_t src;
271 
276  uint8_t response_type;
277  uint8_t pad0;
278  uint16_t sequence;
279  uint32_t length;
281 
286  unsigned int sequence;
288 
290 #define XCB_DRI2_GET_BUFFERS_WITH_FORMAT 7
291 
296  uint8_t major_opcode;
297  uint8_t minor_opcode;
298  uint16_t length;
299  xcb_drawable_t drawable;
300  uint32_t count;
302 
307  uint8_t response_type;
308  uint8_t pad0;
309  uint16_t sequence;
310  uint32_t length;
311  uint32_t width;
312  uint32_t height;
313  uint32_t count;
314  uint8_t pad1[12];
316 
321  unsigned int sequence;
323 
325 #define XCB_DRI2_SWAP_BUFFERS 8
326 
331  uint8_t major_opcode;
332  uint8_t minor_opcode;
333  uint16_t length;
334  xcb_drawable_t drawable;
335  uint32_t target_msc_hi;
336  uint32_t target_msc_lo;
337  uint32_t divisor_hi;
338  uint32_t divisor_lo;
339  uint32_t remainder_hi;
340  uint32_t remainder_lo;
342 
347  uint8_t response_type;
348  uint8_t pad0;
349  uint16_t sequence;
350  uint32_t length;
351  uint32_t swap_hi;
352  uint32_t swap_lo;
354 
359  unsigned int sequence;
361 
363 #define XCB_DRI2_GET_MSC 9
364 
369  uint8_t major_opcode;
370  uint8_t minor_opcode;
371  uint16_t length;
372  xcb_drawable_t drawable;
374 
378 typedef struct xcb_dri2_get_msc_reply_t {
379  uint8_t response_type;
380  uint8_t pad0;
381  uint16_t sequence;
382  uint32_t length;
383  uint32_t ust_hi;
384  uint32_t ust_lo;
385  uint32_t msc_hi;
386  uint32_t msc_lo;
387  uint32_t sbc_hi;
388  uint32_t sbc_lo;
390 
395  unsigned int sequence;
397 
399 #define XCB_DRI2_WAIT_MSC 10
400 
405  uint8_t major_opcode;
406  uint8_t minor_opcode;
407  uint16_t length;
408  xcb_drawable_t drawable;
409  uint32_t target_msc_hi;
410  uint32_t target_msc_lo;
411  uint32_t divisor_hi;
412  uint32_t divisor_lo;
413  uint32_t remainder_hi;
414  uint32_t remainder_lo;
416 
421  uint8_t response_type;
422  uint8_t pad0;
423  uint16_t sequence;
424  uint32_t length;
425  uint32_t ust_hi;
426  uint32_t ust_lo;
427  uint32_t msc_hi;
428  uint32_t msc_lo;
429  uint32_t sbc_hi;
430  uint32_t sbc_lo;
432 
437  unsigned int sequence;
439 
441 #define XCB_DRI2_WAIT_SBC 11
442 
447  uint8_t major_opcode;
448  uint8_t minor_opcode;
449  uint16_t length;
450  xcb_drawable_t drawable;
451  uint32_t target_sbc_hi;
452  uint32_t target_sbc_lo;
454 
459  uint8_t response_type;
460  uint8_t pad0;
461  uint16_t sequence;
462  uint32_t length;
463  uint32_t ust_hi;
464  uint32_t ust_lo;
465  uint32_t msc_hi;
466  uint32_t msc_lo;
467  uint32_t sbc_hi;
468  uint32_t sbc_lo;
470 
472 #define XCB_DRI2_SWAP_INTERVAL 12
473 
478  uint8_t major_opcode;
479  uint8_t minor_opcode;
480  uint16_t length;
481  xcb_drawable_t drawable;
482  uint32_t interval;
484 
489  unsigned int sequence;
491 
493 #define XCB_DRI2_GET_PARAM 13
494 
499  uint8_t major_opcode;
500  uint8_t minor_opcode;
501  uint16_t length;
502  xcb_drawable_t drawable;
503  uint32_t param;
505 
510  uint8_t response_type;
511  uint8_t is_param_recognized;
512  uint16_t sequence;
513  uint32_t length;
514  uint32_t value_hi;
515  uint32_t value_lo;
517 
519 #define XCB_DRI2_BUFFER_SWAP_COMPLETE 0
520 
525  uint8_t response_type;
526  uint8_t pad0;
527  uint16_t sequence;
528  uint16_t event_type;
529  uint8_t pad1[2];
530  xcb_drawable_t drawable;
531  uint32_t ust_hi;
532  uint32_t ust_lo;
533  uint32_t msc_hi;
534  uint32_t msc_lo;
535  uint32_t sbc;
537 
539 #define XCB_DRI2_INVALIDATE_BUFFERS 1
540 
545  uint8_t response_type;
546  uint8_t pad0;
547  uint16_t sequence;
548  xcb_drawable_t drawable;
550 
559 void
561 
573 
582 void
584 
596 
607  uint32_t major_version,
608  uint32_t minor_version);
609 
623  uint32_t major_version,
624  uint32_t minor_version);
625 
643  xcb_generic_error_t **e);
644 
645 int
646 xcb_dri2_connect_sizeof (const void *_buffer);
647 
658  xcb_window_t window,
659  uint32_t driver_type);
660 
674  xcb_window_t window,
675  uint32_t driver_type);
676 
677 char *
678 xcb_dri2_connect_driver_name (const xcb_dri2_connect_reply_t *R);
679 
680 int
681 xcb_dri2_connect_driver_name_length (const xcb_dri2_connect_reply_t *R);
682 
684 xcb_dri2_connect_driver_name_end (const xcb_dri2_connect_reply_t *R);
685 
686 void *
687 xcb_dri2_connect_alignment_pad (const xcb_dri2_connect_reply_t *R);
688 
689 int
690 xcb_dri2_connect_alignment_pad_length (const xcb_dri2_connect_reply_t *R);
691 
693 xcb_dri2_connect_alignment_pad_end (const xcb_dri2_connect_reply_t *R);
694 
695 char *
696 xcb_dri2_connect_device_name (const xcb_dri2_connect_reply_t *R);
697 
698 int
699 xcb_dri2_connect_device_name_length (const xcb_dri2_connect_reply_t *R);
700 
702 xcb_dri2_connect_device_name_end (const xcb_dri2_connect_reply_t *R);
703 
721  xcb_generic_error_t **e);
722 
733  xcb_window_t window,
734  uint32_t magic);
735 
749  xcb_window_t window,
750  uint32_t magic);
751 
769  xcb_generic_error_t **e);
770 
784  xcb_drawable_t drawable);
785 
796  xcb_drawable_t drawable);
797 
811  xcb_drawable_t drawable);
812 
823  xcb_drawable_t drawable);
824 
825 int
826 xcb_dri2_get_buffers_sizeof (const void *_buffer,
827  uint32_t attachments_len);
828 
839  xcb_drawable_t drawable,
840  uint32_t count,
841  uint32_t attachments_len,
842  const uint32_t *attachments);
843 
857  xcb_drawable_t drawable,
858  uint32_t count,
859  uint32_t attachments_len,
860  const uint32_t *attachments);
861 
863 xcb_dri2_get_buffers_buffers (const xcb_dri2_get_buffers_reply_t *R);
864 
865 int
866 xcb_dri2_get_buffers_buffers_length (const xcb_dri2_get_buffers_reply_t *R);
867 
869 xcb_dri2_get_buffers_buffers_iterator (const xcb_dri2_get_buffers_reply_t *R);
870 
888  xcb_generic_error_t **e);
889 
900  xcb_drawable_t drawable,
901  uint32_t region,
902  uint32_t dest,
903  uint32_t src);
904 
918  xcb_drawable_t drawable,
919  uint32_t region,
920  uint32_t dest,
921  uint32_t src);
922 
940  xcb_generic_error_t **e);
941 
942 int
943 xcb_dri2_get_buffers_with_format_sizeof (const void *_buffer,
944  uint32_t attachments_len);
945 
956  xcb_drawable_t drawable,
957  uint32_t count,
958  uint32_t attachments_len,
959  const xcb_dri2_attach_format_t *attachments);
960 
974  xcb_drawable_t drawable,
975  uint32_t count,
976  uint32_t attachments_len,
977  const xcb_dri2_attach_format_t *attachments);
978 
980 xcb_dri2_get_buffers_with_format_buffers (const xcb_dri2_get_buffers_with_format_reply_t *R);
981 
982 int
983 xcb_dri2_get_buffers_with_format_buffers_length (const xcb_dri2_get_buffers_with_format_reply_t *R);
984 
986 xcb_dri2_get_buffers_with_format_buffers_iterator (const xcb_dri2_get_buffers_with_format_reply_t *R);
987 
1005  xcb_generic_error_t **e);
1006 
1017  xcb_drawable_t drawable,
1018  uint32_t target_msc_hi,
1019  uint32_t target_msc_lo,
1020  uint32_t divisor_hi,
1021  uint32_t divisor_lo,
1022  uint32_t remainder_hi,
1023  uint32_t remainder_lo);
1024 
1038  xcb_drawable_t drawable,
1039  uint32_t target_msc_hi,
1040  uint32_t target_msc_lo,
1041  uint32_t divisor_hi,
1042  uint32_t divisor_lo,
1043  uint32_t remainder_hi,
1044  uint32_t remainder_lo);
1045 
1063  xcb_generic_error_t **e);
1064 
1075  xcb_drawable_t drawable);
1076 
1090  xcb_drawable_t drawable);
1091 
1108  xcb_dri2_get_msc_cookie_t cookie ,
1109  xcb_generic_error_t **e);
1110 
1121  xcb_drawable_t drawable,
1122  uint32_t target_msc_hi,
1123  uint32_t target_msc_lo,
1124  uint32_t divisor_hi,
1125  uint32_t divisor_lo,
1126  uint32_t remainder_hi,
1127  uint32_t remainder_lo);
1128 
1142  xcb_drawable_t drawable,
1143  uint32_t target_msc_hi,
1144  uint32_t target_msc_lo,
1145  uint32_t divisor_hi,
1146  uint32_t divisor_lo,
1147  uint32_t remainder_hi,
1148  uint32_t remainder_lo);
1149 
1167  xcb_generic_error_t **e);
1168 
1179  xcb_drawable_t drawable,
1180  uint32_t target_sbc_hi,
1181  uint32_t target_sbc_lo);
1182 
1196  xcb_drawable_t drawable,
1197  uint32_t target_sbc_hi,
1198  uint32_t target_sbc_lo);
1199 
1217  xcb_generic_error_t **e);
1218 
1232  xcb_drawable_t drawable,
1233  uint32_t interval);
1234 
1245  xcb_drawable_t drawable,
1246  uint32_t interval);
1247 
1258  xcb_drawable_t drawable,
1259  uint32_t param);
1260 
1274  xcb_drawable_t drawable,
1275  uint32_t param);
1276 
1294  xcb_generic_error_t **e);
1295 
1296 
1297 #ifdef __cplusplus
1298 }
1299 #endif
1300 
1301 #endif
1302 
xcb_dri2_get_param_cookie_t xcb_dri2_get_param(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t param)
Definition: dri2.c:1165
xcb_dri2_get_param_request_t
Definition: dri2.h:498
Generic error.
Definition: xcb.h:170
xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t count, uint32_t attachments_len, const xcb_dri2_attach_format_t *attachments)
Definition: dri2.c:713
struct xcb_dri2_get_buffers_with_format_reply_t xcb_dri2_get_buffers_with_format_reply_t
xcb_dri2_get_buffers_with_format_reply_t
xcb_dri2_authenticate_request_t
Definition: dri2.h:169
xcb_dri2_query_version_cookie_t xcb_dri2_query_version(xcb_connection_t *c, uint32_t major_version, uint32_t minor_version)
Definition: dri2.c:58
xcb_dri2_get_buffers_request_t
Definition: dri2.h:227
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_unchecked(xcb_connection_t *c, xcb_window_t window, uint32_t magic)
Definition: dri2.c:339
xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_msc_hi, uint32_t target_msc_lo, uint32_t divisor_hi, uint32_t divisor_lo, uint32_t remainder_hi, uint32_t remainder_lo)
Definition: dri2.c:957
struct xcb_dri2_get_msc_request_t xcb_dri2_get_msc_request_t
xcb_dri2_get_msc_request_t
struct xcb_dri2_destroy_drawable_request_t xcb_dri2_destroy_drawable_request_t
xcb_dri2_destroy_drawable_request_t
struct xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers_cookie_t
xcb_dri2_get_buffers_cookie_t
xcb_dri2_query_version_reply_t * xcb_dri2_query_version_reply(xcb_connection_t *c, xcb_dri2_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:114
xcb_dri2_swap_interval_request_t
Definition: dri2.h:477
xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t region, uint32_t dest, uint32_t src)
Definition: dri2.c:610
xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t count, uint32_t attachments_len, const xcb_dri2_attach_format_t *attachments)
Definition: dri2.c:748
struct xcb_dri2_query_version_request_t xcb_dri2_query_version_request_t
xcb_dri2_query_version_request_t
xcb_dri2_connect_cookie_t xcb_dri2_connect(xcb_connection_t *c, xcb_window_t window, uint32_t driver_type)
Definition: dri2.c:177
xcb_generic_iterator_t xcb_dri2_attach_format_end(xcb_dri2_attach_format_iterator_t i)
Definition: dri2.c:48
struct xcb_dri2_wait_msc_reply_t xcb_dri2_wait_msc_reply_t
xcb_dri2_wait_msc_reply_t
xcb_dri2_swap_buffers_reply_t
Definition: dri2.h:346
struct xcb_dri2_query_version_reply_t xcb_dri2_query_version_reply_t
xcb_dri2_query_version_reply_t
struct xcb_dri2_connect_request_t xcb_dri2_connect_request_t
xcb_dri2_connect_request_t
Definition: xcbext.h:39
struct xcb_dri2_attach_format_iterator_t xcb_dri2_attach_format_iterator_t
xcb_dri2_attach_format_iterator_t
xcb_dri2_get_buffers_with_format_request_t
Definition: dri2.h:295
xcb_dri2_copy_region_reply_t * xcb_dri2_copy_region_reply(xcb_connection_t *c, xcb_dri2_copy_region_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:674
xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_msc_hi, uint32_t target_msc_lo, uint32_t divisor_hi, uint32_t divisor_lo, uint32_t remainder_hi, uint32_t remainder_lo)
Definition: dri2.c:813
xcb_dri2_wait_sbc_reply_t * xcb_dri2_wait_sbc_reply(xcb_connection_t *c, xcb_dri2_wait_sbc_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:1101
struct xcb_dri2_connect_cookie_t xcb_dri2_connect_cookie_t
xcb_dri2_connect_cookie_t
struct xcb_dri2_get_msc_reply_t xcb_dri2_get_msc_reply_t
xcb_dri2_get_msc_reply_t
struct xcb_dri2_swap_buffers_reply_t xcb_dri2_swap_buffers_reply_t
xcb_dri2_swap_buffers_reply_t
struct xcb_dri2_invalidate_buffers_event_t xcb_dri2_invalidate_buffers_event_t
xcb_dri2_invalidate_buffers_event_t
xcb_dri2_wait_msc_reply_t
Definition: dri2.h:420
xcb_dri2_attach_format_iterator_t
Definition: dri2.h:83
Generic iterator.
Definition: xcb.h:114
xcb_dri2_copy_region_reply_t
Definition: dri2.h:275
xcb_void_cookie_t xcb_dri2_create_drawable(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:401
struct xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_cookie_t
xcb_dri2_copy_region_cookie_t
struct xcb_dri2_wait_sbc_request_t xcb_dri2_wait_sbc_request_t
xcb_dri2_wait_sbc_request_t
struct xcb_dri2_get_buffers_with_format_request_t xcb_dri2_get_buffers_with_format_request_t
xcb_dri2_get_buffers_with_format_request_t
xcb_dri2_connect_reply_t * xcb_dri2_connect_reply(xcb_connection_t *c, xcb_dri2_connect_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:303
xcb_dri2_get_buffers_reply_t * xcb_dri2_get_buffers_reply(xcb_connection_t *c, xcb_dri2_get_buffers_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:602
xcb_dri2_connect_reply_t
Definition: dri2.h:146
xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t count, uint32_t attachments_len, const uint32_t *attachments)
Definition: dri2.c:545
struct xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_reply_t
Definition: dri2.h:180
xcb_dri2_wait_sbc_request_t
Definition: dri2.h:446
struct xcb_dri2_wait_msc_request_t xcb_dri2_wait_msc_request_t
xcb_dri2_wait_msc_request_t
xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_msc_hi, uint32_t target_msc_lo, uint32_t divisor_hi, uint32_t divisor_lo, uint32_t remainder_hi, uint32_t remainder_lo)
Definition: dri2.c:851
struct xcb_dri2_copy_region_request_t xcb_dri2_copy_region_request_t
xcb_dri2_copy_region_request_t
xcb_void_cookie_t xcb_dri2_create_drawable_checked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:375
xcb_generic_iterator_t xcb_dri2_dri2_buffer_end(xcb_dri2_dri2_buffer_iterator_t i)
Definition: dri2.c:30
xcb_dri2_invalidate_buffers_event_t
Definition: dri2.h:544
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:897
struct xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format_cookie_t
xcb_dri2_get_buffers_with_format_cookie_t
xcb_dri2_dri2_buffer_iterator_t
Definition: dri2.h:66
xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t region, uint32_t dest, uint32_t src)
Definition: dri2.c:642
xcb_dri2_get_msc_reply_t
Definition: dri2.h:378
struct xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_cookie_t
xcb_dri2_swap_buffers_cookie_t
xcb_dri2_get_msc_reply_t * xcb_dri2_get_msc_reply(xcb_connection_t *c, xcb_dri2_get_msc_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:949
xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_msc_hi, uint32_t target_msc_lo, uint32_t divisor_hi, uint32_t divisor_lo, uint32_t remainder_hi, uint32_t remainder_lo)
Definition: dri2.c:995
xcb_dri2_swap_buffers_request_t
Definition: dri2.h:330
struct xcb_dri2_get_param_request_t xcb_dri2_get_param_request_t
xcb_dri2_get_param_request_t
struct xcb_dri2_query_version_cookie_t xcb_dri2_query_version_cookie_t
xcb_dri2_query_version_cookie_t
xcb_dri2_copy_region_request_t
Definition: dri2.h:262
xcb_dri2_query_version_reply_t
Definition: dri2.h:113
struct xcb_dri2_copy_region_reply_t xcb_dri2_copy_region_reply_t
xcb_dri2_copy_region_reply_t
struct xcb_dri2_buffer_swap_complete_event_t xcb_dri2_buffer_swap_complete_event_t
xcb_dri2_buffer_swap_complete_event_t
xcb_dri2_buffer_swap_complete_event_t
Definition: dri2.h:524
void xcb_dri2_dri2_buffer_next(xcb_dri2_dri2_buffer_iterator_t *i)
Definition: dri2.c:22
xcb_dri2_destroy_drawable_request_t
Definition: dri2.h:207
xcb_dri2_get_buffers_with_format_reply_t * xcb_dri2_get_buffers_with_format_reply(xcb_connection_t *c, xcb_dri2_get_buffers_with_format_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:805
xcb_void_cookie_t xcb_dri2_destroy_drawable(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:453
struct xcb_dri2_dri2_buffer_t xcb_dri2_dri2_buffer_t
xcb_dri2_dri2_buffer_t
xcb_void_cookie_t xcb_dri2_destroy_drawable_checked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:427
xcb_dri2_get_param_cookie_t xcb_dri2_get_param_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t param)
Definition: dri2.c:1193
void xcb_dri2_attach_format_next(xcb_dri2_attach_format_iterator_t *i)
Definition: dri2.c:40
struct xcb_dri2_attach_format_t xcb_dri2_attach_format_t
xcb_dri2_attach_format_t
xcb_void_cookie_t xcb_dri2_swap_interval_checked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t interval)
Definition: dri2.c:1109
struct xcb_dri2_authenticate_request_t xcb_dri2_authenticate_request_t
xcb_dri2_authenticate_request_t
xcb_dri2_get_buffers_with_format_reply_t
Definition: dri2.h:306
xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_unchecked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_sbc_hi, uint32_t target_sbc_lo)
Definition: dri2.c:1071
xcb_dri2_get_param_reply_t * xcb_dri2_get_param_reply(xcb_connection_t *c, xcb_dri2_get_param_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:1221
struct xcb_dri2_wait_sbc_reply_t xcb_dri2_wait_sbc_reply_t
xcb_dri2_wait_sbc_reply_t
xcb_dri2_create_drawable_request_t
Definition: dri2.h:194
xcb_dri2_get_msc_request_t
Definition: dri2.h:368
xcb_dri2_query_version_request_t
Definition: dri2.h:102
xcb_dri2_swap_buffers_reply_t * xcb_dri2_swap_buffers_reply(xcb_connection_t *c, xcb_dri2_swap_buffers_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:889
xcb_void_cookie_t xcb_dri2_swap_interval(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t interval)
Definition: dri2.c:1137
struct xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_cookie_t
xcb_dri2_wait_sbc_cookie_t
struct xcb_dri2_swap_interval_request_t xcb_dri2_swap_interval_request_t
xcb_dri2_swap_interval_request_t
struct xcb_dri2_get_buffers_reply_t xcb_dri2_get_buffers_reply_t
xcb_dri2_get_buffers_reply_t
xcb_dri2_attach_format_t
Definition: dri2.h:75
struct xcb_dri2_get_param_cookie_t xcb_dri2_get_param_cookie_t
xcb_dri2_get_param_cookie_t
xcb_dri2_wait_msc_reply_t * xcb_dri2_wait_msc_reply(xcb_connection_t *c, xcb_dri2_wait_msc_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:1033
struct xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_unchecked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:923
xcb_dri2_get_param_reply_t
Definition: dri2.h:509
struct xcb_dri2_swap_buffers_request_t xcb_dri2_swap_buffers_request_t
xcb_dri2_swap_buffers_request_t
xcb_dri2_authenticate_reply_t * xcb_dri2_authenticate_reply(xcb_connection_t *c, xcb_dri2_authenticate_cookie_t cookie, xcb_generic_error_t **e)
Definition: dri2.c:367
struct xcb_dri2_dri2_buffer_iterator_t xcb_dri2_dri2_buffer_iterator_t
xcb_dri2_dri2_buffer_iterator_t
xcb_dri2_get_buffers_reply_t
Definition: dri2.h:238
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate(xcb_connection_t *c, xcb_window_t window, uint32_t magic)
Definition: dri2.c:311
xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t target_sbc_hi, uint32_t target_sbc_lo)
Definition: dri2.c:1041
Definition: xcbint.h:198
struct xcb_dri2_get_param_reply_t xcb_dri2_get_param_reply_t
xcb_dri2_get_param_reply_t
struct xcb_dri2_create_drawable_request_t xcb_dri2_create_drawable_request_t
xcb_dri2_create_drawable_request_t
xcb_dri2_connect_cookie_t xcb_dri2_connect_unchecked(xcb_connection_t *c, xcb_window_t window, uint32_t driver_type)
Definition: dri2.c:205
struct xcb_dri2_get_buffers_request_t xcb_dri2_get_buffers_request_t
xcb_dri2_get_buffers_request_t
xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t count, uint32_t attachments_len, const uint32_t *attachments)
Definition: dri2.c:510
xcb_dri2_connect_request_t
Definition: dri2.h:135
xcb_dri2_query_version_cookie_t xcb_dri2_query_version_unchecked(xcb_connection_t *c, uint32_t major_version, uint32_t minor_version)
Definition: dri2.c:86
xcb_dri2_dri2_buffer_t
Definition: dri2.h:55
xcb_dri2_wait_msc_request_t
Definition: dri2.h:404
struct xcb_dri2_connect_reply_t xcb_dri2_connect_reply_t
xcb_dri2_connect_reply_t
struct xcb_dri2_authenticate_reply_t xcb_dri2_authenticate_reply_t
xcb_dri2_authenticate_reply_t
struct xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc_cookie_t
xcb_dri2_wait_msc_cookie_t
xcb_dri2_wait_sbc_reply_t
Definition: dri2.h:458