XCB: dri2.h Source File

XCB 1.10

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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;
61 } xcb_dri2_dri2_buffer_t;
62
66 typedef struct xcb_dri2_dri2_buffer_iterator_t {
67 xcb_dri2_dri2_buffer_t *data;
68 int rem;
69 int index;
70 } xcb_dri2_dri2_buffer_iterator_t;
71
75 typedef struct xcb_dri2_attach_format_t {
76 uint32_t attachment;
77 uint32_t format;
78 } xcb_dri2_attach_format_t;
79
83 typedef struct xcb_dri2_attach_format_iterator_t {
84 xcb_dri2_attach_format_t *data;
85 int rem;
86 int index;
87 } xcb_dri2_attach_format_iterator_t;
88
92 typedef struct xcb_dri2_query_version_cookie_t {
93 unsigned int sequence;
94 } xcb_dri2_query_version_cookie_t;
95
97 #define XCB_DRI2_QUERY_VERSION 0
98
102 typedef struct xcb_dri2_query_version_request_t {
103 uint8_t major_opcode;
104 uint8_t minor_opcode;
105 uint16_t length;
106 uint32_t major_version;
107 uint32_t minor_version;
108 } xcb_dri2_query_version_request_t;
109
113 typedef struct xcb_dri2_query_version_reply_t {
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;
120 } xcb_dri2_query_version_reply_t;
121
125 typedef struct xcb_dri2_connect_cookie_t {
126 unsigned int sequence;
127 } xcb_dri2_connect_cookie_t;
128
130 #define XCB_DRI2_CONNECT 1
131
135 typedef struct xcb_dri2_connect_request_t {
136 uint8_t major_opcode;
137 uint8_t minor_opcode;
138 uint16_t length;
139 xcb_window_t window;
140 uint32_t driver_type;
141 } xcb_dri2_connect_request_t;
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];
154 } xcb_dri2_connect_reply_t;
155
159 typedef struct xcb_dri2_authenticate_cookie_t {
160 unsigned int sequence;
161 } xcb_dri2_authenticate_cookie_t;
162
164 #define XCB_DRI2_AUTHENTICATE 2
165
169 typedef struct xcb_dri2_authenticate_request_t {
170 uint8_t major_opcode;
171 uint8_t minor_opcode;
172 uint16_t length;
173 xcb_window_t window;
174 uint32_t magic;
175 } xcb_dri2_authenticate_request_t;
176
180 typedef struct xcb_dri2_authenticate_reply_t {
181 uint8_t response_type;
182 uint8_t pad0;
183 uint16_t sequence;
184 uint32_t length;
185 uint32_t authenticated;
186 } xcb_dri2_authenticate_reply_t;
187
189 #define XCB_DRI2_CREATE_DRAWABLE 3
190
194 typedef struct xcb_dri2_create_drawable_request_t {
195 uint8_t major_opcode;
196 uint8_t minor_opcode;
197 uint16_t length;
198 xcb_drawable_t drawable;
199 } xcb_dri2_create_drawable_request_t;
200
202 #define XCB_DRI2_DESTROY_DRAWABLE 4
203
207 typedef struct xcb_dri2_destroy_drawable_request_t {
208 uint8_t major_opcode;
209 uint8_t minor_opcode;
210 uint16_t length;
211 xcb_drawable_t drawable;
212 } xcb_dri2_destroy_drawable_request_t;
213
217 typedef struct xcb_dri2_get_buffers_cookie_t {
218 unsigned int sequence;
219 } xcb_dri2_get_buffers_cookie_t;
220
222 #define XCB_DRI2_GET_BUFFERS 5
223
227 typedef struct xcb_dri2_get_buffers_request_t {
228 uint8_t major_opcode;
229 uint8_t minor_opcode;
230 uint16_t length;
231 xcb_drawable_t drawable;
232 uint32_t count;
233 } xcb_dri2_get_buffers_request_t;
234
238 typedef struct xcb_dri2_get_buffers_reply_t {
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];
247 } xcb_dri2_get_buffers_reply_t;
248
252 typedef struct xcb_dri2_copy_region_cookie_t {
253 unsigned int sequence;
254 } xcb_dri2_copy_region_cookie_t;
255
257 #define XCB_DRI2_COPY_REGION 6
258
262 typedef struct xcb_dri2_copy_region_request_t {
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;
270 } xcb_dri2_copy_region_request_t;
271
275 typedef struct xcb_dri2_copy_region_reply_t {
276 uint8_t response_type;
277 uint8_t pad0;
278 uint16_t sequence;
279 uint32_t length;
280 } xcb_dri2_copy_region_reply_t;
281
285 typedef struct xcb_dri2_get_buffers_with_format_cookie_t {
286 unsigned int sequence;
287 } xcb_dri2_get_buffers_with_format_cookie_t;
288
290 #define XCB_DRI2_GET_BUFFERS_WITH_FORMAT 7
291
295 typedef struct xcb_dri2_get_buffers_with_format_request_t {
296 uint8_t major_opcode;
297 uint8_t minor_opcode;
298 uint16_t length;
299 xcb_drawable_t drawable;
300 uint32_t count;
301 } xcb_dri2_get_buffers_with_format_request_t;
302
306 typedef struct xcb_dri2_get_buffers_with_format_reply_t {
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];
315 } xcb_dri2_get_buffers_with_format_reply_t;
316
320 typedef struct xcb_dri2_swap_buffers_cookie_t {
321 unsigned int sequence;
322 } xcb_dri2_swap_buffers_cookie_t;
323
325 #define XCB_DRI2_SWAP_BUFFERS 8
326
330 typedef struct xcb_dri2_swap_buffers_request_t {
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;
341 } xcb_dri2_swap_buffers_request_t;
342
346 typedef struct xcb_dri2_swap_buffers_reply_t {
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;
353 } xcb_dri2_swap_buffers_reply_t;
354
358 typedef struct xcb_dri2_get_msc_cookie_t {
359 unsigned int sequence;
360 } xcb_dri2_get_msc_cookie_t;
361
363 #define XCB_DRI2_GET_MSC 9
364
368 typedef struct xcb_dri2_get_msc_request_t {
369 uint8_t major_opcode;
370 uint8_t minor_opcode;
371 uint16_t length;
372 xcb_drawable_t drawable;
373 } xcb_dri2_get_msc_request_t;
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;
389 } xcb_dri2_get_msc_reply_t;
390
394 typedef struct xcb_dri2_wait_msc_cookie_t {
395 unsigned int sequence;
396 } xcb_dri2_wait_msc_cookie_t;
397
399 #define XCB_DRI2_WAIT_MSC 10
400
404 typedef struct xcb_dri2_wait_msc_request_t {
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;
415 } xcb_dri2_wait_msc_request_t;
416
420 typedef struct xcb_dri2_wait_msc_reply_t {
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;
431 } xcb_dri2_wait_msc_reply_t;
432
436 typedef struct xcb_dri2_wait_sbc_cookie_t {
437 unsigned int sequence;
438 } xcb_dri2_wait_sbc_cookie_t;
439
441 #define XCB_DRI2_WAIT_SBC 11
442
446 typedef struct xcb_dri2_wait_sbc_request_t {
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;
453 } xcb_dri2_wait_sbc_request_t;
454
458 typedef struct xcb_dri2_wait_sbc_reply_t {
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;
469 } xcb_dri2_wait_sbc_reply_t;
470
472 #define XCB_DRI2_SWAP_INTERVAL 12
473
477 typedef struct xcb_dri2_swap_interval_request_t {
478 uint8_t major_opcode;
479 uint8_t minor_opcode;
480 uint16_t length;
481 xcb_drawable_t drawable;
482 uint32_t interval;
483 } xcb_dri2_swap_interval_request_t;
484
488 typedef struct xcb_dri2_get_param_cookie_t {
489 unsigned int sequence;
490 } xcb_dri2_get_param_cookie_t;
491
493 #define XCB_DRI2_GET_PARAM 13
494
498 typedef struct xcb_dri2_get_param_request_t {
499 uint8_t major_opcode;
500 uint8_t minor_opcode;
501 uint16_t length;
502 xcb_drawable_t drawable;
503 uint32_t param;
504 } xcb_dri2_get_param_request_t;
505
509 typedef struct xcb_dri2_get_param_reply_t {
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;
516 } xcb_dri2_get_param_reply_t;
517
519 #define XCB_DRI2_BUFFER_SWAP_COMPLETE 0
520
524 typedef struct xcb_dri2_buffer_swap_complete_event_t {
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;
536 } xcb_dri2_buffer_swap_complete_event_t;
537
539 #define XCB_DRI2_INVALIDATE_BUFFERS 1
540
544 typedef struct xcb_dri2_invalidate_buffers_event_t {
545 uint8_t response_type;
546 uint8_t pad0;
547 uint16_t sequence;
548 xcb_drawable_t drawable;
549 } xcb_dri2_invalidate_buffers_event_t;
550
560 /*****************************************************************************
561 **
562 ** void xcb_dri2_dri2_buffer_next
563 **
564 ** @param xcb_dri2_dri2_buffer_iterator_t *i
565 ** @returns void
566 **
567 *****************************************************************************/
568
569 void
570 xcb_dri2_dri2_buffer_next (xcb_dri2_dri2_buffer_iterator_t *i );
571
582 /*****************************************************************************
583 **
584 ** xcb_generic_iterator_t xcb_dri2_dri2_buffer_end
585 **
586 ** @param xcb_dri2_dri2_buffer_iterator_t i
587 ** @returns xcb_generic_iterator_t
588 **
589 *****************************************************************************/
590
591 xcb_generic_iterator_t
592 xcb_dri2_dri2_buffer_end (xcb_dri2_dri2_buffer_iterator_t i );
593
603 /*****************************************************************************
604 **
605 ** void xcb_dri2_attach_format_next
606 **
607 ** @param xcb_dri2_attach_format_iterator_t *i
608 ** @returns void
609 **
610 *****************************************************************************/
611
612 void
613 xcb_dri2_attach_format_next (xcb_dri2_attach_format_iterator_t *i );
614
625 /*****************************************************************************
626 **
627 ** xcb_generic_iterator_t xcb_dri2_attach_format_end
628 **
629 ** @param xcb_dri2_attach_format_iterator_t i
630 ** @returns xcb_generic_iterator_t
631 **
632 *****************************************************************************/
633
634 xcb_generic_iterator_t
635 xcb_dri2_attach_format_end (xcb_dri2_attach_format_iterator_t i );
636
646 /*****************************************************************************
647 **
648 ** xcb_dri2_query_version_cookie_t xcb_dri2_query_version
649 **
650 ** @param xcb_connection_t *c
651 ** @param uint32_t major_version
652 ** @param uint32_t minor_version
653 ** @returns xcb_dri2_query_version_cookie_t
654 **
655 *****************************************************************************/
656
657 xcb_dri2_query_version_cookie_t
658 xcb_dri2_query_version (xcb_connection_t *c ,
659 uint32_t major_version ,
660 uint32_t minor_version );
661
674 /*****************************************************************************
675 **
676 ** xcb_dri2_query_version_cookie_t xcb_dri2_query_version_unchecked
677 **
678 ** @param xcb_connection_t *c
679 ** @param uint32_t major_version
680 ** @param uint32_t minor_version
681 ** @returns xcb_dri2_query_version_cookie_t
682 **
683 *****************************************************************************/
684
685 xcb_dri2_query_version_cookie_t
686 xcb_dri2_query_version_unchecked (xcb_connection_t *c ,
687 uint32_t major_version ,
688 uint32_t minor_version );
689
705 /*****************************************************************************
706 **
707 ** xcb_dri2_query_version_reply_t * xcb_dri2_query_version_reply
708 **
709 ** @param xcb_connection_t *c
710 ** @param xcb_dri2_query_version_cookie_t cookie
711 ** @param xcb_generic_error_t **e
712 ** @returns xcb_dri2_query_version_reply_t *
713 **
714 *****************************************************************************/
715
716 xcb_dri2_query_version_reply_t *
717 xcb_dri2_query_version_reply (xcb_connection_t *c ,
718 xcb_dri2_query_version_cookie_t cookie ,
719 xcb_generic_error_t **e );
720
721 int
722 xcb_dri2_connect_sizeof (const void *_buffer );
723
733 /*****************************************************************************
734 **
735 ** xcb_dri2_connect_cookie_t xcb_dri2_connect
736 **
737 ** @param xcb_connection_t *c
738 ** @param xcb_window_t window
739 ** @param uint32_t driver_type
740 ** @returns xcb_dri2_connect_cookie_t
741 **
742 *****************************************************************************/
743
744 xcb_dri2_connect_cookie_t
745 xcb_dri2_connect (xcb_connection_t *c ,
746 xcb_window_t window ,
747 uint32_t driver_type );
748
761 /*****************************************************************************
762 **
763 ** xcb_dri2_connect_cookie_t xcb_dri2_connect_unchecked
764 **
765 ** @param xcb_connection_t *c
766 ** @param xcb_window_t window
767 ** @param uint32_t driver_type
768 ** @returns xcb_dri2_connect_cookie_t
769 **
770 *****************************************************************************/
771
772 xcb_dri2_connect_cookie_t
773 xcb_dri2_connect_unchecked (xcb_connection_t *c ,
774 xcb_window_t window ,
775 uint32_t driver_type );
776
777
778 /*****************************************************************************
779 **
780 ** char * xcb_dri2_connect_driver_name
781 **
782 ** @param const xcb_dri2_connect_reply_t *R
783 ** @returns char *
784 **
785 *****************************************************************************/
786
787 char *
788 xcb_dri2_connect_driver_name (const xcb_dri2_connect_reply_t *R );
789
790
791 /*****************************************************************************
792 **
793 ** int xcb_dri2_connect_driver_name_length
794 **
795 ** @param const xcb_dri2_connect_reply_t *R
796 ** @returns int
797 **
798 *****************************************************************************/
799
800 int
801 xcb_dri2_connect_driver_name_length (const xcb_dri2_connect_reply_t *R );
802
803
804 /*****************************************************************************
805 **
806 ** xcb_generic_iterator_t xcb_dri2_connect_driver_name_end
807 **
808 ** @param const xcb_dri2_connect_reply_t *R
809 ** @returns xcb_generic_iterator_t
810 **
811 *****************************************************************************/
812
813 xcb_generic_iterator_t
814 xcb_dri2_connect_driver_name_end (const xcb_dri2_connect_reply_t *R );
815
816
817 /*****************************************************************************
818 **
819 ** void * xcb_dri2_connect_alignment_pad
820 **
821 ** @param const xcb_dri2_connect_reply_t *R
822 ** @returns void *
823 **
824 *****************************************************************************/
825
826 void *
827 xcb_dri2_connect_alignment_pad (const xcb_dri2_connect_reply_t *R );
828
829
830 /*****************************************************************************
831 **
832 ** int xcb_dri2_connect_alignment_pad_length
833 **
834 ** @param const xcb_dri2_connect_reply_t *R
835 ** @returns int
836 **
837 *****************************************************************************/
838
839 int
840 xcb_dri2_connect_alignment_pad_length (const xcb_dri2_connect_reply_t *R );
841
842
843 /*****************************************************************************
844 **
845 ** xcb_generic_iterator_t xcb_dri2_connect_alignment_pad_end
846 **
847 ** @param const xcb_dri2_connect_reply_t *R
848 ** @returns xcb_generic_iterator_t
849 **
850 *****************************************************************************/
851
852 xcb_generic_iterator_t
853 xcb_dri2_connect_alignment_pad_end (const xcb_dri2_connect_reply_t *R );
854
855
856 /*****************************************************************************
857 **
858 ** char * xcb_dri2_connect_device_name
859 **
860 ** @param const xcb_dri2_connect_reply_t *R
861 ** @returns char *
862 **
863 *****************************************************************************/
864
865 char *
866 xcb_dri2_connect_device_name (const xcb_dri2_connect_reply_t *R );
867
868
869 /*****************************************************************************
870 **
871 ** int xcb_dri2_connect_device_name_length
872 **
873 ** @param const xcb_dri2_connect_reply_t *R
874 ** @returns int
875 **
876 *****************************************************************************/
877
878 int
879 xcb_dri2_connect_device_name_length (const xcb_dri2_connect_reply_t *R );
880
881
882 /*****************************************************************************
883 **
884 ** xcb_generic_iterator_t xcb_dri2_connect_device_name_end
885 **
886 ** @param const xcb_dri2_connect_reply_t *R
887 ** @returns xcb_generic_iterator_t
888 **
889 *****************************************************************************/
890
891 xcb_generic_iterator_t
892 xcb_dri2_connect_device_name_end (const xcb_dri2_connect_reply_t *R );
893
909 /*****************************************************************************
910 **
911 ** xcb_dri2_connect_reply_t * xcb_dri2_connect_reply
912 **
913 ** @param xcb_connection_t *c
914 ** @param xcb_dri2_connect_cookie_t cookie
915 ** @param xcb_generic_error_t **e
916 ** @returns xcb_dri2_connect_reply_t *
917 **
918 *****************************************************************************/
919
920 xcb_dri2_connect_reply_t *
921 xcb_dri2_connect_reply (xcb_connection_t *c ,
922 xcb_dri2_connect_cookie_t cookie ,
923 xcb_generic_error_t **e );
924
934 /*****************************************************************************
935 **
936 ** xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate
937 **
938 ** @param xcb_connection_t *c
939 ** @param xcb_window_t window
940 ** @param uint32_t magic
941 ** @returns xcb_dri2_authenticate_cookie_t
942 **
943 *****************************************************************************/
944
945 xcb_dri2_authenticate_cookie_t
946 xcb_dri2_authenticate (xcb_connection_t *c ,
947 xcb_window_t window ,
948 uint32_t magic );
949
962 /*****************************************************************************
963 **
964 ** xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_unchecked
965 **
966 ** @param xcb_connection_t *c
967 ** @param xcb_window_t window
968 ** @param uint32_t magic
969 ** @returns xcb_dri2_authenticate_cookie_t
970 **
971 *****************************************************************************/
972
973 xcb_dri2_authenticate_cookie_t
974 xcb_dri2_authenticate_unchecked (xcb_connection_t *c ,
975 xcb_window_t window ,
976 uint32_t magic );
977
993 /*****************************************************************************
994 **
995 ** xcb_dri2_authenticate_reply_t * xcb_dri2_authenticate_reply
996 **
997 ** @param xcb_connection_t *c
998 ** @param xcb_dri2_authenticate_cookie_t cookie
999 ** @param xcb_generic_error_t **e
1000 ** @returns xcb_dri2_authenticate_reply_t *
1001 **
1002 *****************************************************************************/
1003
1004 xcb_dri2_authenticate_reply_t *
1005 xcb_dri2_authenticate_reply (xcb_connection_t *c ,
1006 xcb_dri2_authenticate_cookie_t cookie ,
1007 xcb_generic_error_t **e );
1008
1021 /*****************************************************************************
1022 **
1023 ** xcb_void_cookie_t xcb_dri2_create_drawable_checked
1024 **
1025 ** @param xcb_connection_t *c
1026 ** @param xcb_drawable_t drawable
1027 ** @returns xcb_void_cookie_t
1028 **
1029 *****************************************************************************/
1030
1031 xcb_void_cookie_t
1032 xcb_dri2_create_drawable_checked (xcb_connection_t *c ,
1033 xcb_drawable_t drawable );
1034
1044 /*****************************************************************************
1045 **
1046 ** xcb_void_cookie_t xcb_dri2_create_drawable
1047 **
1048 ** @param xcb_connection_t *c
1049 ** @param xcb_drawable_t drawable
1050 ** @returns xcb_void_cookie_t
1051 **
1052 *****************************************************************************/
1053
1054 xcb_void_cookie_t
1055 xcb_dri2_create_drawable (xcb_connection_t *c ,
1056 xcb_drawable_t drawable );
1057
1070 /*****************************************************************************
1071 **
1072 ** xcb_void_cookie_t xcb_dri2_destroy_drawable_checked
1073 **
1074 ** @param xcb_connection_t *c
1075 ** @param xcb_drawable_t drawable
1076 ** @returns xcb_void_cookie_t
1077 **
1078 *****************************************************************************/
1079
1080 xcb_void_cookie_t
1081 xcb_dri2_destroy_drawable_checked (xcb_connection_t *c ,
1082 xcb_drawable_t drawable );
1083
1093 /*****************************************************************************
1094 **
1095 ** xcb_void_cookie_t xcb_dri2_destroy_drawable
1096 **
1097 ** @param xcb_connection_t *c
1098 ** @param xcb_drawable_t drawable
1099 ** @returns xcb_void_cookie_t
1100 **
1101 *****************************************************************************/
1102
1103 xcb_void_cookie_t
1104 xcb_dri2_destroy_drawable (xcb_connection_t *c ,
1105 xcb_drawable_t drawable );
1106
1107 int
1108 xcb_dri2_get_buffers_sizeof (const void *_buffer ,
1109 uint32_t attachments_len );
1110
1120 /*****************************************************************************
1121 **
1122 ** xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers
1123 **
1124 ** @param xcb_connection_t *c
1125 ** @param xcb_drawable_t drawable
1126 ** @param uint32_t count
1127 ** @param uint32_t attachments_len
1128 ** @param const uint32_t *attachments
1129 ** @returns xcb_dri2_get_buffers_cookie_t
1130 **
1131 *****************************************************************************/
1132
1133 xcb_dri2_get_buffers_cookie_t
1134 xcb_dri2_get_buffers (xcb_connection_t *c ,
1135 xcb_drawable_t drawable ,
1136 uint32_t count ,
1137 uint32_t attachments_len ,
1138 const uint32_t *attachments );
1139
1152 /*****************************************************************************
1153 **
1154 ** xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers_unchecked
1155 **
1156 ** @param xcb_connection_t *c
1157 ** @param xcb_drawable_t drawable
1158 ** @param uint32_t count
1159 ** @param uint32_t attachments_len
1160 ** @param const uint32_t *attachments
1161 ** @returns xcb_dri2_get_buffers_cookie_t
1162 **
1163 *****************************************************************************/
1164
1165 xcb_dri2_get_buffers_cookie_t
1166 xcb_dri2_get_buffers_unchecked (xcb_connection_t *c ,
1167 xcb_drawable_t drawable ,
1168 uint32_t count ,
1169 uint32_t attachments_len ,
1170 const uint32_t *attachments );
1171
1172
1173 /*****************************************************************************
1174 **
1175 ** xcb_dri2_dri2_buffer_t * xcb_dri2_get_buffers_buffers
1176 **
1177 ** @param const xcb_dri2_get_buffers_reply_t *R
1178 ** @returns xcb_dri2_dri2_buffer_t *
1179 **
1180 *****************************************************************************/
1181
1182 xcb_dri2_dri2_buffer_t *
1183 xcb_dri2_get_buffers_buffers (const xcb_dri2_get_buffers_reply_t *R );
1184
1185
1186 /*****************************************************************************
1187 **
1188 ** int xcb_dri2_get_buffers_buffers_length
1189 **
1190 ** @param const xcb_dri2_get_buffers_reply_t *R
1191 ** @returns int
1192 **
1193 *****************************************************************************/
1194
1195 int
1196 xcb_dri2_get_buffers_buffers_length (const xcb_dri2_get_buffers_reply_t *R );
1197
1198
1199 /*****************************************************************************
1200 **
1201 ** xcb_dri2_dri2_buffer_iterator_t xcb_dri2_get_buffers_buffers_iterator
1202 **
1203 ** @param const xcb_dri2_get_buffers_reply_t *R
1204 ** @returns xcb_dri2_dri2_buffer_iterator_t
1205 **
1206 *****************************************************************************/
1207
1208 xcb_dri2_dri2_buffer_iterator_t
1209 xcb_dri2_get_buffers_buffers_iterator (const xcb_dri2_get_buffers_reply_t *R );
1210
1226 /*****************************************************************************
1227 **
1228 ** xcb_dri2_get_buffers_reply_t * xcb_dri2_get_buffers_reply
1229 **
1230 ** @param xcb_connection_t *c
1231 ** @param xcb_dri2_get_buffers_cookie_t cookie
1232 ** @param xcb_generic_error_t **e
1233 ** @returns xcb_dri2_get_buffers_reply_t *
1234 **
1235 *****************************************************************************/
1236
1237 xcb_dri2_get_buffers_reply_t *
1238 xcb_dri2_get_buffers_reply (xcb_connection_t *c ,
1239 xcb_dri2_get_buffers_cookie_t cookie ,
1240 xcb_generic_error_t **e );
1241
1251 /*****************************************************************************
1252 **
1253 ** xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region
1254 **
1255 ** @param xcb_connection_t *c
1256 ** @param xcb_drawable_t drawable
1257 ** @param uint32_t region
1258 ** @param uint32_t dest
1259 ** @param uint32_t src
1260 ** @returns xcb_dri2_copy_region_cookie_t
1261 **
1262 *****************************************************************************/
1263
1264 xcb_dri2_copy_region_cookie_t
1265 xcb_dri2_copy_region (xcb_connection_t *c ,
1266 xcb_drawable_t drawable ,
1267 uint32_t region ,
1268 uint32_t dest ,
1269 uint32_t src );
1270
1283 /*****************************************************************************
1284 **
1285 ** xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_unchecked
1286 **
1287 ** @param xcb_connection_t *c
1288 ** @param xcb_drawable_t drawable
1289 ** @param uint32_t region
1290 ** @param uint32_t dest
1291 ** @param uint32_t src
1292 ** @returns xcb_dri2_copy_region_cookie_t
1293 **
1294 *****************************************************************************/
1295
1296 xcb_dri2_copy_region_cookie_t
1297 xcb_dri2_copy_region_unchecked (xcb_connection_t *c ,
1298 xcb_drawable_t drawable ,
1299 uint32_t region ,
1300 uint32_t dest ,
1301 uint32_t src );
1302
1318 /*****************************************************************************
1319 **
1320 ** xcb_dri2_copy_region_reply_t * xcb_dri2_copy_region_reply
1321 **
1322 ** @param xcb_connection_t *c
1323 ** @param xcb_dri2_copy_region_cookie_t cookie
1324 ** @param xcb_generic_error_t **e
1325 ** @returns xcb_dri2_copy_region_reply_t *
1326 **
1327 *****************************************************************************/
1328
1329 xcb_dri2_copy_region_reply_t *
1330 xcb_dri2_copy_region_reply (xcb_connection_t *c ,
1331 xcb_dri2_copy_region_cookie_t cookie ,
1332 xcb_generic_error_t **e );
1333
1334 int
1335 xcb_dri2_get_buffers_with_format_sizeof (const void *_buffer ,
1336 uint32_t attachments_len );
1337
1347 /*****************************************************************************
1348 **
1349 ** xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format
1350 **
1351 ** @param xcb_connection_t *c
1352 ** @param xcb_drawable_t drawable
1353 ** @param uint32_t count
1354 ** @param uint32_t attachments_len
1355 ** @param const xcb_dri2_attach_format_t *attachments
1356 ** @returns xcb_dri2_get_buffers_with_format_cookie_t
1357 **
1358 *****************************************************************************/
1359
1360 xcb_dri2_get_buffers_with_format_cookie_t
1361 xcb_dri2_get_buffers_with_format (xcb_connection_t *c ,
1362 xcb_drawable_t drawable ,
1363 uint32_t count ,
1364 uint32_t attachments_len ,
1365 const xcb_dri2_attach_format_t *attachments );
1366
1379 /*****************************************************************************
1380 **
1381 ** xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format_unchecked
1382 **
1383 ** @param xcb_connection_t *c
1384 ** @param xcb_drawable_t drawable
1385 ** @param uint32_t count
1386 ** @param uint32_t attachments_len
1387 ** @param const xcb_dri2_attach_format_t *attachments
1388 ** @returns xcb_dri2_get_buffers_with_format_cookie_t
1389 **
1390 *****************************************************************************/
1391
1392 xcb_dri2_get_buffers_with_format_cookie_t
1393 xcb_dri2_get_buffers_with_format_unchecked (xcb_connection_t *c ,
1394 xcb_drawable_t drawable ,
1395 uint32_t count ,
1396 uint32_t attachments_len ,
1397 const xcb_dri2_attach_format_t *attachments );
1398
1399
1400 /*****************************************************************************
1401 **
1402 ** xcb_dri2_dri2_buffer_t * xcb_dri2_get_buffers_with_format_buffers
1403 **
1404 ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
1405 ** @returns xcb_dri2_dri2_buffer_t *
1406 **
1407 *****************************************************************************/
1408
1409 xcb_dri2_dri2_buffer_t *
1410 xcb_dri2_get_buffers_with_format_buffers (const xcb_dri2_get_buffers_with_format_reply_t *R );
1411
1412
1413 /*****************************************************************************
1414 **
1415 ** int xcb_dri2_get_buffers_with_format_buffers_length
1416 **
1417 ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
1418 ** @returns int
1419 **
1420 *****************************************************************************/
1421
1422 int
1423 xcb_dri2_get_buffers_with_format_buffers_length (const xcb_dri2_get_buffers_with_format_reply_t *R );
1424
1425
1426 /*****************************************************************************
1427 **
1428 ** xcb_dri2_dri2_buffer_iterator_t xcb_dri2_get_buffers_with_format_buffers_iterator
1429 **
1430 ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
1431 ** @returns xcb_dri2_dri2_buffer_iterator_t
1432 **
1433 *****************************************************************************/
1434
1435 xcb_dri2_dri2_buffer_iterator_t
1436 xcb_dri2_get_buffers_with_format_buffers_iterator (const xcb_dri2_get_buffers_with_format_reply_t *R );
1437
1453 /*****************************************************************************
1454 **
1455 ** xcb_dri2_get_buffers_with_format_reply_t * xcb_dri2_get_buffers_with_format_reply
1456 **
1457 ** @param xcb_connection_t *c
1458 ** @param xcb_dri2_get_buffers_with_format_cookie_t cookie
1459 ** @param xcb_generic_error_t **e
1460 ** @returns xcb_dri2_get_buffers_with_format_reply_t *
1461 **
1462 *****************************************************************************/
1463
1464 xcb_dri2_get_buffers_with_format_reply_t *
1465 xcb_dri2_get_buffers_with_format_reply (xcb_connection_t *c ,
1466 xcb_dri2_get_buffers_with_format_cookie_t cookie ,
1467 xcb_generic_error_t **e );
1468
1478 /*****************************************************************************
1479 **
1480 ** xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers
1481 **
1482 ** @param xcb_connection_t *c
1483 ** @param xcb_drawable_t drawable
1484 ** @param uint32_t target_msc_hi
1485 ** @param uint32_t target_msc_lo
1486 ** @param uint32_t divisor_hi
1487 ** @param uint32_t divisor_lo
1488 ** @param uint32_t remainder_hi
1489 ** @param uint32_t remainder_lo
1490 ** @returns xcb_dri2_swap_buffers_cookie_t
1491 **
1492 *****************************************************************************/
1493
1494 xcb_dri2_swap_buffers_cookie_t
1495 xcb_dri2_swap_buffers (xcb_connection_t *c ,
1496 xcb_drawable_t drawable ,
1497 uint32_t target_msc_hi ,
1498 uint32_t target_msc_lo ,
1499 uint32_t divisor_hi ,
1500 uint32_t divisor_lo ,
1501 uint32_t remainder_hi ,
1502 uint32_t remainder_lo );
1503
1516 /*****************************************************************************
1517 **
1518 ** xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_unchecked
1519 **
1520 ** @param xcb_connection_t *c
1521 ** @param xcb_drawable_t drawable
1522 ** @param uint32_t target_msc_hi
1523 ** @param uint32_t target_msc_lo
1524 ** @param uint32_t divisor_hi
1525 ** @param uint32_t divisor_lo
1526 ** @param uint32_t remainder_hi
1527 ** @param uint32_t remainder_lo
1528 ** @returns xcb_dri2_swap_buffers_cookie_t
1529 **
1530 *****************************************************************************/
1531
1532 xcb_dri2_swap_buffers_cookie_t
1533 xcb_dri2_swap_buffers_unchecked (xcb_connection_t *c ,
1534 xcb_drawable_t drawable ,
1535 uint32_t target_msc_hi ,
1536 uint32_t target_msc_lo ,
1537 uint32_t divisor_hi ,
1538 uint32_t divisor_lo ,
1539 uint32_t remainder_hi ,
1540 uint32_t remainder_lo );
1541
1557 /*****************************************************************************
1558 **
1559 ** xcb_dri2_swap_buffers_reply_t * xcb_dri2_swap_buffers_reply
1560 **
1561 ** @param xcb_connection_t *c
1562 ** @param xcb_dri2_swap_buffers_cookie_t cookie
1563 ** @param xcb_generic_error_t **e
1564 ** @returns xcb_dri2_swap_buffers_reply_t *
1565 **
1566 *****************************************************************************/
1567
1568 xcb_dri2_swap_buffers_reply_t *
1569 xcb_dri2_swap_buffers_reply (xcb_connection_t *c ,
1570 xcb_dri2_swap_buffers_cookie_t cookie ,
1571 xcb_generic_error_t **e );
1572
1582 /*****************************************************************************
1583 **
1584 ** xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc
1585 **
1586 ** @param xcb_connection_t *c
1587 ** @param xcb_drawable_t drawable
1588 ** @returns xcb_dri2_get_msc_cookie_t
1589 **
1590 *****************************************************************************/
1591
1592 xcb_dri2_get_msc_cookie_t
1593 xcb_dri2_get_msc (xcb_connection_t *c ,
1594 xcb_drawable_t drawable );
1595
1608 /*****************************************************************************
1609 **
1610 ** xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_unchecked
1611 **
1612 ** @param xcb_connection_t *c
1613 ** @param xcb_drawable_t drawable
1614 ** @returns xcb_dri2_get_msc_cookie_t
1615 **
1616 *****************************************************************************/
1617
1618 xcb_dri2_get_msc_cookie_t
1619 xcb_dri2_get_msc_unchecked (xcb_connection_t *c ,
1620 xcb_drawable_t drawable );
1621
1637 /*****************************************************************************
1638 **
1639 ** xcb_dri2_get_msc_reply_t * xcb_dri2_get_msc_reply
1640 **
1641 ** @param xcb_connection_t *c
1642 ** @param xcb_dri2_get_msc_cookie_t cookie
1643 ** @param xcb_generic_error_t **e
1644 ** @returns xcb_dri2_get_msc_reply_t *
1645 **
1646 *****************************************************************************/
1647
1648 xcb_dri2_get_msc_reply_t *
1649 xcb_dri2_get_msc_reply (xcb_connection_t *c ,
1650 xcb_dri2_get_msc_cookie_t cookie ,
1651 xcb_generic_error_t **e );
1652
1662 /*****************************************************************************
1663 **
1664 ** xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc
1665 **
1666 ** @param xcb_connection_t *c
1667 ** @param xcb_drawable_t drawable
1668 ** @param uint32_t target_msc_hi
1669 ** @param uint32_t target_msc_lo
1670 ** @param uint32_t divisor_hi
1671 ** @param uint32_t divisor_lo
1672 ** @param uint32_t remainder_hi
1673 ** @param uint32_t remainder_lo
1674 ** @returns xcb_dri2_wait_msc_cookie_t
1675 **
1676 *****************************************************************************/
1677
1678 xcb_dri2_wait_msc_cookie_t
1679 xcb_dri2_wait_msc (xcb_connection_t *c ,
1680 xcb_drawable_t drawable ,
1681 uint32_t target_msc_hi ,
1682 uint32_t target_msc_lo ,
1683 uint32_t divisor_hi ,
1684 uint32_t divisor_lo ,
1685 uint32_t remainder_hi ,
1686 uint32_t remainder_lo );
1687
1700 /*****************************************************************************
1701 **
1702 ** xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc_unchecked
1703 **
1704 ** @param xcb_connection_t *c
1705 ** @param xcb_drawable_t drawable
1706 ** @param uint32_t target_msc_hi
1707 ** @param uint32_t target_msc_lo
1708 ** @param uint32_t divisor_hi
1709 ** @param uint32_t divisor_lo
1710 ** @param uint32_t remainder_hi
1711 ** @param uint32_t remainder_lo
1712 ** @returns xcb_dri2_wait_msc_cookie_t
1713 **
1714 *****************************************************************************/
1715
1716 xcb_dri2_wait_msc_cookie_t
1717 xcb_dri2_wait_msc_unchecked (xcb_connection_t *c ,
1718 xcb_drawable_t drawable ,
1719 uint32_t target_msc_hi ,
1720 uint32_t target_msc_lo ,
1721 uint32_t divisor_hi ,
1722 uint32_t divisor_lo ,
1723 uint32_t remainder_hi ,
1724 uint32_t remainder_lo );
1725
1741 /*****************************************************************************
1742 **
1743 ** xcb_dri2_wait_msc_reply_t * xcb_dri2_wait_msc_reply
1744 **
1745 ** @param xcb_connection_t *c
1746 ** @param xcb_dri2_wait_msc_cookie_t cookie
1747 ** @param xcb_generic_error_t **e
1748 ** @returns xcb_dri2_wait_msc_reply_t *
1749 **
1750 *****************************************************************************/
1751
1752 xcb_dri2_wait_msc_reply_t *
1753 xcb_dri2_wait_msc_reply (xcb_connection_t *c ,
1754 xcb_dri2_wait_msc_cookie_t cookie ,
1755 xcb_generic_error_t **e );
1756
1766 /*****************************************************************************
1767 **
1768 ** xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc
1769 **
1770 ** @param xcb_connection_t *c
1771 ** @param xcb_drawable_t drawable
1772 ** @param uint32_t target_sbc_hi
1773 ** @param uint32_t target_sbc_lo
1774 ** @returns xcb_dri2_wait_sbc_cookie_t
1775 **
1776 *****************************************************************************/
1777
1778 xcb_dri2_wait_sbc_cookie_t
1779 xcb_dri2_wait_sbc (xcb_connection_t *c ,
1780 xcb_drawable_t drawable ,
1781 uint32_t target_sbc_hi ,
1782 uint32_t target_sbc_lo );
1783
1796 /*****************************************************************************
1797 **
1798 ** xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_unchecked
1799 **
1800 ** @param xcb_connection_t *c
1801 ** @param xcb_drawable_t drawable
1802 ** @param uint32_t target_sbc_hi
1803 ** @param uint32_t target_sbc_lo
1804 ** @returns xcb_dri2_wait_sbc_cookie_t
1805 **
1806 *****************************************************************************/
1807
1808 xcb_dri2_wait_sbc_cookie_t
1809 xcb_dri2_wait_sbc_unchecked (xcb_connection_t *c ,
1810 xcb_drawable_t drawable ,
1811 uint32_t target_sbc_hi ,
1812 uint32_t target_sbc_lo );
1813
1829 /*****************************************************************************
1830 **
1831 ** xcb_dri2_wait_sbc_reply_t * xcb_dri2_wait_sbc_reply
1832 **
1833 ** @param xcb_connection_t *c
1834 ** @param xcb_dri2_wait_sbc_cookie_t cookie
1835 ** @param xcb_generic_error_t **e
1836 ** @returns xcb_dri2_wait_sbc_reply_t *
1837 **
1838 *****************************************************************************/
1839
1840 xcb_dri2_wait_sbc_reply_t *
1841 xcb_dri2_wait_sbc_reply (xcb_connection_t *c ,
1842 xcb_dri2_wait_sbc_cookie_t cookie ,
1843 xcb_generic_error_t **e );
1844
1857 /*****************************************************************************
1858 **
1859 ** xcb_void_cookie_t xcb_dri2_swap_interval_checked
1860 **
1861 ** @param xcb_connection_t *c
1862 ** @param xcb_drawable_t drawable
1863 ** @param uint32_t interval
1864 ** @returns xcb_void_cookie_t
1865 **
1866 *****************************************************************************/
1867
1868 xcb_void_cookie_t
1869 xcb_dri2_swap_interval_checked (xcb_connection_t *c ,
1870 xcb_drawable_t drawable ,
1871 uint32_t interval );
1872
1882 /*****************************************************************************
1883 **
1884 ** xcb_void_cookie_t xcb_dri2_swap_interval
1885 **
1886 ** @param xcb_connection_t *c
1887 ** @param xcb_drawable_t drawable
1888 ** @param uint32_t interval
1889 ** @returns xcb_void_cookie_t
1890 **
1891 *****************************************************************************/
1892
1893 xcb_void_cookie_t
1894 xcb_dri2_swap_interval (xcb_connection_t *c ,
1895 xcb_drawable_t drawable ,
1896 uint32_t interval );
1897
1907 /*****************************************************************************
1908 **
1909 ** xcb_dri2_get_param_cookie_t xcb_dri2_get_param
1910 **
1911 ** @param xcb_connection_t *c
1912 ** @param xcb_drawable_t drawable
1913 ** @param uint32_t param
1914 ** @returns xcb_dri2_get_param_cookie_t
1915 **
1916 *****************************************************************************/
1917
1918 xcb_dri2_get_param_cookie_t
1919 xcb_dri2_get_param (xcb_connection_t *c ,
1920 xcb_drawable_t drawable ,
1921 uint32_t param );
1922
1935 /*****************************************************************************
1936 **
1937 ** xcb_dri2_get_param_cookie_t xcb_dri2_get_param_unchecked
1938 **
1939 ** @param xcb_connection_t *c
1940 ** @param xcb_drawable_t drawable
1941 ** @param uint32_t param
1942 ** @returns xcb_dri2_get_param_cookie_t
1943 **
1944 *****************************************************************************/
1945
1946 xcb_dri2_get_param_cookie_t
1947 xcb_dri2_get_param_unchecked (xcb_connection_t *c ,
1948 xcb_drawable_t drawable ,
1949 uint32_t param );
1950
1966 /*****************************************************************************
1967 **
1968 ** xcb_dri2_get_param_reply_t * xcb_dri2_get_param_reply
1969 **
1970 ** @param xcb_connection_t *c
1971 ** @param xcb_dri2_get_param_cookie_t cookie
1972 ** @param xcb_generic_error_t **e
1973 ** @returns xcb_dri2_get_param_reply_t *
1974 **
1975 *****************************************************************************/
1976
1977 xcb_dri2_get_param_reply_t *
1978 xcb_dri2_get_param_reply (xcb_connection_t *c ,
1979 xcb_dri2_get_param_cookie_t cookie ,
1980 xcb_generic_error_t **e );
1981
1982
1983 #ifdef __cplusplus
1984 }
1985 #endif
1986
1987 #endif
1988
xcb_dri2_get_param
xcb_dri2_get_param_cookie_t xcb_dri2_get_param(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t param)
Definition: dri2.c:1827
xcb_dri2_get_param_request_t
xcb_dri2_get_param_request_t
Definition: dri2.h:498
xcb_generic_error_t
Generic error.
Definition: xcb.h:168
xcb_dri2_get_buffers_with_format
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:1119
xcb_dri2_get_buffers_with_format_reply_t
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
xcb_dri2_authenticate_request_t
Definition: dri2.h:169
xcb_dri2_query_version
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:110
xcb_dri2_get_buffers_request_t
xcb_dri2_get_buffers_request_t
Definition: dri2.h:227
xcb_dri2_authenticate_unchecked
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_unchecked(xcb_connection_t *c, xcb_window_t window, uint32_t magic)
Definition: dri2.c:565
xcb_dri2_swap_buffers_cookie_t
xcb_dri2_swap_buffers_cookie_t
Definition: dri2.h:320
xcb_dri2_wait_msc
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:1516
xcb_dri2_get_msc_request_t
struct xcb_dri2_get_msc_request_t xcb_dri2_get_msc_request_t
xcb_dri2_get_msc_request_t
xcb_dri2_destroy_drawable_request_t
struct xcb_dri2_destroy_drawable_request_t xcb_dri2_destroy_drawable_request_t
xcb_dri2_destroy_drawable_request_t
xcb_dri2_get_buffers_cookie_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
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:190
xcb_dri2_swap_interval_request_t
xcb_dri2_swap_interval_request_t
Definition: dri2.h:477
xcb_dri2_copy_region
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:976
xcb_dri2_get_buffers_with_format_unchecked
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:1168
xcb_dri2_wait_msc_cookie_t
xcb_dri2_wait_msc_cookie_t
Definition: dri2.h:394
xcb_dri2_query_version_request_t
struct xcb_dri2_query_version_request_t xcb_dri2_query_version_request_t
xcb_dri2_query_version_request_t
xcb_dri2_connect
xcb_dri2_connect_cookie_t xcb_dri2_connect(xcb_connection_t *c, xcb_window_t window, uint32_t driver_type)
Definition: dri2.c:265
xcb_dri2_attach_format_end
xcb_generic_iterator_t xcb_dri2_attach_format_end(xcb_dri2_attach_format_iterator_t i)
Definition: dri2.c:88
xcb_dri2_wait_msc_reply_t
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
xcb_dri2_swap_buffers_reply_t
Definition: dri2.h:346
xcb_dri2_connect_cookie_t
xcb_dri2_connect_cookie_t
Definition: dri2.h:125
xcb_dri2_query_version_reply_t
struct xcb_dri2_query_version_reply_t xcb_dri2_query_version_reply_t
xcb_dri2_query_version_reply_t
xcb_dri2_connect_request_t
struct xcb_dri2_connect_request_t xcb_dri2_connect_request_t
xcb_dri2_connect_request_t
xcb_extension_t
Definition: xcbext.h:39
xcb_dri2_attach_format_iterator_t
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
xcb_dri2_get_buffers_with_format_request_t
Definition: dri2.h:295
xcb_dri2_copy_region_reply
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:1066
xcb_dri2_swap_buffers
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:1292
xcb_dri2_wait_sbc_reply
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:1727
xcb_dri2_connect_cookie_t
struct xcb_dri2_connect_cookie_t xcb_dri2_connect_cookie_t
xcb_dri2_connect_cookie_t
xcb_dri2_get_msc_reply_t
struct xcb_dri2_get_msc_reply_t xcb_dri2_get_msc_reply_t
xcb_dri2_get_msc_reply_t
xcb_dri2_swap_buffers_reply_t
struct xcb_dri2_swap_buffers_reply_t xcb_dri2_swap_buffers_reply_t
xcb_dri2_swap_buffers_reply_t
xcb_dri2_invalidate_buffers_event_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
xcb_dri2_wait_msc_reply_t
Definition: dri2.h:420
xcb_dri2_attach_format_iterator_t
xcb_dri2_attach_format_iterator_t
Definition: dri2.h:83
xcb_generic_iterator_t
Generic iterator.
Definition: xcb.h:112
xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc_cookie_t
Definition: dri2.h:358
xcb_dri2_copy_region_reply_t
xcb_dri2_copy_region_reply_t
Definition: dri2.h:275
xcb_dri2_create_drawable
xcb_void_cookie_t xcb_dri2_create_drawable(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:661
xcb_dri2_copy_region_cookie_t
struct xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_cookie_t
xcb_dri2_copy_region_cookie_t
xcb_dri2_wait_sbc_request_t
struct xcb_dri2_wait_sbc_request_t xcb_dri2_wait_sbc_request_t
xcb_dri2_wait_sbc_request_t
xcb_dri2_get_buffers_with_format_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
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:505
xcb_dri2_get_buffers_reply
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:954
xcb_dri2_connect_reply_t
xcb_dri2_connect_reply_t
Definition: dri2.h:146
xcb_dri2_get_buffers_unchecked
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:855
xcb_dri2_authenticate_cookie_t
struct xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_reply_t
xcb_dri2_authenticate_reply_t
Definition: dri2.h:180
xcb_dri2_wait_sbc_request_t
xcb_dri2_wait_sbc_request_t
Definition: dri2.h:446
xcb_dri2_wait_msc_request_t
struct xcb_dri2_wait_msc_request_t xcb_dri2_wait_msc_request_t
xcb_dri2_wait_msc_request_t
xcb_dri2_swap_buffers_unchecked
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:1347
xcb_dri2_copy_region_request_t
struct xcb_dri2_copy_region_request_t xcb_dri2_copy_region_request_t
xcb_dri2_copy_region_request_t
xcb_dri2_create_drawable_checked
xcb_void_cookie_t xcb_dri2_create_drawable_checked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:624
xcb_dri2_dri2_buffer_end
xcb_generic_iterator_t xcb_dri2_dri2_buffer_end(xcb_dri2_dri2_buffer_iterator_t i)
Definition: dri2.c:50
xcb_dri2_invalidate_buffers_event_t
xcb_dri2_invalidate_buffers_event_t
Definition: dri2.h:544
xcb_dri2_get_msc
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:1416
xcb_dri2_get_buffers_with_format_cookie_t
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
xcb_dri2_dri2_buffer_iterator_t
Definition: dri2.h:66
xcb_dri2_copy_region_unchecked
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:1022
xcb_dri2_get_msc_reply_t
xcb_dri2_get_msc_reply_t
Definition: dri2.h:378
xcb_dri2_swap_buffers_cookie_t
struct xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_cookie_t
xcb_dri2_swap_buffers_cookie_t
xcb_dri2_get_msc_reply
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:1491
xcb_dri2_wait_msc_unchecked
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:1571
xcb_dri2_swap_buffers_request_t
xcb_dri2_swap_buffers_request_t
Definition: dri2.h:330
xcb_dri2_get_param_request_t
struct xcb_dri2_get_param_request_t xcb_dri2_get_param_request_t
xcb_dri2_get_param_request_t
xcb_dri2_query_version_cookie_t
struct xcb_dri2_query_version_cookie_t xcb_dri2_query_version_cookie_t
xcb_dri2_query_version_cookie_t
xcb_dri2_wait_sbc_cookie_t
xcb_dri2_wait_sbc_cookie_t
Definition: dri2.h:436
xcb_dri2_copy_region_request_t
xcb_dri2_copy_region_request_t
Definition: dri2.h:262
xcb_dri2_query_version_reply_t
xcb_dri2_query_version_reply_t
Definition: dri2.h:113
xcb_dri2_get_buffers_with_format_cookie_t
xcb_dri2_get_buffers_with_format_cookie_t
Definition: dri2.h:285
xcb_dri2_copy_region_reply_t
struct xcb_dri2_copy_region_reply_t xcb_dri2_copy_region_reply_t
xcb_dri2_copy_region_reply_t
xcb_dri2_buffer_swap_complete_event_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
xcb_dri2_buffer_swap_complete_event_t
Definition: dri2.h:524
xcb_dri2_dri2_buffer_next
void xcb_dri2_dri2_buffer_next(xcb_dri2_dri2_buffer_iterator_t *i)
Definition: dri2.c:32
xcb_dri2_query_version_cookie_t
xcb_dri2_query_version_cookie_t
Definition: dri2.h:92
xcb_dri2_destroy_drawable_request_t
xcb_dri2_destroy_drawable_request_t
Definition: dri2.h:207
xcb_dri2_get_buffers_with_format_reply
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:1267
xcb_dri2_destroy_drawable
xcb_void_cookie_t xcb_dri2_destroy_drawable(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:735
xcb_dri2_dri2_buffer_t
struct xcb_dri2_dri2_buffer_t xcb_dri2_dri2_buffer_t
xcb_dri2_dri2_buffer_t
xcb_dri2_destroy_drawable_checked
xcb_void_cookie_t xcb_dri2_destroy_drawable_checked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:698
xcb_dri2_get_param_unchecked
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:1867
xcb_dri2_attach_format_next
void xcb_dri2_attach_format_next(xcb_dri2_attach_format_iterator_t *i)
Definition: dri2.c:70
xcb_dri2_attach_format_t
struct xcb_dri2_attach_format_t xcb_dri2_attach_format_t
xcb_dri2_attach_format_t
xcb_dri2_swap_interval_checked
xcb_void_cookie_t xcb_dri2_swap_interval_checked(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t interval)
Definition: dri2.c:1747
xcb_dri2_authenticate_request_t
struct xcb_dri2_authenticate_request_t xcb_dri2_authenticate_request_t
xcb_dri2_authenticate_request_t
xcb_dri2_get_buffers_with_format_reply_t
xcb_dri2_get_buffers_with_format_reply_t
Definition: dri2.h:306
xcb_dri2_wait_sbc_unchecked
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:1685
xcb_dri2_get_param_reply
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:1907
xcb_dri2_wait_sbc_reply_t
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
xcb_dri2_create_drawable_request_t
Definition: dri2.h:194
xcb_dri2_get_msc_request_t
xcb_dri2_get_msc_request_t
Definition: dri2.h:368
xcb_dri2_query_version_request_t
xcb_dri2_query_version_request_t
Definition: dri2.h:102
xcb_dri2_swap_buffers_reply
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:1397
xcb_dri2_swap_interval
xcb_void_cookie_t xcb_dri2_swap_interval(xcb_connection_t *c, xcb_drawable_t drawable, uint32_t interval)
Definition: dri2.c:1787
xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_cookie_t
Definition: dri2.h:159
xcb_dri2_wait_sbc_cookie_t
struct xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_cookie_t
xcb_dri2_wait_sbc_cookie_t
xcb_dri2_swap_interval_request_t
struct xcb_dri2_swap_interval_request_t xcb_dri2_swap_interval_request_t
xcb_dri2_swap_interval_request_t
xcb_dri2_get_buffers_reply_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
xcb_dri2_attach_format_t
Definition: dri2.h:75
xcb_dri2_get_param_cookie_t
struct xcb_dri2_get_param_cookie_t xcb_dri2_get_param_cookie_t
xcb_dri2_get_param_cookie_t
xcb_dri2_wait_msc_reply
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:1621
xcb_dri2_get_buffers_cookie_t
xcb_dri2_get_buffers_cookie_t
Definition: dri2.h:217
xcb_dri2_get_param_cookie_t
xcb_dri2_get_param_cookie_t
Definition: dri2.h:488
xcb_dri2_get_msc_cookie_t
struct xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc_unchecked
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_unchecked(xcb_connection_t *c, xcb_drawable_t drawable)
Definition: dri2.c:1453
xcb_dri2_get_param_reply_t
xcb_dri2_get_param_reply_t
Definition: dri2.h:509
xcb_dri2_swap_buffers_request_t
struct xcb_dri2_swap_buffers_request_t xcb_dri2_swap_buffers_request_t
xcb_dri2_swap_buffers_request_t
xcb_dri2_authenticate_reply
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:605
xcb.h
xcb_dri2_dri2_buffer_iterator_t
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
xcb_dri2_get_buffers_reply_t
Definition: dri2.h:238
xcb_dri2_authenticate
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate(xcb_connection_t *c, xcb_window_t window, uint32_t magic)
Definition: dri2.c:525
xcb_dri2_wait_sbc
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:1642
xcb_connection_t
Definition: xcbint.h:194
xcb_dri2_get_param_reply_t
struct xcb_dri2_get_param_reply_t xcb_dri2_get_param_reply_t
xcb_dri2_get_param_reply_t
xcb_void_cookie_t
Generic cookie.
Definition: xcb.h:185
xcb_dri2_create_drawable_request_t
struct xcb_dri2_create_drawable_request_t xcb_dri2_create_drawable_request_t
xcb_dri2_create_drawable_request_t
xcb_dri2_connect_unchecked
xcb_dri2_connect_cookie_t xcb_dri2_connect_unchecked(xcb_connection_t *c, xcb_window_t window, uint32_t driver_type)
Definition: dri2.c:305
xcb_dri2_get_buffers_request_t
struct xcb_dri2_get_buffers_request_t xcb_dri2_get_buffers_request_t
xcb_dri2_get_buffers_request_t
xcb_dri2_get_buffers
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:806
xcb_dri2_connect_request_t
xcb_dri2_connect_request_t
Definition: dri2.h:135
xcb_dri2_copy_region_cookie_t
xcb_dri2_copy_region_cookie_t
Definition: dri2.h:252
xcb_dri2_query_version_unchecked
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:150
xcb_dri2_dri2_buffer_t
xcb_dri2_dri2_buffer_t
Definition: dri2.h:55
xcb_dri2_wait_msc_request_t
xcb_dri2_wait_msc_request_t
Definition: dri2.h:404
xcb_dri2_connect_reply_t
struct xcb_dri2_connect_reply_t xcb_dri2_connect_reply_t
xcb_dri2_connect_reply_t
xcb_dri2_authenticate_reply_t
struct xcb_dri2_authenticate_reply_t xcb_dri2_authenticate_reply_t
xcb_dri2_authenticate_reply_t
xcb_dri2_wait_msc_cookie_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
xcb_dri2_wait_sbc_reply_t
Definition: dri2.h:458