summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/dri2.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
commit534a59dc96bdfb1b29a1ff426939ee580347e3a2 (patch)
treee5b209ef8dad71342fdc362b05b2a1aaed152ff4 /lib/libxcb/src/dri2.h
parent9d2efe62a0314bcf82676acac0b2c1ed7903a28a (diff)
Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@. Lots of churn due to white-space and comments changes in generated code.
Diffstat (limited to 'lib/libxcb/src/dri2.h')
-rw-r--r--lib/libxcb/src/dri2.h766
1 files changed, 40 insertions, 726 deletions
diff --git a/lib/libxcb/src/dri2.h b/lib/libxcb/src/dri2.h
index 63884789b..f7977705c 100644
--- a/lib/libxcb/src/dri2.h
+++ b/lib/libxcb/src/dri2.h
@@ -21,7 +21,7 @@ extern "C" {
#define XCB_DRI2_MAJOR_VERSION 1
#define XCB_DRI2_MINOR_VERSION 4
-
+
extern xcb_extension_t xcb_dri2_id;
typedef enum xcb_dri2_attachment_t {
@@ -556,16 +556,6 @@ typedef struct xcb_dri2_invalidate_buffers_event_t {
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_dri2_dri2_buffer_t)
*/
-
-/*****************************************************************************
- **
- ** void xcb_dri2_dri2_buffer_next
- **
- ** @param xcb_dri2_dri2_buffer_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_dri2_dri2_buffer_next (xcb_dri2_dri2_buffer_iterator_t *i /**< */);
@@ -578,16 +568,6 @@ xcb_dri2_dri2_buffer_next (xcb_dri2_dri2_buffer_iterator_t *i /**< */);
* The member rem is set to 0. The member data points to the
* last element.
*/
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_dri2_dri2_buffer_end
- **
- ** @param xcb_dri2_dri2_buffer_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_dri2_dri2_buffer_end (xcb_dri2_dri2_buffer_iterator_t i /**< */);
@@ -599,16 +579,6 @@ xcb_dri2_dri2_buffer_end (xcb_dri2_dri2_buffer_iterator_t i /**< */);
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_dri2_attach_format_t)
*/
-
-/*****************************************************************************
- **
- ** void xcb_dri2_attach_format_next
- **
- ** @param xcb_dri2_attach_format_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_dri2_attach_format_next (xcb_dri2_attach_format_iterator_t *i /**< */);
@@ -621,16 +591,6 @@ xcb_dri2_attach_format_next (xcb_dri2_attach_format_iterator_t *i /**< */);
* The member rem is set to 0. The member data points to the
* last element.
*/
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_dri2_attach_format_end
- **
- ** @param xcb_dri2_attach_format_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_dri2_attach_format_end (xcb_dri2_attach_format_iterator_t i /**< */);
@@ -640,20 +600,8 @@ xcb_dri2_attach_format_end (xcb_dri2_attach_format_iterator_t i /**< */);
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_query_version_cookie_t xcb_dri2_query_version
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t major_version
- ** @param uint32_t minor_version
- ** @returns xcb_dri2_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_query_version_cookie_t
xcb_dri2_query_version (xcb_connection_t *c /**< */,
uint32_t major_version /**< */,
@@ -665,23 +613,11 @@ xcb_dri2_query_version (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_query_version_cookie_t xcb_dri2_query_version_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t major_version
- ** @param uint32_t minor_version
- ** @returns xcb_dri2_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_query_version_cookie_t
xcb_dri2_query_version_unchecked (xcb_connection_t *c /**< */,
uint32_t major_version /**< */,
@@ -694,25 +630,13 @@ xcb_dri2_query_version_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_query_version_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_query_version_reply_t * xcb_dri2_query_version_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_query_version_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_query_version_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_query_version_reply_t *
xcb_dri2_query_version_reply (xcb_connection_t *c /**< */,
xcb_dri2_query_version_cookie_t cookie /**< */,
@@ -727,20 +651,8 @@ xcb_dri2_connect_sizeof (const void *_buffer /**< */);
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_connect_cookie_t xcb_dri2_connect
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t driver_type
- ** @returns xcb_dri2_connect_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_connect_cookie_t
xcb_dri2_connect (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -752,142 +664,40 @@ xcb_dri2_connect (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_connect_cookie_t xcb_dri2_connect_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t driver_type
- ** @returns xcb_dri2_connect_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_connect_cookie_t
xcb_dri2_connect_unchecked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
uint32_t driver_type /**< */);
-
-/*****************************************************************************
- **
- ** char * xcb_dri2_connect_driver_name
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns char *
- **
- *****************************************************************************/
-
char *
xcb_dri2_connect_driver_name (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_dri2_connect_driver_name_length
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_dri2_connect_driver_name_length (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_dri2_connect_driver_name_end
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_dri2_connect_driver_name_end (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** void * xcb_dri2_connect_alignment_pad
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns void *
- **
- *****************************************************************************/
-
void *
xcb_dri2_connect_alignment_pad (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_dri2_connect_alignment_pad_length
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_dri2_connect_alignment_pad_length (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_dri2_connect_alignment_pad_end
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_dri2_connect_alignment_pad_end (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** char * xcb_dri2_connect_device_name
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns char *
- **
- *****************************************************************************/
-
char *
xcb_dri2_connect_device_name (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_dri2_connect_device_name_length
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_dri2_connect_device_name_length (const xcb_dri2_connect_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_dri2_connect_device_name_end
- **
- ** @param const xcb_dri2_connect_reply_t *R
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_dri2_connect_device_name_end (const xcb_dri2_connect_reply_t *R /**< */);
@@ -898,25 +708,13 @@ xcb_dri2_connect_device_name_end (const xcb_dri2_connect_reply_t *R /**< */);
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_connect_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_connect_reply_t * xcb_dri2_connect_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_connect_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_connect_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_connect_reply_t *
xcb_dri2_connect_reply (xcb_connection_t *c /**< */,
xcb_dri2_connect_cookie_t cookie /**< */,
@@ -928,20 +726,8 @@ xcb_dri2_connect_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t magic
- ** @returns xcb_dri2_authenticate_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -953,23 +739,11 @@ xcb_dri2_authenticate (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param uint32_t magic
- ** @returns xcb_dri2_authenticate_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_authenticate_cookie_t
xcb_dri2_authenticate_unchecked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -982,25 +756,13 @@ xcb_dri2_authenticate_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_authenticate_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_authenticate_reply_t * xcb_dri2_authenticate_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_authenticate_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_authenticate_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_authenticate_reply_t *
xcb_dri2_authenticate_reply (xcb_connection_t *c /**< */,
xcb_dri2_authenticate_cookie_t cookie /**< */,
@@ -1012,22 +774,11 @@ xcb_dri2_authenticate_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_create_drawable_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_create_drawable_checked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */);
@@ -1038,19 +789,8 @@ xcb_dri2_create_drawable_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_create_drawable
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_create_drawable (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */);
@@ -1061,22 +801,11 @@ xcb_dri2_create_drawable (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_destroy_drawable_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_destroy_drawable_checked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */);
@@ -1087,19 +816,8 @@ xcb_dri2_destroy_drawable_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_destroy_drawable
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_destroy_drawable (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */);
@@ -1114,22 +832,8 @@ xcb_dri2_get_buffers_sizeof (const void *_buffer /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t count
- ** @param uint32_t attachments_len
- ** @param const uint32_t *attachments
- ** @returns xcb_dri2_get_buffers_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_buffers_cookie_t
xcb_dri2_get_buffers (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1143,25 +847,11 @@ xcb_dri2_get_buffers (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t count
- ** @param uint32_t attachments_len
- ** @param const uint32_t *attachments
- ** @returns xcb_dri2_get_buffers_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_buffers_cookie_t
xcb_dri2_get_buffers_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1169,42 +859,12 @@ xcb_dri2_get_buffers_unchecked (xcb_connection_t *c /**< */,
uint32_t attachments_len /**< */,
const uint32_t *attachments /**< */);
-
-/*****************************************************************************
- **
- ** xcb_dri2_dri2_buffer_t * xcb_dri2_get_buffers_buffers
- **
- ** @param const xcb_dri2_get_buffers_reply_t *R
- ** @returns xcb_dri2_dri2_buffer_t *
- **
- *****************************************************************************/
-
xcb_dri2_dri2_buffer_t *
xcb_dri2_get_buffers_buffers (const xcb_dri2_get_buffers_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_dri2_get_buffers_buffers_length
- **
- ** @param const xcb_dri2_get_buffers_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_dri2_get_buffers_buffers_length (const xcb_dri2_get_buffers_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_dri2_dri2_buffer_iterator_t xcb_dri2_get_buffers_buffers_iterator
- **
- ** @param const xcb_dri2_get_buffers_reply_t *R
- ** @returns xcb_dri2_dri2_buffer_iterator_t
- **
- *****************************************************************************/
-
xcb_dri2_dri2_buffer_iterator_t
xcb_dri2_get_buffers_buffers_iterator (const xcb_dri2_get_buffers_reply_t *R /**< */);
@@ -1215,25 +875,13 @@ xcb_dri2_get_buffers_buffers_iterator (const xcb_dri2_get_buffers_reply_t *R /*
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_get_buffers_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_reply_t * xcb_dri2_get_buffers_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_get_buffers_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_get_buffers_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_get_buffers_reply_t *
xcb_dri2_get_buffers_reply (xcb_connection_t *c /**< */,
xcb_dri2_get_buffers_cookie_t cookie /**< */,
@@ -1245,22 +893,8 @@ xcb_dri2_get_buffers_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t region
- ** @param uint32_t dest
- ** @param uint32_t src
- ** @returns xcb_dri2_copy_region_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_copy_region_cookie_t
xcb_dri2_copy_region (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1274,25 +908,11 @@ xcb_dri2_copy_region (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t region
- ** @param uint32_t dest
- ** @param uint32_t src
- ** @returns xcb_dri2_copy_region_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_copy_region_cookie_t
xcb_dri2_copy_region_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1307,25 +927,13 @@ xcb_dri2_copy_region_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_copy_region_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_copy_region_reply_t * xcb_dri2_copy_region_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_copy_region_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_copy_region_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_copy_region_reply_t *
xcb_dri2_copy_region_reply (xcb_connection_t *c /**< */,
xcb_dri2_copy_region_cookie_t cookie /**< */,
@@ -1341,22 +949,8 @@ xcb_dri2_get_buffers_with_format_sizeof (const void *_buffer /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t count
- ** @param uint32_t attachments_len
- ** @param const xcb_dri2_attach_format_t *attachments
- ** @returns xcb_dri2_get_buffers_with_format_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_buffers_with_format_cookie_t
xcb_dri2_get_buffers_with_format (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1370,25 +964,11 @@ xcb_dri2_get_buffers_with_format (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t count
- ** @param uint32_t attachments_len
- ** @param const xcb_dri2_attach_format_t *attachments
- ** @returns xcb_dri2_get_buffers_with_format_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_buffers_with_format_cookie_t
xcb_dri2_get_buffers_with_format_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1396,42 +976,12 @@ xcb_dri2_get_buffers_with_format_unchecked (xcb_connection_t *c /
uint32_t attachments_len /**< */,
const xcb_dri2_attach_format_t *attachments /**< */);
-
-/*****************************************************************************
- **
- ** xcb_dri2_dri2_buffer_t * xcb_dri2_get_buffers_with_format_buffers
- **
- ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
- ** @returns xcb_dri2_dri2_buffer_t *
- **
- *****************************************************************************/
-
xcb_dri2_dri2_buffer_t *
xcb_dri2_get_buffers_with_format_buffers (const xcb_dri2_get_buffers_with_format_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_dri2_get_buffers_with_format_buffers_length
- **
- ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_dri2_get_buffers_with_format_buffers_length (const xcb_dri2_get_buffers_with_format_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_dri2_dri2_buffer_iterator_t xcb_dri2_get_buffers_with_format_buffers_iterator
- **
- ** @param const xcb_dri2_get_buffers_with_format_reply_t *R
- ** @returns xcb_dri2_dri2_buffer_iterator_t
- **
- *****************************************************************************/
-
xcb_dri2_dri2_buffer_iterator_t
xcb_dri2_get_buffers_with_format_buffers_iterator (const xcb_dri2_get_buffers_with_format_reply_t *R /**< */);
@@ -1442,25 +992,13 @@ xcb_dri2_get_buffers_with_format_buffers_iterator (const xcb_dri2_get_buffers_wi
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_get_buffers_with_format_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_buffers_with_format_reply_t * xcb_dri2_get_buffers_with_format_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_get_buffers_with_format_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_get_buffers_with_format_reply_t *
- **
- *****************************************************************************/
-
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 /**< */,
@@ -1472,25 +1010,8 @@ xcb_dri2_get_buffers_with_format_reply (xcb_connection_t
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_msc_hi
- ** @param uint32_t target_msc_lo
- ** @param uint32_t divisor_hi
- ** @param uint32_t divisor_lo
- ** @param uint32_t remainder_hi
- ** @param uint32_t remainder_lo
- ** @returns xcb_dri2_swap_buffers_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_swap_buffers_cookie_t
xcb_dri2_swap_buffers (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1507,28 +1028,11 @@ xcb_dri2_swap_buffers (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_msc_hi
- ** @param uint32_t target_msc_lo
- ** @param uint32_t divisor_hi
- ** @param uint32_t divisor_lo
- ** @param uint32_t remainder_hi
- ** @param uint32_t remainder_lo
- ** @returns xcb_dri2_swap_buffers_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_swap_buffers_cookie_t
xcb_dri2_swap_buffers_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1546,25 +1050,13 @@ xcb_dri2_swap_buffers_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_swap_buffers_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_swap_buffers_reply_t * xcb_dri2_swap_buffers_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_swap_buffers_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_swap_buffers_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_swap_buffers_reply_t *
xcb_dri2_swap_buffers_reply (xcb_connection_t *c /**< */,
xcb_dri2_swap_buffers_cookie_t cookie /**< */,
@@ -1576,19 +1068,8 @@ xcb_dri2_swap_buffers_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns xcb_dri2_get_msc_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_msc_cookie_t
xcb_dri2_get_msc (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */);
@@ -1599,22 +1080,11 @@ xcb_dri2_get_msc (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @returns 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 /**< */);
@@ -1626,25 +1096,13 @@ xcb_dri2_get_msc_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_get_msc_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_msc_reply_t * xcb_dri2_get_msc_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_get_msc_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_get_msc_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_get_msc_reply_t *
xcb_dri2_get_msc_reply (xcb_connection_t *c /**< */,
xcb_dri2_get_msc_cookie_t cookie /**< */,
@@ -1656,25 +1114,8 @@ xcb_dri2_get_msc_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_msc_hi
- ** @param uint32_t target_msc_lo
- ** @param uint32_t divisor_hi
- ** @param uint32_t divisor_lo
- ** @param uint32_t remainder_hi
- ** @param uint32_t remainder_lo
- ** @returns xcb_dri2_wait_msc_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_wait_msc_cookie_t
xcb_dri2_wait_msc (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1691,28 +1132,11 @@ xcb_dri2_wait_msc (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_msc_hi
- ** @param uint32_t target_msc_lo
- ** @param uint32_t divisor_hi
- ** @param uint32_t divisor_lo
- ** @param uint32_t remainder_hi
- ** @param uint32_t remainder_lo
- ** @returns xcb_dri2_wait_msc_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_wait_msc_cookie_t
xcb_dri2_wait_msc_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1730,25 +1154,13 @@ xcb_dri2_wait_msc_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_wait_msc_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_msc_reply_t * xcb_dri2_wait_msc_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_wait_msc_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_wait_msc_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_wait_msc_reply_t *
xcb_dri2_wait_msc_reply (xcb_connection_t *c /**< */,
xcb_dri2_wait_msc_cookie_t cookie /**< */,
@@ -1760,21 +1172,8 @@ xcb_dri2_wait_msc_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_sbc_hi
- ** @param uint32_t target_sbc_lo
- ** @returns xcb_dri2_wait_sbc_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_wait_sbc_cookie_t
xcb_dri2_wait_sbc (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1787,24 +1186,11 @@ xcb_dri2_wait_sbc (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t target_sbc_hi
- ** @param uint32_t target_sbc_lo
- ** @returns xcb_dri2_wait_sbc_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_wait_sbc_cookie_t
xcb_dri2_wait_sbc_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1818,25 +1204,13 @@ xcb_dri2_wait_sbc_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_wait_sbc_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_wait_sbc_reply_t * xcb_dri2_wait_sbc_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_wait_sbc_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_wait_sbc_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_wait_sbc_reply_t *
xcb_dri2_wait_sbc_reply (xcb_connection_t *c /**< */,
xcb_dri2_wait_sbc_cookie_t cookie /**< */,
@@ -1848,23 +1222,11 @@ xcb_dri2_wait_sbc_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_swap_interval_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t interval
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_swap_interval_checked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1876,20 +1238,8 @@ xcb_dri2_swap_interval_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_dri2_swap_interval
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t interval
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_dri2_swap_interval (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1901,20 +1251,8 @@ xcb_dri2_swap_interval (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_param_cookie_t xcb_dri2_get_param
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t param
- ** @returns xcb_dri2_get_param_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_param_cookie_t
xcb_dri2_get_param (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1926,23 +1264,11 @@ xcb_dri2_get_param (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_param_cookie_t xcb_dri2_get_param_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_drawable_t drawable
- ** @param uint32_t param
- ** @returns xcb_dri2_get_param_cookie_t
- **
- *****************************************************************************/
-
xcb_dri2_get_param_cookie_t
xcb_dri2_get_param_unchecked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
@@ -1955,25 +1281,13 @@ xcb_dri2_get_param_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_dri2_get_param_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_dri2_get_param_reply_t * xcb_dri2_get_param_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_dri2_get_param_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_dri2_get_param_reply_t *
- **
- *****************************************************************************/
-
xcb_dri2_get_param_reply_t *
xcb_dri2_get_param_reply (xcb_connection_t *c /**< */,
xcb_dri2_get_param_cookie_t cookie /**< */,